joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421ad0
Capabilities:
Copy file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x506d78
push eax
mov al, byte [0x571210]
mov dword fs:[0], esp
sub esp, 0x10
test al, 1
push ebx
push esi
jne 0x421b15
mov bl, al
push 0x57120c
or bl, 1
mov byte [0x571210], bl
call fcn.00421ca0
push 0x421cd0
call fcn.004be617
add esp, 8
mov esi, dword [esp + 0x28]
mov eax, dword [esi]
push eax
lea eax, [esp + 0x10]
push eax
call fcn.004a92e0
add esp, 8
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
xor ebx, ebx
push 0x57120c
push edx
mov dword [esp + 0x2c], ebx
call fcn.004e2066
push 0x55d1b0
push eax
lea eax, [esp + 0x10]
mov byte [esp + 0x28], 1
push eax
call fcn.004e20cc
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 3
call fcn.004e1e27
lea ecx, [esp + 8]
push ecx
call fcn.004aaf40
add esp, 4
test eax, eax
jne 0x421c34
push 0x55d198
lea edx, [esp + 0x18]
push esi
push edx
call fcn.004e20cc
push eax
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x28], 4
call fcn.00421880
add esp, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 6
call fcn.004e1e27
mov eax, dword [esp + 0x28]
cmp dword [eax - 8], ebx
jne 0x421bf7
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], 3
call fcn.004e1e27
lea ecx, [esp + 8]
mov byte [esp + 0x20], bl
call fcn.004e1e27
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.004e1e27
pop esi
mov eax, 0xfffffffd
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov ecx, dword [esp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push ebx
push ecx
push eax
call esi
cmp eax, ebx
jne 0x421c26
mov edx, dword [0x57120c]
push edx
call fcn.004ab050
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x2c]
add esp, 4
push ebx
push eax
push ecx
call esi
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], 3
call fcn.004e1e27
mov edx, dword [esp + 8]
push 0x10
push 0x10
push 0x10
push 1
push edx
push ebx
call dword [sym.imp.USER32.dll_LoadImageW]
mov esi, eax
cmp esi, ebx
je 0x421bc3
mov eax, dword [esp + 0x2c]
push edi
push esi
push 0xffffffffffffffff
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push esi
mov edi, eax
call dword [sym.imp.USER32.dll_DestroyIcon]
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], bl
call fcn.004e1e27
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.004e1e27
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x421ce0
Capabilities:
Get session user name

Disassembly:
push 0xffffffffffffffff
push 0x506da6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x434
mov eax, dword [0x56b44c]
push ebx
mov dword [esp + 4], eax
xor ebx, ebx
mov dword [esp + 0x440], ebx
call fcn.00421ff0
test eax, eax
jne 0x421d24
call fcn.00421f80
test eax, eax
je 0x421e96
mov ecx, dword [0x56b44c]
push esi
push edi
mov dword [esp + 0x14], ecx
lea edx, [esp + 0x10]
mov byte [esp + 0x448], 1
push edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], ebx
call fcn.00422060
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
add esp, 4
test eax, eax
je 0x421e75
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x38]
push eax
push ecx
call fcn.00422160
add esp, 8
lea ecx, [esp + 0xc]
push 0x55d28c
call fcn.004e1fbe
lea edx, [esp + 0x38]
lea ecx, [esp + 0xc]
push edx
call fcn.004e2218
lea eax, [esp + 0xc]
lea ecx, [esp + 0x14]
push eax
call fcn.004e1f6e
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push edx
push SysFreeString
call fcn.004221e0
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x28]
lea ecx, [esp + 0x30]
push eax
push ecx
push edx
call fcn.00422290
add esp, 0x18
test eax, eax
je 0x421e40
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x24]
push ebx
push eax
push ecx
push SysFreeString
call fcn.00422460
add esp, 0x10
lea ecx, [esp + 0xc]
push 0x55d280
call fcn.004e2218
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x24]
push ebx
push edx
push eax
push SysFreeString
call fcn.00422460
add esp, 0x10
lea ecx, [esp + 0xc]
push 0x55d234
call fcn.004e2218
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x24]
push 1
push ecx
push edx
push SysFreeString
call fcn.00422460
lea eax, [esp + 0x1c]
push eax
push SysFreeString
call fcn.004ac1f0
add esp, 0x18
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x421e4f
push eax
push ebx
call edi
push eax
call esi
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x421e75
mov ecx, dword [esp + 0x14]
push ebx
push eax
push ecx
push SysFreeString
call fcn.00422460
mov edx, dword [esp + 0x28]
push edx
call fcn.004e2519
add esp, 0x14
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x421e84
push eax
push ebx
call edi
push eax
call esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x448], bl
call fcn.004e1e27
pop edi
pop esi
lea eax, [esp + 0x18]
lea ecx, [esp + 0x230]
push eax
push ecx
mov dword [esp + 0x20], 0x104
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push 0x55d28c
lea ecx, [esp + 8]
call fcn.004e1fbe
lea edx, [esp + 0x230]
lea ecx, [esp + 4]
push edx
call fcn.004e2218
push 0x55d1dc
lea ecx, [esp + 8]
call fcn.004e2218
lea eax, [esp + 4]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004ac1f0
add esp, 8
lea ecx, [esp + 4]
mov dword [esp + 0x440], 0xffffffff
call fcn.004e1e27
mov ecx, dword [esp + 0x438]
pop ebx
mov dword fs:[0], ecx
add esp, 0x440
ret
Function at 0x421ff0
Capabilities:
Check os version

Disassembly:
sub esp, 0x11c
push esi
push edi
mov ecx, 0x47
xor eax, eax
lea edi, [esp + 8]
xor esi, esi
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 0x11c
call edi
test eax, eax
jne 0x42203c
lea ecx, [esp + 8]
mov dword [esp + 8], 0x114
push ecx
call edi
test eax, eax
jne 0x42203c
pop edi
pop esi
add esp, 0x11c
ret
cmp dword [esp + 0x18], 2
jne 0x42204f
cmp dword [esp + 0xc], 5
jb 0x42204f
mov esi, 1
mov eax, esi
pop edi
pop esi
add esp, 0x11c
ret

Function at 0x422460
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x10
push ebp
push esi
mov esi, dword [esp + 0x20]
xor ebp, ebp
cmp esi, ebp
mov dword [esp + 8], ebp
je 0x42258b
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 0xc]
push edi
mov edi, dword [esp + 0x24]
push eax
push 0x40000
push ebp
push esi
push edi
call ebx
test eax, eax
jne 0x42257a
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
push ecx
push 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
test eax, eax
jne 0x42257a
mov eax, dword [esp + 0x30]
test eax, eax
je 0x422575
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebp
push ecx
push 0x20019
push ebp
push esi
push edi
call ebx
test eax, eax
jne 0x42257a
push eax
push eax
lea edx, [esp + 0x2c]
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x30]
push ebp
lea eax, [esp + 0x40]
push edx
push eax
push ebp
push ebp
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x42257a
push 0x20a
call fcn.004e24f0
mov esi, eax
mov eax, dword [esp + 0x2c]
add esp, 4
xor edi, edi
test eax, eax
jbe 0x42256c
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edx, dword [esp + 0x10]
push 0x105
push esi
push edi
push edx
call ebx
test eax, eax
jne 0x42255c
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
push 1
push eax
push esi
push ecx
call fcn.00422460
add esp, 0x10
jmp 0x422563
cmp eax, 0x103
je 0x42256c
mov eax, dword [esp + 0x28]
inc edi
cmp edi, eax
jb 0x422533
push esi
call fcn.004e2519
add esp, 4
mov ebp, 1
mov eax, dword [esp + 0x10]
pop edi
test eax, eax
pop ebx
je 0x42258b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
pop esi
pop ebp
add esp, 0x10
ret
Function at 0x4229e0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506e60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
mov esi, 3
push 0x24
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x24], 0x14
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
call fcn.004e24f0
add esp, 4
cmp eax, edi
mov dword [ebp - 0x14], eax
je 0x422ae9
mov dword [eax], 1
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], esi
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0xc], 2
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx - 8]
inc eax
push eax
call fcn.004e226c
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp + 0xc]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 0x14]
mov ecx, ebx
mov dword [edx + 0x18], esi
mov eax, dword [ebx]
mov eax, dword [eax - 8]
inc eax
push eax
call fcn.004e226c
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x1c], eax
call fcn.004faff9
mov eax, dword [eax + 0x10]
push edi
push edi
push edi
push 1
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
lea edx, [ebp - 0x24]
push 0x14
mov esi, eax
push edx
push 0x4b
push esi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test esi, esi
mov edi, eax
mov dword [ebp - 4], 0xffffffff
je 0x422ab1
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0xffffffffffffffff
mov ecx, ebx
call fcn.004e22bc
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
call fcn.004e22bc
mov eax, dword [ebp - 0x14]
push eax
call fcn.004e2519
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x422b00
Capabilities:
Reference http user-agent string

Disassembly:
sub esp, 0x468
call fcn.004ac6a0
cmp eax, 8
jge 0x422b15
call fcn.004ad080
push edi
mov ecx, 0x118
xor eax, eax
lea edi, [esp + 9]
mov byte [esp + 8], 0
mov dword [esp + 4], 0x400
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 4]
lea ecx, [esp + 8]
push eax
push ecx
push 0
call sub.urlmon.dll_ObtainUserAgentString
test eax, eax
jl 0x422bc1
lea edx, [esp + 8]
push 0x55d4d8
push edx
call fcn.004be950
add esp, 8
test eax, eax
jne 0x422b74
lea eax, [esp + 8]
push 0x55d4d0
push eax
call fcn.004be950
add esp, 8
test eax, eax
je 0x422b78
mov byte [eax + 5], 0x38
mov edi, 0x55d4b0
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push esi
lea edx, [esp + 0x10]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
push eax
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push 0x10000001
call sub.urlmon.dll_UrlMkSetSessionOption
pop esi
pop ebx
pop edi
add esp, 0x468
ret
Function at 0x422bd0
Capabilities:
Reference http user-agent string

Disassembly:
push ecx
mov eax, dword [0x55d188]
mov dword [esp], 0x1ff
test eax, eax
je 0x422bfe
lea eax, [esp]
push eax
push 0x572214
push 0
call sub.urlmon.dll_ObtainUserAgentString
test eax, eax
jge 0x422bfe
mov byte [0x572214], 0
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx - 8]
test edx, edx
jne 0x422c3a
mov ecx, dword [0x55d188]
test ecx, ecx
jne 0x422c3a
push edi
mov edi, 0x572214
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0
push ecx
push 0x572214
push 0x10000001
call sub.urlmon.dll_UrlMkSetSessionOption
pop edi
pop ecx
ret
push eax
mov dword [0x55d188], 0
call fcn.00422c50
add esp, 4
pop ecx
ret

Function at 0x4235d0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
sub esp, 0x28
lea edx, [esp]
mov eax, dword [eax]
mov ecx, dword [ecx]
push eax
push 0x14
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
xor ecx, ecx
cmp ecx, eax
sbb eax, eax
neg eax
add esp, 0x28
ret

Function at 0x423600
Capabilities:
Read .ini file

Disassembly:
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
push esi
push 0x55d4e0
mov esi, dword [eax]
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.004e20cc
mov ecx, dword [esp + 8]
mov eax, dword [eax]
push esi
push 0
mov ecx, dword [ecx]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.004e1e27
test esi, esi
ja 0x423646
cmp esi, 0xffffffff
je 0x423646
xor eax, eax
pop esi
ret
mov eax, 1
pop esi
ret
Function at 0x4243d0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5070b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
push esi
lea ecx, [esp + 0x28]
call fcn.004e1b94
mov eax, dword [esi]
mov dword [esp + 0x1c], 0
push eax
lea eax, [esp + 0x14]
push eax
call fcn.004a92e0
add esp, 8
push eax
mov ecx, esi
mov byte [esp + 0x20], 1
call fcn.004e1f6e
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 0
call fcn.004e1e27
mov edi, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esi]
push edi
push ebp
push ebx
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x424577
mov eax, dword [esi]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.004a9510
add esp, 8
push eax
mov ecx, esi
mov byte [esp + 0x20], 2
call fcn.004e1f6e
lea ecx, [esp + 0x38]
mov byte [esp + 0x1c], 0
call fcn.004e1e27
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esi]
push edi
push ebp
push ebx
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x424577
lea eax, [esp + 0x24]
mov ecx, esi
push eax
call fcn.004e1f6e
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esi]
push edi
push ebp
push ebx
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x424577
push eax
lea eax, [esp + 0x3c]
push esi
push eax
call fcn.0041bfe0
add esp, 0xc
push eax
mov ecx, esi
mov byte [esp + 0x20], 3
call fcn.004e1f6e
lea ecx, [esp + 0x38]
mov byte [esp + 0x1c], 0
call fcn.004e1e27
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esi]
push edi
push ebp
push ebx
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x424577
push 1
lea eax, [esp + 0x3c]
push esi
push eax
call fcn.0041bfe0
add esp, 0xc
push eax
mov ecx, esi
mov byte [esp + 0x20], 4
call fcn.004e1f6e
lea ecx, [esp + 0x38]
mov byte [esp + 0x1c], 0
call fcn.004e1e27
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov esi, dword [esi]
push edi
push ebp
push ebx
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x424577
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004e1e27
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004e1e27
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4247f0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
push ebx
mov eax, dword [eax]
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [ecx]
mov ecx, dword [esp + 0x14]
push edi
mov edi, dword [edx]
mov ebx, dword [ecx]
push eax
mov eax, dword [esp + 0x2c]
mov ecx, ebp
push eax
push eax
call fcn.004e226c
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
mov ecx, ebp
mov esi, eax
call fcn.004e22bc
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x425e60
Capabilities:
Read .ini file

Disassembly:
push ecx
lea eax, [esp]
push esi
push eax
call fcn.00425ea0
mov eax, dword [eax]
mov ecx, dword [0x57110c]
add esp, 4
push eax
push ecx
push 0x55d780
push 0x55c5a4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ecx, [esp + 4]
mov esi, eax
call fcn.004e1e27
mov eax, esi
pop esi
pop ecx
ret

Function at 0x4263d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50763f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push 0x5705d0
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], 0
call fcn.004e1e9b
mov ebx, 1
mov ecx, esi
mov dword [esp + 0x2c], ebx
call fcn.00425e60
cmp eax, ebx
mov dword [esp + 0x1c], eax
je 0x426476
cmp eax, 3
je 0x426476
test eax, eax
jne 0x42643c
mov esi, dword [esp + 0x34]
push 0x5705d0
mov ecx, esi
call fcn.004e1e9b
mov dword [esp + 0xc], ebx
jmp 0x42652b
push edi
mov edi, dword [esp + 0x38]
lea eax, [esp + 0x20]
mov ecx, esi
push eax
push edi
call fcn.004262e0
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], ebx
mov byte [esp + 0x30], 0
call fcn.004e1e27
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 4
push 0x5705d0
lea ecx, [esp + 0x1c]
call fcn.004e1e9b
push 0x55d818
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 2
call fcn.004e1e9b
push 0x55c5a4
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 3
call fcn.004e1e9b
lea ecx, [esp + 0x20]
mov byte [esp + 0x2c], 4
push ecx
call fcn.00425ea0
lea edx, [esp + 0x1c]
push 0x400
push edx
push eax
lea eax, [esp + 0x24]
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov byte [esp + 0x48], 5
call fcn.004247f0
add esp, 0x1c
lea ecx, [esp + 0x20]
mov byte [esp + 0x2c], 4
call fcn.004e1e27
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 3
call fcn.004e1e27
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 2
call fcn.004e1e27
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.004e1e27
mov esi, dword [esp + 0x34]
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.004e1b94
mov dword [esp + 0xc], ebx
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 0
call fcn.004e1e27
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x426f70
Capabilities:
Get process heap flags
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5077e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], esi
lea ecx, [esi + 4]
call fcn.004db3a1
xor ebx, ebx
lea ecx, [esi + 0x18]
mov dword [ebp - 4], ebx
call fcn.004db3a1
lea eax, [ebp - 0x14]
mov dword [esi + 0x2c], ebx
push eax
mov dword [esi + 0x30], ebx
mov dword [esi], 0x51be14
mov byte [ebp - 4], 2
mov dword [esi + 0x34], 0x55d844
call fcn.00427050
mov eax, dword [eax]
add esp, 4
push eax
push ebx
push 0x55e7a0
push 0x55c5a4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ecx, [ebp - 0x14]
mov edi, eax
call fcn.004e1e27
cmp edi, ebx
je 0x426ff7
mov dword [esi + 0x34], 0x55def8
mov edi, dword [esi + 0x34]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x55e580
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, esi
add edx, ecx
mov dword [esi + 0x30], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427190
Capabilities:
Access peb ldr_data
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x507848
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push 0x55e7ec
lea ecx, [esp + 0xc]
call fcn.004e1e9b
push 0x55c5a4
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0
call fcn.004e1e9b
lea eax, [esp + 0xc]
mov byte [esp + 0x20], 1
push eax
call fcn.00425ea0
lea ecx, [esp + 0xc]
push eax
lea edx, [esp + 0xc]
push ecx
push edx
mov byte [esp + 0x30], 2
call fcn.00423600
add esp, 0x10
lea ecx, [esp + 0xc]
mov esi, eax
mov byte [esp + 0x20], 1
call fcn.004e1e27
lea ecx, [esp + 4]
mov byte [esp + 0x20], 0
call fcn.004e1e27
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
call fcn.004e1e27
test esi, esi
je 0x4272ef
push 0x55e7ec
lea ecx, [esp + 0x10]
call fcn.004e1e9b
push 0x55c5a4
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 3
call fcn.004e1e9b
lea eax, [esp + 0x10]
mov byte [esp + 0x20], 4
push eax
call fcn.00425ea0
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x10]
push edx
push eax
mov byte [esp + 0x34], 5
call fcn.004245a0
add esp, 0x14
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 9
call fcn.004e1e27
lea ecx, [esp + 8]
mov byte [esp + 0x20], 8
call fcn.004e1e27
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 7
call fcn.004e1e27
mov eax, dword [esp + 4]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4272d6
lea ecx, [esp + 4]
mov dword [esp + 0x20], 0xffffffff
call fcn.004e1e27
mov eax, 1
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
push eax
call fcn.004be681
add esp, 4
mov esi, eax
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 4]
jmp 0x427317
lea ecx, [esp + 0x14]
push ecx
call fcn.00425ea0
mov eax, dword [eax]
add esp, 4
push eax
push 1
push 0x55e7cc
push 0x55c5a4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
lea ecx, [esp + 0x14]
call fcn.004e1e27
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret

Function at 0x427350
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x507880
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x56b44c]
mov dword [esp], eax
mov ecx, dword [esp + 0x1c]
lea edx, [esp]
push ecx
push 0x55c654
push edx
mov dword [esp + 0x20], 0
call fcn.004d736f
add esp, 0xc
lea ecx, [esp + 4]
push 0x55e7ec
call fcn.004e1e9b
push 0x55c5a4
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 1
call fcn.004e1e9b
lea eax, [esp + 8]
mov byte [esp + 0x14], 2
push eax
call fcn.00425ea0
push 0x21
push 0x20
lea ecx, [esp + 0xc]
push eax
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x30]
push edx
push eax
mov byte [esp + 0x30], 3
call fcn.004238f0
add esp, 0x1c
lea ecx, [esp + 8]
mov byte [esp + 0x14], 2
call fcn.004e1e27
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], 1
call fcn.004e1e27
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.004e1e27
lea ecx, [esp]
mov dword [esp + 0x14], 0xffffffff
call fcn.004e1e27
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret