joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a940
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x450bb0]
cmp dword [eax + 0x30], 0
je 0x44a9ea
cmp dword [ebx + 0x94], 0
jne 0x44a9e4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44a8d0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44a9e4
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44a9aa
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44a9e4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413b84
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44a9b9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44b548
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44b57d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004042d0
jmp 0x44b58a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404234
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44c69c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44c6dd
mov eax, esi
call fcn.00432eb8
test al, al
je 0x44c6dd
mov eax, dword [ebx + 0x84]
call fcn.00432c58
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44c6dd
push 0
mov eax, dword [ebx + 0x84]
call fcn.00432c58
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x402a84
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x40a008], 0x8088405
inc edx
mov dword [ebx + 0x40a008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x402c0c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x40a018]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402ca4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402c84
xor eax, eax
push ebp
push 0x402c7d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402cc0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402c84
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x40a018]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x40a018], ax
mov esp, ebp
pop ebp
ret

Function at 0x403544
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x40b040], 0
je 0x4035a5
cmp word [0x40b214], 0xd7b2
jne 0x40356d
cmp dword [0x40b21c], 0
jbe 0x40356d
mov eax, 0x40b210
call dword [0x40b22c]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x40a060
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4035cc
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x40a024], 0
jne 0x4035c1
push 0
push 0x40a058
push 0x40a060
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x403720
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402834
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x40b041], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4036e8
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x4044c8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x40452e
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004038ec
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402aa0
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x404518
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404535
lea eax, [ebp - 0x10]
call fcn.00403764
ret
Function at 0x404dfc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0xffffffff
mov eax, pe_nt_image_headers32
call fcn.00402834
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x404eaa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetLogicalDriveStringsA
test eax, eax
je 0x404e8e
mov ebx, dword [ebp - 8]
jmp 0x404e89
mov eax, dword [ebp - 4]
inc dword [eax + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
inc eax
push eax
mov eax, dword [ebp - 4]
add eax, 0x10
mov ecx, 1
mov edx, dword [0x404b9c]
call fcn.00404324
add esp, 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
lea eax, [edx + eax*4]
mov edx, ebx
call fcn.004038b0
mov eax, ebx
call fcn.00404c84
inc eax
add ebx, eax
cmp byte [ebx], 0
jne 0x404e42
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404eb1
mov eax, dword [ebp - 8]
call fcn.00402864
mov eax, dword [ebp - 4]
inc dword [eax + 4]
ret

Function at 0x4054ec
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x110], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4055f6
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
jne 0x40553f
push 0x105
lea eax, [ebp - 0x109]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [ebp - 0x109]
mov eax, dword [ebp - 4]
call fcn.00403854
jmp 0x4055dd
call sub.kernel32.dll_GetCommandLineA_1
mov ebx, eax
mov eax, ebx
call fcn.0040549c
mov ebx, eax
mov edi, ebx
mov eax, ebx
call fcn.004054bc
mov ebx, eax
test esi, esi
je 0x405567
dec esi
test esi, esi
jl 0x405567
cmp edi, ebx
jne 0x405546
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x110]
mov edx, edi
call fcn.004038b0
mov eax, dword [ebp - 0x110]
mov ecx, ebx
sub ecx, edi
mov edx, 1
call fcn.00403b64
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00403904
cmp eax, 2
jl 0x4055dd
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp byte [eax], 0x22
jne 0x4055dd
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00403904
mov edx, dword [ebp - 4]
mov edx, dword [edx]
cmp byte [edx + eax - 1], 0x22
jne 0x4055dd
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00403904
mov ecx, eax
sub ecx, 2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, 2
call fcn.00403b64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4055fd
lea eax, [ebp - 0x110]
call fcn.00403764
ret
Function at 0x4056f8
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffffc
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov edi, dword [ebp + 8]
cmp byte [ebx + 0x18], 0
jne 0x405774
mov byte [ebp - 0x1004], 0
mov eax, dword [ebx + 0x19]
call fcn.00403b04
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
mov eax, esi
call fcn.00403b04
push eax
mov eax, dword [ebp - 4]
call fcn.00403b04
push eax
mov eax, dword [ebx + 0x1d]
call fcn.00403b04
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
test eax, eax
je 0x40576b
mov eax, edi
lea edx, [ebp - 0x1004]
mov ecx, 0x1000
call fcn.004038ec
jmp 0x4057a5
mov eax, edi
call fcn.00403764
jmp 0x4057a5
mov eax, edi
mov edx, esi
call fcn.004037b8
mov eax, dword [ebx + 0x19]
call fcn.00403b04
push eax
mov eax, esi
call fcn.00403b04
push eax
mov eax, dword [ebp - 4]
call fcn.00403b04
push eax
mov eax, dword [ebx + 0x1d]
call fcn.00403b04
push eax
call sub.kernel32.dll_WritePrivateProfileStringA
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x405aa0
Capabilities:
Get file attributes

Disassembly:
call fcn.00405314
push eax
call sub.kernel32.dll_GetFileAttributesA
inc eax
je 0x405ab4
dec eax
and al, 0x10
sete al
ret

Function at 0x405b3c
Capabilities:
Read .ini file

Disassembly:
or eax, 0
je 0x405b2e
lea eax, [esi + 4]
call fcn.00405488
mov dword [esi], eax
lea edx, [esi + 4]
inc eax
add esi, eax
mov eax, edi
call fcn.00405b7c
cmp byte [esi + 4], 0
jne 0x405b11
pop eax
call fcn.00402864
pop ecx
pop ebx
pop edi
pop esi
ret
push esi
push edi
push ebx
push ecx
mov ebx, eax
mov eax, 0x8003
mov edi, edx
call fcn.00402834
mov esi, eax
push eax
push dword [ebx + 0x19]
mov eax, 0x7fff
push eax
lea eax, [esi + 4]
push eax
call sub.kernel32.dll_GetPrivateProfileSectionNamesA
jmp 0x405b0c

Function at 0x407138
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edi, dword [eax + 0x78]
add edi, ebx
xor esi, esi
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x20]
add eax, ebx
mov edx, esi
shl edx, 2
add eax, edx
mov eax, dword [eax]
add eax, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00406d20
test al, al
je 0x4071ac
mov eax, esi
add eax, eax
add eax, dword [edi + 0x24]
add eax, ebx
mov ax, word [eax]
and ax, 0xffff
movzx eax, ax
shl eax, 2
add eax, dword [edi + 0x1c]
add eax, ebx
mov eax, dword [eax]
add eax, ebx
mov dword [ebp - 8], eax
inc esi
cmp dword [ebp - 8], 0
jne 0x4071b8
cmp esi, dword [edi + 0x18]
jne 0x407166
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x407244
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
mov byte [ebp - 1], 0
test esi, esi
je 0x4072e0
mov ebx, esi
push edi
mov ecx, 0x40
mov edx, esi
mov eax, ebx
call fcn.00407214
test al, al
jne 0x407276
mov byte [ebp - 1], 0
jmp 0x4072e0
cmp word [ebx], 0x5a4d
jne 0x4072e0
mov ecx, dword [ebx + 0x3c]
cmp ecx, 0x40
jl 0x4072e0
cmp ecx, 0xf08
jg 0x4072e0
mov eax, ecx
cdq
push edx
push eax
mov eax, esi
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov ebx, eax
push edi
mov ecx, 0xf8
mov edx, esi
mov eax, ebx
call fcn.00407214
test al, al
jne 0x4072bb
mov byte [ebp - 1], 0
jmp 0x4072e0
cmp dword [ebx], 0x4550
jne 0x4072e0
cmp word [ebx + 0x18], 0x10b
jne 0x4072e0
cmp word [ebx + 0x14], 0xe0
jb 0x4072dc
cmp dword [ebx + 0xe8], 0
jne 0x4072e0
mov byte [ebp - 1], 1
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4074f4
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x4074fd
mov eax, dword [ebp - 4]
add esp, 0xfffffffc
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403af4
xor eax, eax
push ebp
push 0x40766f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00403904
add eax, eax
inc eax
call fcn.00402834
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00403904
mov ecx, eax
add ecx, ecx
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.00404118
mov esi, eax
cmp dword [0x40b6e8], 0
je 0x40758b
push esi
push 0
call dword [0x40b6e8]
test eax, eax
je 0x40758b
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.00403904
mov edx, eax
add edx, edx
inc edx
mov eax, esi
call fcn.00402864
jmp 0x407659
mov eax, dword [ebp - 4]
call fcn.00403904
mov edx, eax
add edx, edx
inc edx
mov eax, esi
call fcn.00402864
mov edx, 0x40
mov eax, dword [ebp - 4]
call fcn.00404a64
mov esi, eax
cmp esi, 0xffffffff
jne 0x4075c1
xor eax, eax
mov dword [ebx], eax
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x407659
push 0
push esi
call sub.kernel32.dll_GetFileSize
mov dword [ebx], eax
cmp edi, dword [ebx]
jb 0x4075d6
mov eax, dword [ebx]
cmp eax, dword [ebp + 8]
jae 0x4075e4
mov eax, esi
call fcn.00405a94
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x407659
mov eax, dword [ebx]
call fcn.00402834
mov dword [ebp - 8], eax
xor edi, edi
lea edx, [ebp - 0x2008]
mov ecx, 0x2000
mov eax, esi
call fcn.00405ab8
mov ebx, eax
cmp ebx, 0x2000
jne 0x40763c
lea edx, [ebp - 0x2008]
mov eax, dword [ebp - 8]
add eax, edi
mov ecx, ebx
call fcn.00404988
add edi, ebx
lea edx, [ebp - 0x2008]
mov ecx, 0x2000
mov eax, esi
call fcn.00405ab8
mov ebx, eax
cmp ebx, 0x2000
je 0x40760c
test ebx, ebx
jbe 0x407652
lea edx, [ebp - 0x2008]
mov eax, dword [ebp - 8]
add eax, edi
mov ecx, ebx
call fcn.00404988
mov eax, esi
call fcn.00405a94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407676
lea eax, [ebp - 4]
call fcn.00403764
ret
Function at 0x407684
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 8]
call fcn.00403af4
xor eax, eax
push ebp
push 0x407723
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 8]
call fcn.00404aa8
mov edi, eax
cmp edi, 0xffffffff
je 0x40770d
mov ebx, dword [ebp - 4]
test ebx, ebx
jbe 0x407704
cmp ebx, 0x2710
jae 0x4076db
push 0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push edi
call sub.kernel32.dll_WriteFile_1
jmp 0x4076ed
push 0
lea eax, [ebp - 0xc]
push eax
push 0x2710
push esi
push edi
call sub.kernel32.dll_WriteFile_1
cmp byte [ebp + 8], 0
je 0x4076fa
push 5
call sub.kernel32.dll_Sleep
sub ebx, dword [ebp - 0xc]
add esi, dword [ebp - 0xc]
test ebx, ebx
ja 0x4076c3
mov eax, edi
call fcn.00405a94
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40772a
lea eax, [ebp - 8]
call fcn.00403764
ret
Function at 0x408bc4
Capabilities:
Create service
Persist via windows service
Start service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00403af4
xor eax, eax
push ebp
push 0x408c9e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x408c88
xor eax, eax
push ebp
push 0x408c81
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403b04
push eax
push 0
push 2
push 0x110
push 0xf01ff
push esi
push ebx
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CreateServiceA
mov ebx, eax
test ebx, ebx
jne 0x408c4f
call fcn.004031f8
jmp 0x408c88
mov byte [ebp - 5], 1
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
push ebx
call sub.advapi32.dll_StartServiceA
push ebx
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408c88
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408ca5
lea eax, [ebp - 4]
call fcn.00403764
ret
Function at 0x409a74
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
xor eax, eax
push ebp
push 0x409ba3
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x409b81
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x4052ec]
mov eax, 0x21
call fcn.004040f4
mov dword [ebp - 8], eax
mov dl, 1
mov eax, dword [0x404c08]
call fcn.00402d28
mov dword [ebp - 4], eax
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.004054ec
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0xc]
mov edx, 0x409bb8
call fcn.0040567c
mov eax, dword [ebp - 0xc]
call fcn.00403b04
push eax
call sub.kernel32.dll_DeleteFileA
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.004054ec
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
mov edx, 0x409bb8
call fcn.0040567c
mov eax, dword [ebp - 0x14]
call fcn.004057b0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov byte [eax + 0x18], 1
mov eax, dword [ebp - 4]
call fcn.00404dfc
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 4]
dec ebx
test ebx, ebx
jl 0x409b55
inc ebx
xor esi, esi
mov eax, dword [ebp - 8]
add eax, 0x1d
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + esi*4]
call fcn.004037b8
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 0x409bc8
call fcn.004056f8
inc esi
dec ebx
jne 0x409b2a
mov eax, dword [ebp - 8]
call fcn.00405330
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409b88
mov eax, dword [ebp - 4]
call fcn.00402d58
mov edx, dword [0x4052ec]
mov eax, dword [ebp - 8]
call fcn.00404108
ret

Function at 0x41073c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edi, dword [eax + 0x78]
add edi, ebx
xor esi, esi
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x20]
add eax, ebx
mov edx, esi
shl edx, 2
add eax, edx
mov eax, dword [eax]
add eax, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00410324
test al, al
je 0x4107b0
mov eax, esi
add eax, eax
add eax, dword [edi + 0x24]
add eax, ebx
mov ax, word [eax]
and ax, 0xffff
movzx eax, ax
shl eax, 2
add eax, dword [edi + 0x1c]
add eax, ebx
mov eax, dword [eax]
add eax, ebx
mov dword [ebp - 8], eax
inc esi
cmp dword [ebp - 8], 0
jne 0x4107bc
cmp esi, dword [edi + 0x18]
jne 0x41076a
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x1c
xor eax, eax
cmp word [0x400000], 0x5a4d
mov dword [0x40d058], 1
mov dword [0x40d054], 1
mov dword [0x40d050], 1
jne 0x401056
mov edx, dword [0x40003c]
cmp dword [edx + 0x400000], 0x4550
lea ecx, [edx + 0x400000]
je 0x4010b0
mov dword [0x40d00c], eax
mov eax, dword [0x40d064]
test eax, eax
je 0x4010a0
mov dword [esp], 2
call sym.___set_app_type
call sym.___p__fmode
mov edx, dword [0x40d078]
mov dword [eax], edx
call sym.___p__commode
mov edx, dword [0x40d060]
mov dword [eax], edx
call dbg._setargv
cmp dword [0x409014], 1
je 0x4010e0
xor eax, eax
add esp, 0x1c
ret
mov dword [esp], 1
call sym.___set_app_type
jmp 0x401070
movzx edx, word [ecx + 0x18]
cmp dx, 0x10b
je 0x4010f8
cmp dx, 0x20b
jne 0x401056
cmp dword [ecx + 0x84], 0xe
jbe 0x401056
mov edx, dword [ecx + 0xf8]
xor eax, eax
test edx, edx
setne al
jmp 0x401056
mov dword [esp], dbg._matherr
call dbg.__mingw_setusermatherr
xor eax, eax
add esp, 0x1c
ret
cmp dword [ecx + 0x74], 0xe
jbe 0x401056
mov ecx, dword [ecx + 0xe8]
xor eax, eax
test ecx, ecx
setne al
jmp 0x401056

Function at 0x40171b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2688
call fcn.00402cb0
sub esp, eax
mov dword [ebp - 0x266b], 0x675a5179
mov dword [ebp - 0x2667], 0x6f574357
mov dword [ebp - 0x2663], 0x4d4e6f4c
mov dword [ebp - 0x265f], 0x54415556
mov dword [ebp - 0x265b], 0x48636d59
mov dword [ebp - 0x2657], 0x6a495679
mov dword [ebp - 0x2653], 0x7a4b5767
mov dword [ebp - 0x264f], 0x494d7177
mov dword [ebp - 0x264b], 0x66797752
mov dword [ebp - 0x2647], 0x77456d57
mov dword [ebp - 0x2643], 0x58515773
mov dword [ebp - 0x263f], 0x4f786757
mov dword [ebp - 0x263b], 0x737a
lea eax, [ebp - 0x2637]
mov edx, 0x262b
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._memset
lea eax, [ebp - 0x266b]
mov dword [esp], eax
call sym._strupr
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._strlwr
leave
ret