joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412fb0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
cmp byte [edi + 0x15], 0
je 0x412fc6
mov eax, 0x80004004
pop edi
pop ebp
ret 4
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x41302e
cmp byte [esi], 0
je 0x41302e
push esi
lea ecx, [edi + 0xc]
call fcn.004116e0
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [edi + 8], eax
cmp eax, 0xffffffff
jne 0x413026
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x413001
pop esi
mov eax, 0x80004005
pop edi
pop ebp
ret 4
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
push eax
mov dword [edi + 8], eax
call dword [sym.imp.WS2_32.dll_htonl]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
test eax, eax
je 0x413026
push eax
lea ecx, [edi + 0x10]
call fcn.004116e0
pop esi
xor eax, eax
pop edi
pop ebp
ret 4
pop esi
mov eax, 0x80070057
pop edi
pop ebp
ret 4

Function at 0x413040
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x413065
cmp byte [ecx], 0
je 0x413065
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 8]
test eax, eax
jne 0x4130e8
cmp dword [esi + 4], 0xffffffff
jne 0x413076
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
test eax, eax
jne 0x4130e8
cmp byte [esi + 0x15], 0
je 0x413088
mov eax, 0x80004004
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi]
push dword [ebp + 0xc]
mov ecx, esi
call dword [eax + 0x34]
mov eax, dword [esi + 8]
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, 2
mov word [ebp - 0x10], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0xe], ax
push 0x10
lea eax, [ebp - 0x10]
push eax
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4130e2
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x4130e2
cmp eax, 0x2734
je 0x4130e2
mov eax, 0x80004005
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov byte [esi + 0x14], 1
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x413160
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, ecx
xor ebx, ebx
xor esi, esi
mov dword [ebp - 4], eax
test edi, edi
je 0x4131ca
cmp byte [eax + 0x15], 0
jne 0x4131bf
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
mov dword [ebp + 0xc], eax
mov edx, dword [ecx]
mov eax, edi
sub eax, esi
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call dword [edx + 0x20]
test eax, eax
jle 0x4131a6
add esi, eax
cmp esi, edi
je 0x4131ca
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 0xc]
add ebx, eax
cmp ebx, dword [ebp + 0x10]
jge 0x4131ca
cmp esi, edi
jae 0x4131ca
mov eax, dword [ebp - 4]
jmp 0x413177
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x413220
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, ecx
xor esi, esi
xor ebx, ebx
mov dword [ebp - 4], eax
test edi, edi
je 0x41328a
cmp byte [eax + 0x15], 0
jne 0x41327f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
mov dword [ebp + 0xc], eax
mov edx, dword [ecx]
mov eax, edi
sub eax, esi
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call dword [edx + 0x1c]
test eax, eax
jle 0x413266
add esi, eax
cmp esi, edi
je 0x41328a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 0xc]
add ebx, eax
cmp ebx, dword [ebp + 0x10]
jge 0x41327f
cmp esi, edi
jae 0x41328a
mov eax, dword [ebp - 4]
jmp 0x413237
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4132f0
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 4], 0xffffffff
je 0x413302
mov eax, dword [esi]
call dword [eax + 0x10]
push 0
push 1
push 2
mov word [esi + 0x14], 0
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x413348
lea ecx, [ebp - 4]
push ecx
push 0x8004667e
push eax
mov dword [ebp - 4], 1
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x413352
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 4], 0xffffffff
mov eax, 0x80004005
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x413360
Capabilities:
Check for time delay via gettickcount
Connect socket
Get socket status

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 0x10]
push edi
test ecx, ecx
je 0x41338d
cmp byte [ecx], 0
je 0x41338d
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 8]
test eax, eax
jne 0x4134dd
cmp dword [esi + 4], 0xffffffff
jne 0x4133a2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
test eax, eax
jne 0x4134dd
cmp byte [esi + 0x15], 0
jne 0x4134d8
mov eax, dword [esi + 8]
push dword [ebp + 8]
mov dword [esp + 0x20], eax
mov eax, 2
mov word [esp + 0x1c], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x1a], ax
push 0x10
lea eax, [esp + 0x1c]
push eax
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x413402
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x413402
cmp eax, 0x2734
je 0x413402
mov eax, 0x80004005
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [ebp + 0xc]
mov ebx, dword [sym.imp.WS2_32.dll___WSAFDIsSet]
mov dword [esp + 0xc], eax
cmp byte [esi + 0x15], 0
jne 0x4134d8
mov eax, dword [esi + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x134], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x134]
push eax
lea eax, [esp + 0x30]
push eax
push 0
push 0
mov dword [esp + 0x3c], 1
mov dword [esp + 0x144], 1
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0x2dc6c0
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
je 0x4133f4
test eax, eax
je 0x41349a
lea eax, [esp + 0x28]
push eax
push dword [esi + 4]
call ebx
test eax, eax
jne 0x4134c9
lea eax, [esp + 0x130]
push eax
push dword [esi + 4]
call ebx
test eax, eax
jne 0x4133f4
jmp 0x4134a0
cmp byte [esi + 0x15], 0
jne 0x4134d8
cmp edi, 0xffffffff
je 0x413415
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0xc]
cmp edi, eax
jg 0x413415
mov eax, 0x8001011f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov byte [esi + 0x14], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, 0x80004004
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4134f0
Capabilities:
Check for time delay via gettickcount
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push esi
mov esi, ecx
cmp dword [esi + 4], 0xffffffff
je 0x4135f2
cmp byte [esi + 0x14], 0
je 0x4135f2
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [ebp + 0x10]
mov ebx, dword [sym.imp.WS2_32.dll___WSAFDIsSet]
mov dword [ebp - 4], eax
cmp byte [esi + 0x15], 0
jne 0x4135be
mov eax, dword [esi + 4]
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
lea eax, [ebp - 0x110]
push eax
push 0
mov dword [ebp - 0x110], 1
mov dword [ebp - 0x214], 1
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0x2dc6c0
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
je 0x4135be
test eax, eax
je 0x4135a4
lea eax, [ebp - 0x110]
push eax
push dword [esi + 4]
call ebx
test eax, eax
jne 0x4135c9
lea eax, [ebp - 0x214]
push eax
push dword [esi + 4]
call ebx
test eax, eax
jne 0x4135be
cmp edi, 0xffffffff
je 0x413524
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 4]
cmp edi, eax
jg 0x413524
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
cmp byte [esi + 0x15], 0
jne 0x4135be
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_recv]
xor ecx, ecx
test eax, eax
pop edi
cmovg ecx, eax
pop ebx
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x413650
Capabilities:
Check for time delay via gettickcount
Get socket status
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push esi
mov esi, ecx
cmp dword [esi + 4], 0xffffffff
je 0x413752
cmp byte [esi + 0x14], 0
je 0x413752
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [ebp + 0x10]
mov ebx, dword [sym.imp.WS2_32.dll___WSAFDIsSet]
mov dword [ebp - 4], eax
cmp byte [esi + 0x15], 0
jne 0x41371e
mov eax, dword [esi + 4]
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x110]
push eax
push 0
push 0
mov dword [ebp - 0x110], 1
mov dword [ebp - 0x214], 1
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0x2dc6c0
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
je 0x41371e
test eax, eax
je 0x413704
lea eax, [ebp - 0x110]
push eax
push dword [esi + 4]
call ebx
test eax, eax
jne 0x413729
lea eax, [ebp - 0x214]
push eax
push dword [esi + 4]
call ebx
test eax, eax
jne 0x41371e
cmp edi, 0xffffffff
je 0x413684
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 4]
cmp edi, eax
jg 0x413684
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
cmp byte [esi + 0x15], 0
jne 0x41371e
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_send]
xor ecx, ecx
test eax, eax
pop edi
cmovg ecx, eax
pop ebx
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4188d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x4188e5
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
jmp 0x4188f0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4188f0
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push 1
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x418970
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test ebx, ebx
jne 0x418989
lea eax, [ebx + 0xd]
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push edi
xor esi, esi
mov edx, ebx
nop
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418995
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
lea edx, [edx + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x418990
mov eax, dword [ebp - 4]
push esi
push ebx
push 7
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x419a20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x454d86
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x418
push ebx
push esi
push edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x42c], 0
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x18], 0
mov esi, dword [ebp + 8]
push 0x60
push 0
mov byte [esp + 0x434], 1
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push esi
call ebx
mov edi, eax
test edi, edi
jne 0x419aa1
push 2
push eax
push esi
call ebx
mov edi, eax
test edi, edi
jne 0x419aa1
call fcn.0041f110
mov esi, eax
jmp 0x419b53
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x419abe
call fcn.0041f110
jmp 0x419b46
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x419ad3
call fcn.0041f110
jmp 0x419b46
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x419aeb
mov esi, 0x8007000e
jmp 0x419b48
push eax
lea ecx, [esp + 0x1c]
call fcn.00418250
mov dword [esp + 0x42c], 1
cmp dword [esp + 0x18], 0
jne 0x419b0e
mov esi, 0x8007000e
jmp 0x419b48
push esi
push dword [esp + 0x1c]
push esi
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x419b2c
call fcn.0041f110
jmp 0x419b46
mov eax, dword [esp + 0x18]
push dword [ebp + 0x14]
xor edx, edx
mov word [eax + ecx*2], dx
push dword [esp + 0x1c]
lea ecx, [esp + 0x14]
call fcn.004198e0
mov esi, eax
test edi, edi
je 0x419b53
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [esp + 0x1c]
cmp dword [esp + 0x18], eax
je 0x419b66
lea ecx, [esp + 0x18]
call fcn.00418200
mov ecx, dword [esp + 0x424]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4202f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454e5d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov word [esi + 0x14], 0
mov dword [esi + 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x24], vtable.CEngineObjectManager.0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 1
mov byte [ebp - 4], 1
mov dword [esi], vtable.CEngine.1.0
mov dword [esi + 0x24], vtable.CEngine.0
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x44], eax
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x48], eax
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x54], eax
mov byte [ebp - 4], 2
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x58], eax
mov byte [ebp - 4], 3
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x5c], eax
mov dword [esi + 0x68], vtable.CStyleSheet.0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x88], vtable.CLoadSkin.0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
push 0x28
mov byte [ebp - 4], 6
call fcn.0043df34
add esp, 4
test eax, eax
je 0x420478
push 0
mov ecx, eax
call fcn.00435af0
jmp 0x42047a
xor eax, eax
push 0x28
mov dword [esi + 0x38], eax
call fcn.0043df34
add esp, 4
test eax, eax
je 0x420496
push 1
mov ecx, eax
call fcn.00435af0
jmp 0x420498
xor eax, eax
mov dword [esi + 0x3c], eax
mov byte [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x34], 0
mov byte [esi + 0x84], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0xb0], eax
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x420df0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x454d58
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
push esi
push edi
test ecx, ecx
jne 0x420e32
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov dword [ebp - 0x10], 0
lea edx, [ebp - 0x10]
mov dword [ebp - 4], 0
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x1c]
push dword [ebp - 0x10]
mov ecx, ebx
call fcn.00420d90
mov edi, eax
test edi, edi
je 0x420e8f
mov ecx, dword [edi + 4]
cmp ecx, 0x18
je 0x420e67
cmp ecx, 0x19
jne 0x420eb4
lea eax, [ebp - 0x128]
push eax
mov dword [ebp - 0x128], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x124], 6
mov ecx, dword [edi + 4]
jne 0x420eaf
cmp ecx, 0x18
jne 0x420eb4
xor ebx, ebx
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp ecx, 0x19
je 0x420e8f
cmp ecx, 1
jne 0x420ec1
lea ecx, [ebx + 0x68]
call fcn.00435400
cmp byte [ebx + 0x60], 0
je 0x420ecd
cmp byte [edi + 0xa], 0
jne 0x420e8f
mov eax, dword [ebx + 0x64]
push str.Caption
cmp byte [eax], 0
push dword [ebp - 0x10]
je 0x420eee
call fcn.0043cb2c
add esp, 8
test eax, eax
je 0x420e8f
mov esi, dword [ebp + 0x1c]
jmp 0x420f18
call fcn.0043cb2c
add esp, 8
test eax, eax
jne 0x420eff
lea esi, [eax + 1]
jmp 0x420f18
push str._Caption
push dword [ebp - 0x10]
call fcn.0043cb2c
add esp, 8
mov esi, eax
neg esi
sbb esi, esi
and esi, dword [ebp + 0x1c]
mov ecx, dword [edi + 4]
mov edx, dword [ebp + 0x18]
xor eax, eax
test ecx, ecx
je 0x420f41
push eax
push edi
push edx
push dword [ebp + 0x14]
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push ecx
push esi
mov ecx, ebx
call fcn.00420f70
mov edx, dword [ebp + 0x18]
mov ecx, eax
jmp 0x420f44
mov ecx, dword [ebp + 0xc]
cmp byte [edi + 8], 0
je 0x420e8f
xor edi, edi
test eax, eax
cmovne esi, edi
push esi
push edx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ecx
push dword [ebp + 8]
mov ecx, ebx
call fcn.00420c10
mov ebx, eax
jmp 0x420e91
Function at 0x422510
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 8
push ebx
mov ebx, ecx
push esi
push edi
mov byte [ebx + 0x29], dl
test dl, dl
je 0x42253b
mov ecx, dword [ebx + 8]
mov byte [ebx + 0x2b], 0
call fcn.00415e60
mov edx, dword [ebp + 8]
mov dword [ebx + 0x70], 0
mov esi, dword [ebx + 0x84]
mov edi, dword [ebx + 0x88]
cmp esi, edi
je 0x4225ad
jmp 0x422550
mov ecx, dword [esi]
mov dword [ebp - 4], ecx
cmp dword [ecx + 0x1c], 1
je 0x4225a6
mov eax, dword [ecx]
push edx
call dword [eax + 0x5c]
mov edx, dword [ebp + 8]
test dl, dl
je 0x4225a6
mov eax, dword [ebx + 0x1dc]
mov dword [ebp - 8], eax
test eax, eax
je 0x4225a6
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 8]
add ecx, 0xb4
call fcn.00401610
cmp dword [ebx + 0x1d4], 0
lea ecx, [ebx + 0x1d4]
je 0x4225a3
mov eax, dword [ebp - 4]
push dword [eax + 0x10]
push dword [ebp - 8]
call fcn.00426940
mov edx, dword [ebp + 8]
add esi, 4
cmp esi, edi
jne 0x422550
test dl, dl
je 0x42262c
push dword [ebp + 8]
lea ecx, [ebx + 0x90]
push dword [ebx + 0x88]
push dword [ebx + 0x84]
push dword [ebx + 0x94]
call fcn.00426030
mov eax, dword [ebx + 0x84]
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x9c]
mov dword [ebx + 0xa0], eax
mov eax, dword [ebx + 0xa8]
mov dword [ebx + 0xac], eax
mov eax, dword [ebx + 0xb4]
mov dword [ebx + 0xb8], eax
mov eax, dword [ebx + 0xc0]
mov dword [ebx + 0xc4], eax
mov eax, dword [ebx + 0xcc]
pop edi
mov dword [ebx + 0xd0], eax
pop esi
mov dword [ebx + 0xd8], 0
pop ebx
mov esp, ebp
pop ebp
ret 4
mov byte [ebx + 0x258], 0
mov esi, dword [ebx + 0x90]
mov edi, dword [ebx + 0x94]
cmp esi, edi
je 0x422666
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
lea esp, [esp]
mov eax, dword [esi]
cmp byte [eax + 0x64], 0
je 0x42265f
push 0
push dword [eax + 0x60]
call ebx
add esi, 4
cmp esi, edi
jne 0x422650
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x423150
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454f38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x10], ebx
call fcn.00424200
mov dword [ebx], vtable.CWindowUI.0
mov dword [ebx + 0x80], vtable.CWindowUI.1.0
mov word [ebx + 0x64], 1
lea ecx, [ebx + 0x188]
mov dword [ebp - 4], 0
call fcn.00426a50
mov dword [ebx + method.CToolTipManager.virtual_0], vtable.CToolTipManager.0
mov dword [ebx + 0x1d4], 0
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [ebx + 0x1dc], 0
mov dword [ebx + 0x1ec], 0
mov dword [ebx + 0x1f0], 0
mov dword [ebx + 0x1f4], 0
mov dword [ebx + 0x1f8], eax
mov dword [ebx + method.std::error_category.virtual_4], vtable.CUIWindowImpl_class_CUIWindowBase__class_ATL::CWindow__class_ATL::CWinTraits_1442840576__0__.0
lea esi, [ebx + 0x200]
mov dword [ebp - 0x14], esi
mov dword [esi], vtable.CUIMenu.0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 5
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
call fcn.0042a070
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x28], eax
mov dword [esi + 0x14], 0
mov word [esi + 0xc], 0x101
mov dword [esi + 0x38], 0
mov byte [esi + 0x30], 0
mov dword [esi + 0x34], 1
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [esi + 0x18], 0
mov dword [ebx + method.CDoDataExchange.virtual_0], vtable.CDoDataExchange.0
pop edi
mov dword [esi], vtable.CUIWindowBase.2.0
mov dword [ebx], vtable.CUIWindowBase.0
mov dword [ebx + 0x80], vtable.CUIWindowBase.6.0
mov dword [ebx + method.CUIWindowBase.5.virtual_0], vtable.CUIWindowBase.5.0
mov dword [ebx + method.CUIWindowBase.4.virtual_0], vtable.CUIWindowBase.4.0
mov dword [ebx + method.CMainFrame.3.virtual_0], vtable.CUIWindowBase.3.0
mov dword [ebx + method.CUIWindowBase.1.virtual_0], vtable.CUIWindowBase.1.0
mov dword [ebx + 0x248], 0
mov dword [ebx + 0x24c], 0
mov dword [ebx + 0x250], 0
mov word [ebx + 0x258], 0x100
mov dword [ebx + 0x254], 0
mov dword [ebx + 0x25c], 0
mov dword [ebx + 0x260], 1
mov dword [ebx + 0x264], 0
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4252f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45504d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CObjectContainer.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov byte [ebp - 4], 6
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
call fcn.00415720
mov dword [esi + 0x5c], eax
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x28]
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x34]
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x40]
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0x4c]
mov dword [esi + 0x50], eax
mov dword [esi + 0x58], 0
mov dword [esi + 0x70], 1
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret