joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414970
Capabilities:
Query or enumerate registry value

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x208
mov ebx, eax
mov edi, str.SYSTEMCurrentControlSetServicesTcpipParameters
mov dword [esp + 0x204], 0x32
lea esi, [esp]
mov dword [esp + 0x200], ebx
mov byte [ebx], 0
mov ebp, esi
push 0x5428fc
push edi
call dword [sym.imp.MSVCR80.dll_strstr]
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x4149d4
sub ebx, edi
push ebx
push edi
push esi
call dword [sym.imp.MSVCR80.dll_memmove]
push 0
push 0x542830
add esi, ebx
push esi
call dword [sym.imp.MSVCR80.dll_memmove]
add esp, 0x18
lea edi, [ebx + edi + 1]
jmp 0x41499b
mov ebx, dword [esp + 0x200]
mov edx, edi
mov ecx, edx
and edx, 0xfffffff0
pxor xmm0, xmm0
pcmpeqb xmm0, xmmword [edx]
pmovmskb eax, xmm0
and ecx, 0xf
shr eax, cl
bsf eax, eax
jne 0x414a01
mov eax, edx
add edx, ecx
call fcn.00425520
inc eax
push eax
push edi
push esi
call dword [sym.imp.MSVCR80.dll_memmove]
add esp, 0xc
call fcn.00401b70
mov edx, 0x20119
mov ecx, 0x20019
test eax, eax
cmovne ecx, edx
lea eax, [esp + 0x200]
push eax
push ecx
push 0
push ebp
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x414a6f
lea eax, [esp + 0x204]
push eax
push ebx
xor edx, edx
push edx
push edx
push str.Hostname
push dword [esp + 0x214]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebp, eax
push dword [esp + 0x200]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebp, ebp
je 0x414a72
mov byte [ebx], 0
mov byte [ebx + 0x31], 0
add esp, 0x208
pop ebx
pop ebp
pop esi
pop edi
ret
Function at 0x41b570
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0xc
mov dword [esp + 8], 4
call fcn.00401b70
mov edx, 0x20119
mov ecx, 0x20019
test eax, eax
cmovne ecx, edx
lea eax, [esp + 4]
push eax
push ecx
push 0
push str.Softwarexga_1InstallLoc
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41b5b3
mov eax, 7
jmp 0x41b5e6
lea edx, [esp]
lea eax, [esp + 8]
push eax
xor ecx, ecx
push edx
push ecx
push ecx
push str.19620715_0000_1200_564534_51953
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebp, eax
push dword [esp + 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 7
test ebp, ebp
cmove eax, dword [esp]
cdq
mov dword [0x56e698], eax
mov dword [0x56e69c], edx
add esp, 0xc
pop ebp
ret

Function at 0x41b740
Capabilities:
Set registry value

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x204
mov ebx, ecx
mov ebp, edx
mov edi, eax
test ebp, ebp
je 0x41b75c
movsx eax, byte [ebp]
test eax, eax
jne 0x41b767
add esp, 0x204
pop ebx
pop ebp
pop esi
pop edi
ret
lea esi, [esp]
mov dword [esp + 0x200], ebx
push 0x5428fc
push edi
call dword [sym.imp.MSVCR80.dll_strstr]
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x41b7aa
sub ebx, edi
push ebx
push edi
push esi
call dword [sym.imp.MSVCR80.dll_memmove]
push 0
push 0x542830
add esi, ebx
push esi
call dword [sym.imp.MSVCR80.dll_memmove]
add esp, 0x18
lea edi, [ebx + edi + 1]
jmp 0x41b771
mov ebx, dword [esp + 0x200]
mov edx, edi
mov ecx, edx
and edx, 0xfffffff0
pxor xmm0, xmm0
pcmpeqb xmm0, xmmword [edx]
pmovmskb eax, xmm0
and ecx, 0xf
shr eax, cl
bsf eax, eax
jne 0x41b7d7
mov eax, edx
add edx, ecx
call fcn.00425520
inc eax
push eax
push edi
push esi
call dword [sym.imp.MSVCR80.dll_memmove]
add esp, 0xc
call fcn.00401b70
mov esi, eax
cmp dword [0x56e6a8], 0
jne 0x41b82b
pxor xmm0, xmm0
movq qword [0x56e660], xmm0
movd dword [0x56e668], xmm0
mov dword [0x56e660], 0xc
call fcn.00407150
mov dword [0x56e664], eax
mov eax, 1
mov dword [0x56e668], eax
mov dword [0x56e6a8], eax
mov eax, 0xf013f
mov edx, 0xf003f
test esi, esi
cmovne edx, eax
lea esi, [esp + 0x200]
xor ecx, ecx
push ecx
push esi
push 0x56e660
push edx
push ecx
push ecx
push ecx
lea edi, [esp + 0x1c]
push edi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x41b75c
mov edx, ebx
mov ecx, edx
and edx, 0xfffffff0
pxor xmm0, xmm0
pcmpeqb xmm0, xmmword [edx]
pmovmskb eax, xmm0
and ecx, 0xf
shr eax, cl
bsf eax, eax
jne 0x41b88c
mov eax, edx
add edx, ecx
call fcn.00425520
inc eax
push eax
push ebx
push 1
push 0
push ebp
push dword [esp + 0x214]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [esp + 0x200]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x204
pop ebx
pop ebp
pop esi
pop edi
ret
Function at 0x41d0e0
Capabilities:
Query or enumerate registry value

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x308
cmp dword [0x55b69c], 0
jne 0x41d10d
mov dword [0x55b69c], 0
mov eax, 0x56d4e0
add esp, 0x308
pop ebx
pop ebp
pop esi
pop edi
ret
call fcn.004233b0
mov edi, eax
mov byte [0x56d4e0], 0
lea ebp, [esp + 0x200]
push 0x53fc38
push str.Sapphire_AE
push 0x542830
push str.Software_sGenArts_s_s
push ebp
call dword [sym.imp.MSVCR80.dll_sprintf]
add esp, 0x14
mov dword [esp + 0x304], 0x3ff
lea esi, [esp]
mov dword [esp + 0x300], edi
mov byte [0x56d4e0], 0
mov ebx, esi
push 0x5428fc
push ebp
call dword [sym.imp.MSVCR80.dll_strstr]
add esp, 8
mov edi, eax
test edi, edi
je 0x41d197
sub edi, ebp
push edi
push ebp
push esi
call dword [sym.imp.MSVCR80.dll_memmove]
push 0
push 0x542830
add esi, edi
push esi
call dword [sym.imp.MSVCR80.dll_memmove]
add esp, 0x18
lea ebp, [edi + ebp + 1]
jmp 0x41d15e
mov edi, dword [esp + 0x300]
mov edx, ebp
mov ecx, edx
and edx, 0xfffffff0
pxor xmm0, xmm0
pcmpeqb xmm0, xmmword [edx]
pmovmskb eax, xmm0
and ecx, 0xf
shr eax, cl
bsf eax, eax
jne 0x41d1c4
mov eax, edx
add edx, ecx
call fcn.00425520
inc eax
push eax
push ebp
push esi
call dword [sym.imp.MSVCR80.dll_memmove]
add esp, 0xc
call fcn.00401b70
mov edx, 0x20119
mov ecx, 0x20019
test eax, eax
cmovne ecx, edx
lea eax, [esp + 0x300]
push eax
push ecx
push 0
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41d23a
lea eax, [esp + 0x304]
push eax
xor edx, edx
push 0x56d4e0
push edx
push edx
push str.ConfigDir
push dword [esp + 0x314]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
push dword [esp + 0x300]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x41d0f3
mov esi, 0x56d4e0
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x41d23f
jmp 0x41d0f3
Function at 0x41eec0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x518560
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1014
call fcn.004277d0
mov ecx, dword [esp + 0x1014]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
mov ebx, ecx
call fcn.00423b00
lea eax, [ebp - 0x1024]
push eax
call fcn.0041f090
pop ecx
test eax, eax
jne 0x41efa7
mov eax, dword [ebp + 8]
cmp eax, 4
je 0x41f064
cmp eax, 1
je 0x41ef7e
cmp eax, 2
jne 0x41ef33
call fcn.0041a920
mov ecx, ebx
call fcn.0041f6b0
jmp 0x41ef8f
cmp eax, 3
je 0x41ef57
mov ecx, ebx
call fcn.004129b0
mov ebx, dword [ebp - 0x14]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
call fcn.0041f120
test eax, eax
je 0x41f05b
mov eax, 1
mov dword [ebx + 0x2018], eax
mov dword [ebx + 0x2020], eax
mov ecx, ebx
call fcn.0041f6b0
jmp 0x41ef8f
mov dword [ebx + 0x2018], 1
mov ecx, ebx
call fcn.0041f6b0
mov ebx, dword [ebp - 0x14]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [0x543670]
lea esi, [ebp - 0x24]
push ebx
mov ecx, esi
push 0
lea eax, [ebp - 0x1024]
push eax
call fcn.00431a04
mov dword [ebp - 4], 0
lea edi, [ebp - 0x20]
push ebx
push 0
mov ecx, edi
push str.Sapphire_Error
call fcn.00431a04
mov dword [ebp - 4], 1
add esp, 0xffffffe8
mov dword [esp + 8], 5
mov eax, 0xffffffff
mov dword [esp], esi
mov dword [esp + 0xc], 0
mov dword [esp + 4], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
call fcn.00495eb8
add esp, 0x18
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff4
mov eax, dword [edx]
cmp eax, 0xffffffff
je 0x41f031
dec eax
mov dword [edx], eax
jne 0x41f031
push edx
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff4
mov eax, dword [edx]
cmp eax, 0xffffffff
je 0x41f052
dec eax
mov dword [edx], eax
jne 0x41f052
push edx
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
push 0xffffffffffffffff
call dword [sym.imp.MSVCR80.dll_exit]
pop ecx
push 0
call dword [sym.imp.MSVCR80.dll_exit]
pop ecx
cmp dword [0x56e6d4], 0
jle 0x41f079
mov ecx, ebx
call fcn.0041dbf0
jmp 0x41ef8f
push 0
call dword [sym.imp.MSVCR80.dll_exit]
pop ecx
lea ecx, [ebp - 0x24]
call fcn.00419990
ret
Function at 0x421d70
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push esi
push eax
push ecx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
pop ecx
pop eax
mov eax, dword [ebp - 4]
and eax, 0x10000
shr eax, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x4224a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
sub esp, 8
mov ebp, edx
mov ebx, eax
mov eax, ebp
mov edx, ebx
call fcn.00412560
mov eax, ebp
call fcn.00412890
mov byte [eax + ebx], 0
movzx eax, byte [ebx]
lea ecx, [ebx + 1]
mov edx, ebx
test eax, eax
je 0x4224d9
xor eax, 0xaa
mov byte [edx], al
movzx eax, byte [ecx]
inc edx
inc ecx
test eax, eax
jne 0x4224c9
mov eax, ebx
add esp, 8
pop ebx
pop ebp
ret
Function at 0x422c60
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push esi
push ebp
push ebx
push esi
mov ebp, ecx
push 2
xor ebx, ebx
mov byte [ebp + 0x19], bl
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, 0x80010106
je 0x422c8a
test eax, eax
jge 0x422c86
xor eax, eax
pop ecx
pop ebx
pop ebp
pop esi
ret
mov byte [ebp + 0x19], 1
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jge 0x422cb4
cmp eax, 0x80010119
je 0x422cb4
mov ecx, ebp
call fcn.00422be0
xor eax, eax
pop ecx
pop ebx
pop ebp
pop esi
ret
lea eax, [ebp + 8]
push eax
push 0x5429c0
push 1
push 0
push 0x542a90
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x422dfe
push str.._rootcimv2
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp + 8]
mov dword [ebp + 0x14], eax
mov esi, dword [ecx]
lea edx, [ebp + 4]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ecx
call dword [esi + 0xc]
test eax, eax
jl 0x422df0
mov edx, dword [ebp + 4]
test edx, edx
je 0x422df0
mov dword [esp], 0
lea eax, [esp]
mov ecx, dword [edx]
push eax
push 0x542b58
push edx
call dword [ecx]
test eax, eax
jl 0x422de2
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xa
push dword [ebp + 4]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jl 0x422dcb
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xa
push dword [esp + 0x1c]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov ebx, eax
mov eax, dword [esp]
push eax
mov edx, dword [eax]
call dword [edx + 8]
test ebx, ebx
jl 0x422dbd
lea eax, [ebp + 0xc]
push eax
push 0x542a60
push 1
push 0
push 0x542b00
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x422daf
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx]
lea eax, [ebp + 0x10]
push eax
push 0x542a80
push edx
call dword [ecx]
test eax, eax
jl 0x422da1
mov byte [ebp + 0x18], 1
mov eax, 1
pop ecx
pop ebx
pop ebp
pop esi
ret
mov ecx, ebp
call fcn.00422be0
xor eax, eax
pop ecx
pop ebx
pop ebp
pop esi
ret
mov ecx, ebp
call fcn.00422be0
xor eax, eax
pop ecx
pop ebx
pop ebp
pop esi
ret
mov ecx, ebp
call fcn.00422be0
xor eax, eax
pop ecx
pop ebx
pop ebp
pop esi
ret
mov eax, dword [esp]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov ecx, ebp
call fcn.00422be0
xor eax, eax
pop ecx
pop ebx
pop ebp
pop esi
ret
mov ecx, ebp
call fcn.00422be0
xor eax, eax
pop ecx
pop ebx
pop ebp
pop esi
ret
mov ecx, ebp
call fcn.00422be0
xor eax, eax
pop ecx
pop ebx
pop ebp
pop esi
ret
mov ecx, ebp
call fcn.00422be0
xor eax, eax
pop ecx
pop ebx
pop ebp
pop esi
ret
Function at 0x422e10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x60
mov eax, dword [0x55b004]
test eax, eax
jl 0x422e26
mov esp, ebp
pop ebp
ret
call fcn.00401b70
test eax, eax
je 0x422e3f
mov dword [0x55b004], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x10]
mov edx, str.xN7OxsaEzsbG
call fcn.004224a0
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], edi
xor eax, eax
mov dword [esp + 0x58], ebx
lea esi, [esp + 0x10]
mov ebx, eax
mov edi, dword [ebx*4 + 0x55b6ac]
lea edx, [esp + 0x30]
mov eax, edi
call fcn.00412560
mov eax, edi
call fcn.00412890
mov byte [esp + eax + 0x30], 0
movzx eax, byte [esp + 0x30]
test eax, eax
lea ecx, [esp + 0x31]
lea edx, [esp + 0x30]
je 0x422ea0
xor eax, 0xaa
mov byte [edx], al
movzx eax, byte [ecx]
inc edx
inc ecx
test eax, eax
jne 0x422e90
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebx*4 + 0x55b6c8]
mov dword [edx], eax
test eax, eax
je 0x422ef3
inc ebx
cmp ebx, 7
jb 0x422e61
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
pxor xmm0, xmm0
movaps xmmword [esp + 0x10], xmm0
movaps xmmword [esp + 0x20], xmm0
mov dword [0x55b004], 1
mov eax, 1
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
xor eax, eax
mov dword [0x55b004], 0
mov esp, ebp
pop ebp
ret

Function at 0x4232b8
Capabilities:
Print debug messages
Terminate process
Write file on windows

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x410
mov ebp, eax
lea ebx, [esp + 0x10]
mov dword [esp + 0xc], 0x3ff
mov ecx, ebx
call fcn.004230b0
push ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, ebx
mov ecx, edx
and edx, 0xfffffff0
pxor xmm0, xmm0
pcmpeqb xmm0, xmmword [edx]
pmovmskb eax, xmm0
and ecx, 0xf
shr eax, cl
bsf eax, eax
jne 0x423304
mov eax, edx
add edx, ecx
call fcn.00425520
mov esi, eax
call dword [sym.imp.MSVCR80.dll___iob_func]
mov edi, eax
add edi, 0x40
push edi
push esi
push 1
push ebx
call dword [sym.imp.MSVCR80.dll_fwrite]
push edi
push 0xa
call dword [sym.imp.MSVCR80.dll_putc]
push edi
call dword [sym.imp.MSVCR80.dll_fflush]
add esp, 0x1c
cmp ebp, 0xa
je 0x42333f
add esp, 0x410
pop ebx
pop ebp
pop esi
pop edi
ret
push 1
call dword [sym.imp.MSVCR80.dll_exit]
pop ecx
nop
lea esi, [esi]
Function at 0x4252d0
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
xor edx, edx
mov dword [eax + 0x10], edx
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 0x14], edx
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x427c84
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x55d258]
jne 0x427c8e
repz ret
jmp fcn.0042802a

Function at 0x428ca0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x40
push ebx
push esi
mov esi, dword [esp + 0x50]
mov bx, word [esp + 0x4c]
cmp bx, 4
mov word [esi], 0
jbe 0x428cc3
sub al, al
pop esi
pop ebx
add esp, 0x40
ret 8
lea eax, [esp + 0x38]
push 0x10
push eax
call fcn.00428900
lea eax, [esp + 0x28]
push 0x10
push eax
call fcn.00428960
lea eax, [esp + 0x18]
push 0x10
push eax
call fcn.00428a20
lea eax, [esp + 0x18]
push eax
call fcn.00428300
add bl, 0x31
and eax, 0xffff
mov byte [esp + eax + 0x18], bl
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0xc]
push 0x10
push eax
lea eax, [esp + 0x24]
push 0x428c90
push eax
lea eax, [esp + 0x3c]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
or eax, eax
je 0x428d74
lea eax, [esp + 8]
push 0x2c
push eax
call fcn.00428c70
or ax, ax
je 0x428d3c
and eax, 0xffff
mov byte [esp + eax + 8], 0
cmp byte [esp + 8], 0x30
jne 0x428d60
mov al, byte [esp + 9]
and al, 0xdf
cmp al, 0x58
jne 0x428d60
lea eax, [esp + 0xa]
push esi
push eax
call fcn.00428410
or al, al
jne 0x428d74
jmp 0x428d6f
lea eax, [esp + 8]
push esi
push eax
call fcn.00428360
or al, al
jne 0x428d74
mov word [esi], 0
mov ax, word [esi]
or ax, ax
je 0x428d8c
cmp ax, 0xffff
je 0x428d8c
mov al, 1
pop esi
pop ebx
add esp, 0x40
ret 8
sub al, al
pop esi
pop ebx
add esp, 0x40
ret 8

Function at 0x428db0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x40
push ebx
push esi
mov esi, dword [esp + 0x50]
mov bx, word [esp + 0x4c]
cmp bx, 4
mov word [esi], 0
jbe 0x428dd3
sub al, al
pop esi
pop ebx
add esp, 0x40
ret 8
lea eax, [esp + 0x38]
push 0x10
push eax
call fcn.00428900
lea eax, [esp + 0x28]
push 0x10
push eax
call fcn.00428960
lea eax, [esp + 0x18]
push 0x10
push eax
call fcn.00428a20
lea eax, [esp + 0x18]
push eax
call fcn.00428300
add bl, 0x31
and eax, 0xffff
mov byte [esp + eax + 0x18], bl
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0xc]
push 0x10
push eax
lea eax, [esp + 0x24]
push 0x428da0
push eax
lea eax, [esp + 0x3c]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
or eax, eax
je 0x428e84
lea eax, [esp + 8]
push 0x2c
push eax
call fcn.00428c70
or ax, ax
je 0x428e84
and eax, 0xffff
mov cl, byte [esp + eax + 9]
and cl, 0xdf
cmp cl, 0x54
jne 0x428e84
cmp byte [esp + eax + 0xa], 0x3a
jne 0x428e84
push esi
lea eax, [esp + eax + 0xf]
push eax
call fcn.00428360
or al, al
jne 0x428e70
jmp 0x428e7f
mov ax, word [esi]
cmp ax, 1
jl 0x428e7f
cmp ax, 6
jle 0x428e84
mov word [esi], 0
cmp word [esi], 1
sbb al, al
inc al
pop esi
pop ebx
add esp, 0x40
ret 8
Function at 0x428eb0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x50
push esi
lea eax, [esp + 0x44]
push 0x10
push eax
call fcn.00428900
lea eax, [esp + 0x24]
push 0x10
push eax
call fcn.00428960
lea eax, [esp + 0x34]
push 0x10
push eax
call fcn.00428b10
lea eax, [esp + 4]
push 0x10
push eax
call fcn.00428ac0
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push 0x10
push eax
lea eax, [esp + 0x40]
push 0x428ea0
push eax
lea eax, [esp + 0x38]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov esi, eax
or esi, esi
je 0x428f1f
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 8]
push eax
call fcn.00428180
mov ecx, dword [esp + 0x5c]
mov byte [ecx], al
cmp esi, 1
sbb al, al
inc al
pop esi
add esp, 0x50
ret 8

Function at 0x428f30
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x30
lea eax, [esp + 0x20]
push 0x10
push eax
call fcn.00428900
lea eax, [esp]
push 0x10
push eax
call fcn.00428960
lea eax, [esp + 0x10]
push 0x10
push eax
call fcn.00428a70
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x14]
push 0
push eax
lea eax, [esp + 0xc]
push eax
call sub.KERNEL32.dll_GetPrivateProfileIntA
mov ecx, dword [esp + 0x34]
cmp eax, 1
mov word [ecx], ax
sbb cl, cl
inc cl
mov al, cl
add esp, 0x30
ret 4

Function at 0x428fa0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x70
push esi
mov esi, dword [esp + 0x78]
push 0x10
mov word [esi], 0
lea eax, [esp + 8]
push 0
push eax
call fcn.00428320
lea eax, [esp + 0x64]
push 0x10
push eax
call fcn.00428900
lea eax, [esp + 0x44]
push 0x10
push eax
call fcn.00428960
lea eax, [esp + 0x54]
push 0x10
push eax
call fcn.004289c0
lea eax, [esp + 0x34]
push 0x10
push eax
call fcn.00428b70
lea eax, [esp + 0x24]
push 0x10
push eax
call fcn.00428c20
lea eax, [esp + 0x14]
push 0x10
push eax
call fcn.00428bd0
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 8]
push 0x10
push eax
lea eax, [esp + 0x60]
push 0x428f90
push eax
lea eax, [esp + 0x58]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
or eax, eax
je 0x429073
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 8]
push eax
call fcn.00428180
or al, al
je 0x429041
mov word [esi], 2
jmp 0x429073
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 8]
push eax
call fcn.00428180
or al, al
je 0x42905b
mov word [esi], 3
jmp 0x429073
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 8]
push eax
call fcn.00428180
or al, al
je 0x429073
mov word [esi], 1
cmp word [esi], 1
sbb al, al
inc al
pop esi
add esp, 0x70
ret 4
Function at 0x429260
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 4
push ebx
push esi
push edi
push ebp
mov esi, dword [esp + 0x18]
mov byte [esp + 0x13], 0
lea eax, [esi + 4]
mov edi, dword [esp + 0x1c]
mov dword [esi], eax
mov ax, word [edi + 4]
mov word [esi + 4], ax
mov ax, word [edi + 0xa]
mov word [esi + 6], ax
mov ax, word [edi + 0x14]
mov word [esi + 0x16], ax
mov ax, word [edi + 8]
mov word [esi + 8], ax
mov ax, word [edi + 6]
mov word [esi + 0xa], ax
lea eax, [esi + 0x24]
mov dword [esi + 0x10], eax
lea eax, [esi + 4]
push eax
call fcn.00429160
or al, al
jne 0x4293ea
test byte [edi + 0x1c], 4
je 0x4292c3
mov byte [esp + 0x13], 1
sub cx, cx
sub dx, dx
lea esp, [esp]
mov ebp, ecx
and ebp, 0xffff
lea eax, [ebp*8]
sub eax, ebp
shl eax, 2
lea eax, [eax + eax*4]
lea ebx, [esi + eax]
lea eax, [ebp*4]
mov word [ebx + 0x36], cx
lea eax, [eax + eax*8]
lea ebp, [edi + eax]
mov ax, word [ebp + 0xe]
mov word [ebx + 0x9c], ax
mov ax, word [ebp + 0x12]
mov word [ebx + 0x8e], ax
mov ax, word [ebp + 0x16]
mov word [ebx + 0x34], ax
mov ax, word [ebp + 0x18]
mov word [ebx + 0x32], ax
mov eax, dword [ebp + 0x1c]
mov dword [ebx + 0x2c], eax
cmp cx, 3
mov eax, dword [ebp + 0x20]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 0x24]
mov dword [ebx + 0x28], eax
lea eax, [esi + 4]
mov dword [ebx + 0xa4], eax
jne 0x429350
mov dword [ebx + 0xa8], 0
jmp 0x42935c
lea eax, [ebx + 0xb0]
mov dword [ebx + 0xa8], eax
or cx, cx
jne 0x429370
mov dword [ebx + 0xac], 0
jmp 0x429379
lea eax, [ebx - 0x68]
mov dword [ebx + 0xac], eax
cmp byte [esp + 0x13], 0
je 0x429390
cmp word [ebp + 0xe], 0xffff
jne 0x429390
or dword [ebx + 0x2c], 8
jmp 0x429396
mov word [ebx + 0x36], dx
inc dx
inc cx
cmp cx, 4
jb 0x4292d0
push esi
call fcn.004291d0
push esi
call fcn.00429110
push esi
call fcn.004290d0
mov eax, dword [esi + 0x10]
push eax
call fcn.0042a590
mov word [esi + 0xc], ax
or ax, ax
je 0x4293e0
lea eax, [esi + 4]
push eax
call fcn.0042a3e0
sub ax, ax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 8
push esi
call fcn.004290a0
mov ax, 9
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 8

Function at 0x42b4e0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xc
push esi
push edi
lea eax, [esp + 0xa]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
push eax
push esi
call fcn.00429400
mov eax, dword [esp + 0xc]
push 0xd
mov ax, word [eax + 4]
push eax
call fcn.0042b010
or al, al
jne 0x42b56a
mov eax, dword [esp + 0x10]
push eax
push esi
call fcn.0042be00
or al, al
jne 0x42b56a
mov eax, dword [esp + 0xc]
mov ax, word [eax + 0xa]
push eax
mov eax, dword [esp + 0x10]
mov al, byte [eax + 8]
push eax
mov eax, dword [esp + 0x14]
mov ax, word [eax + 6]
push eax
mov eax, dword [esp + 0x18]
mov ax, word [eax + 4]
push eax
mov eax, dword [esp + 0x20]
push eax
push esi
call fcn.0042bcc0
mov di, ax
mov eax, dword [esp + 0x10]
push eax
push esi
call fcn.0042be50
or di, di
je 0x42b56a
mov ax, di
pop edi
pop esi
add esp, 0xc
ret 8