joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402a70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [0x41e4c4]
push ebx
xor ebx, ebx
push esi
cmp dword [ebp + 8], ebx
push edi
mov dword [ebp - 0xc], eax
je 0x402c4f
cmp dword [ebp + 0xc], ebx
je 0x402c4f
cmp dword [ebp + 0x10], ebx
jle 0x402c4f
lea eax, [ecx + 0x2f0]
cmp eax, ebx
je 0x402af0
lea ecx, [ebp - 0x424]
test ecx, ecx
je 0x402af0
lea ecx, [ebp - 0x724]
push ecx
lea ecx, [ebp - 0x824]
push ecx
lea ecx, [ebp - 0x624]
push ecx
lea ecx, [ebp - 4]
push ecx
push eax
call fcn.004119e8
push ebx
lea eax, [ebp - 0x624]
push ebx
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.00411957
add esp, 0x28
lea eax, [ebp - 0x424]
push 0x41e48c
push eax
lea eax, [ebp - 0x120]
push 0x41e468
push eax
call fcn.0041172e
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
add esp, 0x10
lea eax, [ebp - 0x120]
mov edi, 0x41e47c
push eax
push ebx
push edi
push 0x41e4b8
call esi
push 1
mov dword [ebp - 0x10], eax
pop ecx
cmp eax, ecx
mov dword [ebp - 4], ecx
jl 0x402c2c
push dword [ebp - 4]
lea eax, [ebp - 0x220]
push 0x41e4a8
push eax
call fcn.0041172e
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
push ebx
lea eax, [ebp - 0x220]
push edi
push eax
call esi
push 1
mov dword [ebp - 0x14], eax
pop ecx
cmp eax, ecx
mov dword [ebp - 8], ecx
jl 0x402c1d
push dword [ebp - 8]
lea eax, [ebp - 0x524]
push 0x41e49c
push eax
call fcn.0041172e
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x320]
push 0x100
push eax
lea eax, [ebp - 0x524]
push 0x45f6f8
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x320], bl
je 0x402c0e
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x320]
push eax
call fcn.00411bb4
pop ecx
cmp eax, ebx
pop ecx
mov dword [ebp - 0x18], eax
je 0x402c0e
lea eax, [ebp - 0xc]
push eax
push ebx
call fcn.00411bb4
pop ecx
cmp eax, ebx
pop ecx
mov dword [ebp - 0x1c], eax
je 0x402c0e
lea eax, [ebp - 0xc]
push eax
push ebx
call fcn.00411bb4
pop ecx
test eax, eax
pop ecx
je 0x402c0e
push dword [ebp + 8]
push dword [ebp - 0x1c]
call fcn.00411b30
pop ecx
test eax, eax
pop ecx
je 0x402c2c
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x14]
jle 0x402b76
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x10]
jle 0x402b3c
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 4], eax
jge 0x402c4f
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
push esi
push dword [ebp - 0x18]
push edi
call fcn.00411630
add esp, 0xc
mov byte [edi + esi - 1], bl
xor eax, eax
jmp 0x402c52
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x402c59
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 8], 0xf020
jne 0x402c70
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x402c77
mov eax, dword [esp + 0x10]
and dword [eax], 0
xor eax, eax
ret 0x10

Function at 0x402d4e
Capabilities:
Create process on windows

Disassembly:
xor eax, eax
push 5
push eax
push eax
push str.http:__www.wg1818.com_
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor eax, eax
ret 0x10
Function at 0x404659
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
call fcn.00404f80
test eax, eax
jne 0x404682
cmp byte [esi + 0x2f0], al
je 0x404682
push eax
mov ecx, esi
call fcn.00402517
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x404697
push 0x40
push 0x41e830
push 0x41e7f8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop esi
ret 0x10

Function at 0x40491d
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov eax, dword [esi + 0x94]
cmp eax, ebx
je 0x40495f
push dword [esi + 0x4c]
push 0x41bb88
push eax
call fcn.004049f0
mov dword [esi + 0x4c], 0xfefefefe
mov eax, dword [esi + 0x94]
cmp eax, ebx
je 0x40495f
mov dword [esi + 0x94], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x1d0]
cmp eax, ebx
je 0x404973
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
cmp dword [esi + 0x408], ebx
je 0x404987
mov ecx, esi
call fcn.00404d21
mov ecx, esi
call fcn.00402722
push 0x15
xor eax, eax
pop ecx
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 4]
push 2
mov dword [ebp - 0x54], eax
pop eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x58], 0x58
push ecx
push eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], 0x65
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov eax, dword [esi + 0x3fc]
lea edi, [esi + 0x3fc]
cmp eax, ebx
je 0x4049da
push eax
call dword [sym.imp.USER32.dll_DestroyMenu]
test eax, eax
je 0x4049da
mov dword [edi], ebx
push ebx
push dword [esi + 0x400]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10

Function at 0x404bac
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
push 1
mov esi, ecx
pop eax
push 0x104
and dword [esi + 0x2e0], 0
mov dword [esi + 0x2e4], eax
mov dword [esi + 0x2e8], eax
mov dword [esi + 0x2ec], eax
lea eax, [ebp - 0x208]
push eax
push dword [0x45f704]
call fcn.00404c99
test eax, eax
je 0x404c96
push ebx
push edi
lea eax, [ebp - 0x208]
push str.Mir3king.ini
push eax
lea eax, [ebp - 0x104]
push 0x41e934
push eax
call fcn.0041172e
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
add esp, 0x10
lea eax, [ebp - 0x104]
mov ebx, str.General
push eax
push 0
push str.AutoStart
push ebx
call edi
neg eax
sbb eax, eax
neg eax
mov dword [esi + 0x2e0], eax
lea eax, [ebp - 0x104]
push eax
push 1
push str.WindowMode
push ebx
call edi
neg eax
sbb eax, eax
neg eax
mov dword [esi + 0x2e4], eax
lea eax, [ebp - 0x104]
push eax
push 1
push str.MultiInstance
push ebx
call edi
neg eax
sbb eax, eax
neg eax
mov dword [esi + 0x2e8], eax
lea eax, [ebp - 0x104]
push eax
push 1
push str.NoUpdate
push ebx
call edi
neg eax
sbb eax, eax
pop edi
neg eax
mov dword [esi + 0x2ec], eax
pop ebx
pop esi
leave
ret
Function at 0x404f80
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34c
lea eax, [ebp - 0x108]
push esi
push edi
mov edi, ecx
test eax, eax
je 0x40504e
mov esi, 0x104
lea eax, [ebp - 0x20c]
push esi
push eax
push dword [0x45f704]
call fcn.00404c99
test eax, eax
je 0x40504e
lea eax, [ebp - 0x20c]
push str.Mir3king.ini
push eax
lea eax, [ebp - 0x108]
push 0x41e934
push eax
call fcn.0041172e
add esp, 0x10
lea eax, [ebp - 0x108]
push ebx
lea ebx, [edi + 0x2f0]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
push esi
push ebx
push 0x45f6f8
push str.GamePath
push str.General
mov dword [ebp - 4], ebx
call edi
lea eax, [ebp - 0x34c]
push eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
call ebx
cmp eax, 0xffffffff
jne 0x405047
push str.win.ini
push esi
mov esi, dword [ebp - 4]
push esi
push 0x45f6f8
push str.Mir3GPath
push 0x41e93c
call edi
lea eax, [ebp - 0x34c]
push eax
push esi
call ebx
cmp eax, 0xffffffff
jne 0x405047
and byte [esi], 0
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret
or eax, 0xffffffff
jmp 0x40504a

Function at 0x4050eb
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
call fcn.00404f80
test eax, eax
jne 0x405115
cmp byte [esi + 0x2f0], al
je 0x405115
push 1
mov ecx, esi
call fcn.00402517
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40512a
push 0x40
push 0x41e830
push 0x41e7f8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop esi
ret 0x10

Function at 0x405aa6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
call fcn.00405f10
mov ebx, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceA]
push 5
push dword [ebp + 0xc]
push ebx
call esi
push 0xf0
mov dword [ebp + 8], eax
push dword [ebp + 0xc]
push ebx
call esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, dword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
mov dword [ebp - 0xc], eax
cmp eax, ecx
mov dword [ebp - 4], ecx
mov dword [ebp + 0xc], ecx
mov dword [ebp - 8], ecx
je 0x405afe
push eax
push ebx
call esi
push eax
mov dword [ebp - 4], eax
call edi
mov dword [ebp + 0xc], eax
cmp dword [ebp + 8], 0
je 0x405b4e
push dword [ebp + 8]
push ebx
call esi
push eax
mov dword [ebp + 8], eax
call edi
push dword [ebp + 0xc]
mov esi, eax
push esi
call fcn.00405b6d
pop ecx
mov edi, eax
pop ecx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
push ebx
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamA]
cmp edi, esi
mov dword [ebp - 8], eax
je 0x405b45
push edi
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [ebp + 0xc], 0
pop edi
pop esi
pop ebx
je 0x405b66
cmp dword [ebp - 0xc], 0
je 0x405b66
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 8]
leave
ret 0x14
Function at 0x406345
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
neg esi
lea eax, [ecx - 0x68]
sbb esi, esi
and esi, eax
cmp byte [ecx + 0x1c], 0
je 0x406388
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp + 0xc], 2
jne 0x406379
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40638e
cmp dword [ebp + 0xc], 0
jne 0x406388
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0xc], 1
je 0x4063a5
mov eax, dword [ebp + 0x10]
lea ecx, [esi + 0x68]
shr eax, 0x10
movsx eax, ax
push eax
movsx eax, word [ebp + 0x10]
push eax
call fcn.004078f2
xor eax, eax
pop esi
pop ebp
ret 0x10
Function at 0x40b285
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
push 2
xor ebx, ebx
pop edi
lea ecx, [ebp - 8]
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call fcn.0040b6b2
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x40b3a6
cmp byte [ebp + 8], bl
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0x400000
mov dword [0x45f7b4], ebx
mov dword [0x45f7b8], ebx
mov dword [0x45f7b0], ebx
mov dword [0x45f7dc], ebx
je 0x40b2e3
mov dword [0x45f7dc], 1
cmp byte [ebp + 0xc], bl
je 0x40b2ee
or dword [0x45f7dc], edi
cmp byte [ebp + 0x10], bl
je 0x40b2fa
or dword [0x45f7dc], 4
lea eax, [ebp - 0xc]
push ebx
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SOFTWAREmachinewg
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea eax, [ebp - 0x14c]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push ebx
lea eax, [ebp - 0x24c]
push ebx
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.004119e8
push ebx
lea eax, [ebp - 0x24c]
push ebx
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.00411957
lea eax, [ebp - 0x14c]
push eax
call fcn.00412a40
add esp, 0x2c
push eax
lea eax, [ebp - 0x14c]
push eax
push 1
push ebx
push str.path
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x18]
mov esi, 0x45f7b0
lea eax, [ebp - 0x48]
push esi
push eax
call fcn.0040b4ae
mov edi, eax
cmp edi, ebx
je 0x40b3bb
cmp dword [ebp - 4], ebx
je 0x40b3b4
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x40b48b
cmp dword [0x45f7b4], ebx
je 0x40b47b
mov eax, dword [0x41ed08]
add eax, 0x100
push eax
call fcn.00411622
push dword [0x41ed08]
mov edi, eax
push 0x420c18
push edi
call fcn.00411d30
mov eax, dword [0x41ed08]
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [0x41ed10]
mov dword [ebp - 0x24], eax
mov ax, word [0x41ed0c]
mov word [ebp - 0x20], ax
lea eax, [ebp + 0xc]
push eax
push esi
push dword [0x45f7b0]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x1c], 0x41ed14
mov dword [ebp - 0x38], 1
mov dword [ebp + 0xc], ebx
call fcn.0040b1aa
lea eax, [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push eax
mov dword [ebp + 8], ebx
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [0x45f7b0]
push dword [ebp - 0x10]
call esi
cmp dword [ebp + 8], ebx
je 0x40b468
lea eax, [ebp + 8]
mov dword [ebp + 8], ebx
push eax
lea eax, [ebp + 0xc]
push 4
push eax
push 0x4bd29c
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x38]
call fcn.0040b492
cmp edi, ebx
je 0x40b47b
push edi
call fcn.00411870
pop ecx
cmp dword [ebp - 4], ebx
je 0x40b489
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x40b71f
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
mov eax, 0x1388
push esi
mov esi, ecx
push edi
push str.SW_HTTPDOWNLOAD
mov dword [esi + 0x808], eax
mov dword [esi + 0x80c], eax
mov dword [esi + 0x810], eax
xor eax, eax
mov dword [esi + 0x804], eax
mov dword [esi + 0x14d0], eax
mov dword [esi + 0x14d4], eax
mov dword [esi + 0x81c], eax
mov dword [esi + 0xda8], eax
mov dword [esi + 0x8a4], eax
mov dword [esi + 0x12ac], eax
lea eax, [esi + 4]
push eax
mov dword [esi], 0x41bae4
mov dword [esi + 0x814], 0x3e8
mov dword [esi + 0x8a0], 0x50
mov dword [esi + 0x818], 5
call fcn.00411780
lea eax, [esi + 0x104]
push str.SW_HTTPDOWNLOAD_1.0
push eax
call fcn.00411780
mov edi, 0x45f6f8
lea eax, [esi + 0x820]
push edi
push eax
call fcn.00411780
lea eax, [esi + 0xdac]
push edi
push eax
call fcn.00411780
lea eax, [esi + 0xe2c]
push edi
push eax
call fcn.00411780
lea eax, [esi + 0x8a8]
push edi
push eax
call fcn.00411780
lea eax, [esi + 0x928]
push edi
push eax
call fcn.00411780
lea eax, [esi + 0x404]
push edi
push eax
call fcn.00411780
add esp, 0x40
lea eax, [esi + 0x204]
push edi
push eax
call fcn.00411780
lea eax, [esi + 0x304]
push edi
push eax
call fcn.00411780
lea eax, [esi + 0x13b8]
push edi
push eax
call fcn.00411780
or dword [esi + 0x14b8], 0xffffffff
add esp, 0x18
lea eax, [esp + 8]
mov dword [esi + 0x12b0], 0x10000
push eax
push 0x101
call sub.WS2_32.dll_WSAStartup
mov eax, esi
pop edi
pop esi
add esp, 0x190
ret
Function at 0x40bfe4
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, ecx
call fcn.0040c07a
push 0
push 1
push 2
call sub.WS2_32.dll_socket
cmp eax, 0xffffffff
mov dword [esi + 0x14b8], eax
je 0x40c06f
lea ecx, [esi + 0x810]
push 4
push ecx
mov edi, 0xffff
push 0x1005
push edi
push eax
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x40c068
lea eax, [esi + 0x80c]
push 4
push eax
push 0x1006
push edi
push dword [esi + 0x14b8]
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x40c068
lea eax, [ebp - 4]
push 4
push eax
push 0x1002
push edi
mov dword [ebp - 4], 0x4000
push dword [esi + 0x14b8]
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
jne 0x40c073
mov ecx, esi
call fcn.0040c07a
xor eax, eax
jmp 0x40c076
push 1
pop eax
pop edi
pop esi
leave
ret

Function at 0x40c29c
Capabilities:
Resolve dns

Disassembly:
push dword [esp + 4]
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x40c2c4
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call sub.WS2_32.dll_inet_ntoa
push eax
push dword [esp + 8]
call fcn.00411780
pop ecx
pop ecx
push 1
pop eax
ret 4

Function at 0x40cf3c
Capabilities:
Create process on windows

Disassembly:
push esi
push edi
xor esi, esi
push 5
push esi
push esi
push str.http:__www.wg1818.com_
push str.open
mov edi, ecx
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push dword [esp + 0x18]
mov ecx, edi
push esi
push esi
push esi
call fcn.0040ced9
pop edi
xor eax, eax
pop esi
ret 0x10
Function at 0x40e0d0
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
test esi, esi
push edi
je 0x40e20d
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x10
jae 0x40e20d
mov edi, dword [esp + 0x18]
test edi, edi
je 0x40e20d
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x10
jae 0x40e20d
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x40e20d
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x10
jae 0x40e20d
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x40e20d
mov eax, dword [0x45f9f0]
test eax, eax
jne 0x40e150
pop edi
pop esi
pop ebp
mov eax, 0xffffff9b
pop ebx
ret
push 0x38
call fcn.00411622
mov edx, eax
add esp, 4
test edx, edx
jne 0x40e16a
pop edi
pop esi
pop ebp
mov eax, 0xfffffc7b
pop ebx
ret
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x18]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea esi, [edx + 0x10]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x18], esi
mov esi, edi
mov edi, dword [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea esi, [edx + 0x20]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x18], esi
mov esi, edi
mov edi, dword [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx]
mov dword [edx + 0x30], ecx
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x14]
mov dword [edx + 0x34], eax
push ecx
push 0
push edx
push 0x40e220
push 0
push 0
call fcn.00413175
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 0xffffff9a
pop ebx
ret

Function at 0x40e3a0
Capabilities:
Create thread

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
test edi, edi
jne 0x40e3b2
pop edi
mov eax, 0xffffff9a
pop esi
ret
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x40e3c2
pop edi
mov eax, 0xffffff9a
pop esi
ret
mov eax, dword [0x45f9f0]
test eax, eax
jne 0x40e3d3
pop edi
mov eax, 0xffffff9b
pop esi
ret
push 0xc
call fcn.00411622
add esp, 4
test eax, eax
jne 0x40e3e9
pop edi
mov eax, 0xfffffc7b
pop esi
ret
mov dword [eax], edi
mov ecx, dword [esi]
mov dword [eax + 4], ecx
mov edx, dword [esi + 4]
lea ecx, [esp + 0xc]
mov dword [eax + 8], edx
push ecx
push 0
push eax
push 0x40e420
push 0
push 0
call fcn.00413175
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
ret
Function at 0x40e450
Capabilities:
Create thread

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
test edi, edi
jne 0x40e462
pop edi
mov eax, 0xffffff9a
pop esi
ret
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x40e472
pop edi
mov eax, 0xffffff9a
pop esi
ret
mov eax, dword [0x45f9f0]
test eax, eax
jne 0x40e483
pop edi
mov eax, 0xffffff9b
pop esi
ret
push 0xc
call fcn.00411622
add esp, 4
test eax, eax
jne 0x40e499
pop edi
mov eax, 0xfffffc7b
pop esi
ret
mov dword [eax], edi
mov ecx, dword [esi]
mov dword [eax + 4], ecx
mov edx, dword [esi + 4]
lea ecx, [esp + 0xc]
mov dword [eax + 8], edx
push ecx
push 0
push eax
push 0x40e4d0
push 0
push 0
call fcn.00413175
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
ret
Function at 0x449630
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4bd80b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004addf2
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4496b2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004ab6dd
mov eax, dword [eax]
push 0x538214
push eax
call fcn.0049e334
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004ae07d
test bl, bl
je 0x4496b2
push 0x538214
lea ecx, [esp + 0xc]
call fcn.004ae459
push 0x53bdb4
lea ecx, [esp + 0xc]
call fcn.004ae459
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4496ee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004ae07d
jmp 0x4497b9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x449772
lea edx, [esp + 0x7c]
push 0x53bdb0
push edx
call fcn.0049e334
add esp, 8
test eax, eax
je 0x449772
lea eax, [esp + 0x7c]
push 0x53bdac
push eax
call fcn.0049e334
add esp, 8
test eax, eax
je 0x449772
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x449702
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004ae07d
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x449fb0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x44a012
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc