joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b1478
Capabilities:
Get geographical location

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x1e0
mov rax, qword [0x1401787a0]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov eax, r8d
mov rsi, rdx
mov rbx, rcx
cmp r8d, 0x800
jne 0x1400b14e7
lea r8, [0x14013dd4c]
lea rcx, [rsp + 0x30]
mov edx, 4
call fcn.1400c8668
test eax, eax
je 0x1400b1506
cmp eax, 0xc
je 0x1400b14e1
cmp eax, 0x16
je 0x1400b14db
cmp eax, 0x22
je 0x1400b14db
cmp eax, 0x50
je 0x1400b1506
call fcn.140096e58
int3
call fcn.140096e58
int3
call fcn.140096e10
int3
mov r9d, 4
lea r8, [rsp + 0x30]
mov ecx, eax
lea edx, [r9 - 1]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x1400b1626
call fcn.1400c9f24
mov edi, dword [rax]
call fcn.1400c9f24
lea rcx, [rsp + 0xb0]
and dword [rax], 0
lea rax, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
mov esi, 0x112
lea r8d, [rsi - 1]
mov rdx, rsi
call fcn.1400ca500
mov ebx, eax
call fcn.1400c9f24
cmp dword [rax], 0
je 0x1400b158b
call fcn.1400c9f24
cmp dword [rax], 0
je 0x1400b1592
cmp dword [rax], 0xc
je 0x1400b1580
cmp dword [rax], 0x16
je 0x1400b1575
cmp dword [rax], 0x22
je 0x1400b1575
cmp dword [rax], 0x50
je 0x1400b1592
mov ecx, 0x80004005
call fcn.140001a00
int3
mov ecx, 0x80070057
call fcn.140001a00
int3
mov ecx, 0x8007000e
call fcn.140001a00
int3
call fcn.1400c9f24
mov dword [rax], edi
cmp ebx, 0xffffffff
je 0x1400b1626
cmp ebx, esi
jae 0x1400b1626
lea rcx, [rsp + 0xb0]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
xor edx, edx
lea rcx, [rsp + 0x44]
lea r8d, [rdx + 0x6c]
mov rbx, rax
mov dword [rsp + 0x40], 0x70
call fcn.1400c6930
lea rcx, str.KERNEL32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1400b1611
lea rdx, str.FindActCtxSectionStringA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400b1611
lea rcx, [rsp + 0x40]
xor edx, edx
mov r9, rbx
mov qword [rsp + 0x20], rcx
lea r8d, [rdx + 2]
xor ecx, ecx
call rax
mov rcx, rbx
test eax, eax
jne 0x1400b1619
lea rcx, [rsp + 0xb0]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x1400b1628
xor eax, eax
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1400c6ac0
add rsp, 0x1e0
pop rdi
pop rsi
pop rbx
ret

Function at 0x1400b3c78
Capabilities:
Move file

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x1400b3c9b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rbx
mov ecx, eax
call fcn.1400b794c
add rsp, 0x20
pop rbx
ret

Function at 0x1400b3ca4
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x1400b3cc7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rbx
mov ecx, eax
call fcn.1400b794c
add rsp, 0x20
pop rbx
ret
Function at 0x1400b8248
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
mov rdi, r9
mov rsi, r8
mov rbx, rcx
lea rcx, [rsp + 0x40]
call fcn.140002bb0
nop
cmp rbx, 0xffffffff80000000
jne 0x1400b82d4
call fcn.1400a1b20
cmp eax, 1
jne 0x1400b82d4
lea r8, [rsp + 0x40]
lea rdx, str.SoftwareClasses_
lea rcx, [rsp + 0x20]
call fcn.140007650
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400018b0
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400b82cd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, 0xffffffff80000001
mov r9, rdi
mov r8, rsi
mov rdx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ebx, eax
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x1400b830b
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1400b8320
Capabilities:
Set registry value

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rsi
mov rdi, r9
mov esi, r8d
mov rbx, rcx
lea rcx, [rsp + 0x50]
call fcn.140002bb0
nop
cmp rbx, 0xffffffff80000000
jne 0x1400b83ac
call fcn.1400a1b20
cmp eax, 1
jne 0x1400b83ac
lea r8, [rsp + 0x50]
lea rdx, str.SoftwareClasses_
lea rcx, [rsp + 0x30]
call fcn.140007650
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400018b0
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400b83a5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, 0xffffffff80000001
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x20], eax
mov r9, rdi
mov r8d, esi
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ebx, eax
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x1400b83eb
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1400bcda4
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x1401787a0]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
lea rcx, [rsp + 0x20]
mov edx, 0x105
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x1400bcdda
xor eax, eax
jmp 0x1400bce26
lea rcx, [rsp + 0x20]
call fcn.1400c9fcc
cmp word [rsp + rax*2 + 0x1e], 0x5c
je 0x1400bce06
lea r8, [0x14013f548]
lea rcx, [rsp + 0x20]
mov edx, 0x105
call fcn.1400cbf98
test eax, eax
jne 0x1400bcdd6
lea rcx, [rsp + 0x20]
mov r8, rbx
mov edx, 0x105
call fcn.1400cbf98
test eax, eax
jne 0x1400bcdd6
lea rcx, [rsp + 0x20]
call fcn.1400bcd08
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400c6ac0
add rsp, 0x240
pop rbx
ret

Function at 0x1400c6fcc
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.1400cfc44
nop
cmp dword [0x14017e818], 1
je 0x1400c6f78
mov dword [0x14017e814], 1
mov byte [0x14017e810], r12b
test ebx, ebx
jne 0x1400c6f64
mov rcx, qword [0x140180960]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400c6f51
mov rcx, qword [0x140180958]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x1400c6ef0
call fcn.1400cc1b0
cmp qword [rdi], rax
jne 0x1400c6ef0
jmp 0x1400c6ed6
cmp rdi, rsi
jb 0x1400c6f51
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.1400cc1b0
mov qword [rdi], rax
call rbx
mov rcx, qword [0x140180960]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x140180958]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x1400c6f2f
cmp r13, rax
je 0x1400c6f4f
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x1400c6ed6
lea rdx, [0x140100fe8]
lea rcx, [0x140100fd0]
call fcn.1400c6d20
lea rdx, [0x140100ff8]
lea rcx, [0x140100ff0]
call fcn.1400c6d20
nop
test r12d, r12d
je 0x1400c6f87
mov ecx, 8
call fcn.1400cfb44
test r12d, r12d
jne 0x1400c6fb2
mov dword [0x14017e818], 1
lea ecx, [r12 + 8]
call fcn.1400cfb44
mov ecx, r15d
call fcn.1400c6cb4
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x1400c6e40

Function at 0x1400c6fd8
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x1400c6e40
Function at 0x1400c85c4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
test rcx, rcx
jne 0x1400c85fe
call fcn.1400c9f44
and dword [rax], 0
call fcn.1400c9f24
and qword [rsp + 0x20], 0
mov ebx, 0x16
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rax], ebx
call fcn.1400cdb4c
mov eax, ebx
jmp 0x1400c864e
test edx, 0xfffffff9
jne 0x1400c85d1
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1400c8627
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400c9f64
call fcn.1400c9f24
mov eax, dword [rax]
jmp 0x1400c864e
test al, 0x10
jne 0x1400c864c
test al, 1
je 0x1400c864c
test bl, 2
je 0x1400c864c
call fcn.1400c9f44
mov dword [rax], 5
call fcn.1400c9f24
mov dword [rax], 0xd
jmp 0x1400c861e
xor eax, eax
add rsp, 0x30
pop rbx
ret

Function at 0x1400c920c
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xa0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
nop
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x1400c9295
movsxd rax, dword [0x14000003c]
lea rdi, [0x140000000]
add rax, rdi
cmp dword [rax], 0x4550
je 0x1400c9257
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
jmp 0x1400c92a5
mov ecx, 0x20b
cmp word [rax + 0x18], cx
je 0x1400c926d
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
jmp 0x1400c92a5
cmp dword [rax + 0x84], 0xe
ja 0x1400c9281
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
jmp 0x1400c92a5
xor ebx, ebx
cmp dword [rax + 0xf8], ebx
setne bl
mov dword [rsp + 0xb0], ebx
jmp 0x1400c92a5
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
lea rdi, [0x140000000]
mov ecx, 1
call fcn.1400d50fc
test eax, eax
jne 0x1400c92d5
cmp dword [0x14017e830], 1
jne 0x1400c92c1
call fcn.1400cf754
mov ecx, 0x1c
call fcn.1400cf52c
mov ecx, 0xff
call fcn.1400c6cf0
call fcn.1400cc480
test eax, eax
jne 0x1400c9300
cmp dword [0x14017e830], 1
jne 0x1400c92ec
call fcn.1400cf754
mov ecx, 0x10
call fcn.1400cf52c
mov ecx, 0xff
call fcn.1400c6cf0
call fcn.1400cfc88
nop
call fcn.1400d4e0c
test eax, eax
jns 0x1400c9319
mov ecx, 0x1b
call fcn.1400c6c84
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov qword [0x140180948], rax
call fcn.1400d4c58
mov qword [0x14017e820], rax
call fcn.1400d4b60
test eax, eax
jns 0x1400c9345
mov ecx, 8
call fcn.1400c6c84
call fcn.1400d4860
test eax, eax
jns 0x1400c9358
mov ecx, 9
call fcn.1400c6c84
mov ecx, 1
call fcn.1400c6d90
test eax, eax
je 0x1400c936d
mov ecx, eax
call fcn.1400c6c84
call fcn.1400d47e4
test byte [rsp + 0x6c], 1
movzx edx, word [rsp + 0x70]
mov r9d, 0xa
cmovne r9d, edx
mov r8, rax
xor edx, edx
mov rcx, rdi
call fcn.1400de164
mov edi, eax
mov dword [rsp + 0x20], eax
test ebx, ebx
jne 0x1400c93a4
mov ecx, eax
call fcn.1400c6fcc
call fcn.1400c6fe4
jmp 0x1400c93c5
mov eax, edi
jmp 0x1400c93ce
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rdi
ret
sub rsp, 0x28
call fcn.1400d5148
add rsp, 0x28
jmp 0x1400c920c
Function at 0x1400cf847
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1401787a0]
jne 0x1400c6ada
rol rcx, 0x10
test cx, 0xffff
jne 0x1400c6ad6
repz ret
ror rcx, 0x10
jmp 0x1400cf7a0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14017ec30]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14017ed28]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400cf825
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14017ec30]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1400cf847
mov rax, qword [rsp + 0x88]
mov qword [0x14017ed28], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14017ecc8], rax
mov rax, qword [0x14017ed28]
mov qword [0x14017eba0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14017ecb0], rax
mov dword [0x14017eb90], 0xc0000409
mov dword [0x14017eb94], 1
mov rax, qword [0x1401787a0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1401787a8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14017ec28], eax
mov ecx, 1
call fcn.1400d7e84
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140141a60]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14017ec28], 0
jne 0x1400cf8ce
mov ecx, 1
call fcn.1400d7e84
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x1400d835c
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.1400cc1b0
xor ebx, ebx
mov rdi, rax
cmp qword [0x14017f638], rbx
jne 0x1400d8462
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x1400d8537
lea rdx, [0x1401425c0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400d8537
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x1401425b0]
mov rcx, rsi
mov qword [0x14017f638], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x140142598]
mov rcx, rsi
mov qword [0x14017f640], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x14017f648], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x14017f658], rax
test rax, rax
je 0x1400d8459
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x14017f650], rax
jmp 0x1400d8469
mov rax, qword [0x14017f650]
jmp 0x1400d8470
mov rax, qword [0x14017f650]
mov r11, qword [0x14017f658]
cmp rax, rdi
je 0x1400d84d8
cmp r11, rdi
je 0x1400d84d8
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x14017f658]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x1400d84d8
test rax, rax
je 0x1400d84d8
call rsi
test rax, rax
je 0x1400d84d2
lea rcx, [rsp + 0x88]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400d84d2
test byte [rsp + 0x38], 1
jne 0x1400d84d8
bts ebp, 0x15
jmp 0x1400d8516
mov rcx, qword [0x14017f640]
cmp rcx, rdi
je 0x1400d8516
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400d8516
call rax
mov rbx, rax
test rax, rax
je 0x1400d8516
mov rcx, qword [0x14017f648]
cmp rcx, rdi
je 0x1400d8516
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400d8516
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14017f638]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400d8537
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x1400d8539
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x1400de350
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x70]
call fcn.140001350
mov r11, qword [rsp + 0x78]
mov dword [r11], 1
mov dword [rsp + 0x34], 0x10
jmp 0x1400de3a3
mov eax, dword [rsp + 0x34]
add eax, 0x10
mov dword [rsp + 0x34], eax
mov edx, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x70]
call fcn.1400016d0
mov r9, rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x20], eax
lea r8, [0x140146454]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [rsp + 0x30], eax
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x70]
call fcn.1400032b0
mov rdx, qword [rsp + 0x70]
lea rcx, [0x1401431bf]
call fcn.140002e00
movzx eax, al
test eax, eax
je 0x1400de471
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
mov r8d, dword [rsp + 0x38]
lea rdx, str.CRscCommonInfo::kGetPrivateProfile___return_FALSE__1__LastError_u_n
mov rcx, qword [rsp + 0x50]
call fcn.1400df650
mov r8, qword [rsp + 0x58]
lea rdx, [0x1401464a8]
mov rcx, qword [rsp + 0x50]
call fcn.1400df650
mov r8, qword [rsp + 0x60]
lea rdx, [0x1401464c0]
mov rcx, qword [rsp + 0x50]
call fcn.1400df650
mov r8, qword [rsp + 0x68]
lea rdx, [0x1401464d8]
mov rcx, qword [rsp + 0x50]
call fcn.1400df650
xor eax, eax
jmp 0x1400de526
lea rdx, str.NOKEY
mov rcx, qword [rsp + 0x70]
call fcn.140002d80
test eax, eax
jne 0x1400de50d
lea rdx, [0x1401431f5]
mov rcx, qword [rsp + 0x70]
call fcn.140001d20
mov r11, qword [rsp + 0x78]
mov dword [r11], 0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
mov r8d, dword [rsp + 0x3c]
lea rdx, str.CRscCommonInfo::kGetPrivateProfile___return_FALSE__2__LastError_u_n
mov rcx, qword [rsp + 0x50]
call fcn.1400df650
mov r8, qword [rsp + 0x58]
lea rdx, str.__pszIniFileName_s_n
mov rcx, qword [rsp + 0x50]
call fcn.1400df650
mov r8, qword [rsp + 0x60]
lea rdx, str.__pszSection_s_n
mov rcx, qword [rsp + 0x50]
call fcn.1400df650
mov r8, qword [rsp + 0x68]
lea rdx, str.__pszKey_s_n
mov rcx, qword [rsp + 0x50]
call fcn.1400df650
xor eax, eax
jmp 0x1400de526
mov eax, dword [rsp + 0x30]
add eax, 2
cmp dword [rsp + 0x34], eax
jbe 0x1400de51c
jmp 0x1400de521
jmp 0x1400de398
mov eax, 1
add rsp, 0x48
ret
Function at 0x1400def50
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x2c], 0
mov dword [rsp + 0x40], 0x1000
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x30], 1
jmp 0x1400defaa
mov eax, dword [rsp + 0x30]
add eax, 1
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x40]
imul eax, dword [rsp + 0x30]
mov dword [rsp + 0x2c], eax
mov ecx, dword [rsp + 0x2c]
call fcn.140096bcc
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r8, qword [rsp + 0x20]
lea rdx, [0x140146578]
mov rcx, qword [rsp + 0x80]
call fcn.1400df900
mov r8, qword [rsp + 0x88]
mov edx, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
mov dword [rsp + 0x28], eax
mov r8, qword [rsp + 0x20]
lea rdx, str.CRscCommonInfo::kGetSectionName_pBuffer__08x_n
mov rcx, qword [rsp + 0x80]
call fcn.1400df900
mov eax, dword [rsp + 0x2c]
sub eax, 2
cmp dword [rsp + 0x28], eax
jne 0x1400df04b
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.140096bc4
mov qword [rsp + 0x20], 0
jmp 0x1400def9f
jmp 0x1400df052
lea rdx, [0x1401431f6]
lea rcx, [rsp + 0x38]
call fcn.140002bb0
nop
mov dword [rsp + 0x30], 0
jmp 0x1400df079
mov eax, dword [rsp + 0x30]
add eax, 1
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x30], eax
jae 0x1400df0cb
mov ecx, dword [rsp + 0x30]
mov rax, qword [rsp + 0x20]
movsx eax, byte [rax + rcx]
test eax, eax
jne 0x1400df0b2
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x90]
call fcn.1400a6b44
lea rcx, [rsp + 0x38]
call fcn.140001350
jmp 0x1400df0c9
mov ecx, dword [rsp + 0x30]
mov rax, qword [rsp + 0x20]
movzx edx, byte [rax + rcx]
lea rcx, [rsp + 0x38]
call fcn.140003250
jmp 0x1400df06e
cmp qword [rsp + 0x20], 0
je 0x1400df0e8
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.140096bc4
nop
lea rcx, [rsp + 0x38]
call fcn.140003a70
add rsp, 0x78
ret
Function at 0x1400df650
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
sub rsp, 0x40
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [rsp + 0x50]
cmp dword [rax], 0
jne 0x1400df681
jmp 0x1400df726
lea rcx, [rsp + 0x30]
call fcn.140003950
nop
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r8, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x30]
call fcn.140001dc0
mov qword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x50]
add rcx, 8
call fcn.1400018a0
lea r8, [0x140146534]
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400c91a8
cmp qword [rsp + 0x28], 0
je 0x1400df71c
lea rcx, [rsp + 0x30]
call fcn.140003bb0
movsxd rbx, eax
lea rcx, [rsp + 0x30]
call fcn.1400018a0
mov r9, qword [rsp + 0x28]
mov r8, rbx
mov edx, 1
mov rcx, rax
call fcn.1400c97b0
mov rcx, qword [rsp + 0x28]
call fcn.1400c8ff8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
lea rcx, [rsp + 0x30]
call fcn.140003a70
add rsp, 0x40
pop rbx
ret

Function at 0x1400df7f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [rsp + 0x50]
cmp dword [rax], 0
jne 0x1400df817
jmp 0x1400df8a4
lea rcx, [rsp + 0x28]
call fcn.140003950
nop
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x28]
call fcn.140001d20
mov rcx, qword [rsp + 0x50]
add rcx, 8
call fcn.1400018a0
lea r8, [0x14014685c]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400c91a8
cmp qword [rsp + 0x20], 0
je 0x1400df89a
lea rcx, [rsp + 0x28]
call fcn.140003bb0
movsxd rbx, eax
lea rcx, [rsp + 0x28]
call fcn.1400018a0
mov r9, qword [rsp + 0x20]
mov r8, rbx
mov edx, 1
mov rcx, rax
call fcn.1400c97b0
mov rcx, qword [rsp + 0x20]
call fcn.1400c8ff8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
lea rcx, [rsp + 0x28]
call fcn.140003a70
add rsp, 0x40
pop rbx
ret
Function at 0x14120a0b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14120a237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14120a0e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14120a0c7
add dl, dl
jne 0x14120a0ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14120a14e
xor eax, eax
add dl, dl
jne 0x14120a0fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14120a205
add dl, dl
jne 0x14120a10e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14120a11b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14120a128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14120a135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14120a142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14120a0d6
mov eax, 1
add dl, dl
jne 0x14120a15e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14120a16b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14120a153
sub eax, ebx
mov ebx, 1
jne 0x14120a1a4
mov ecx, 1
add dl, dl
jne 0x14120a186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14120a193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14120a17b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14120a0d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14120a1c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14120a1cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14120a1b5
cmp eax, 0x7d00
jae 0x14120a1f3
cmp eax, 0x500
jb 0x14120a1ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14120a0d6
cmp eax, 0x7f
ja 0x14120a1f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14120a0d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14120a22a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14120a0d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20