joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446b40
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x49a324]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x446bc9
cmp dword [esi + 0x10], 0
je 0x446bc9
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.0045f600
mov ebx, esp
test ebx, ebx
je 0x446bc9
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1c8
call fcn.0040bd90
mov ecx, dword [esi + 0x10]
push 0
push 0
push 0
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0040a740
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00406400
test al, al
je 0x446bc9
mov ecx, dword [esi + 0x10]
call fcn.00417d60
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045edac
mov esp, ebp
pop ebp
ret 0x10
Function at 0x44c8c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a46b
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x49a324]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi + 0x10], eax
mov dword [eax + 0x588], 0
cmp dword [edi + 4], 0
jne 0x44c9f2
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
call eax
push eax
lea ecx, [ebp - 0x20]
call fcn.0040b930
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov esi, eax
test esi, esi
je 0x44c996
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xf4]
call eax
test al, al
je 0x44c97a
mov eax, dword [esi]
lea ecx, [ebp - 0x44]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x4c]
call eax
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
push eax
movups xmmword [ebp - 0x30], xmm0
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x44c97a
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x24]
call eax
mov esi, eax
test esi, esi
jne 0x44c932
jmp 0x44c996
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov ecx, dword [edi + 0x10]
movups xmm0, xmmword [ebp - 0x20]
push 0
sub esp, 0x10
mov eax, esp
push 0
movups xmmword [eax], xmm0
mov eax, dword [ecx]
push 0x40000000
push 0
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.00406010
push eax
mov ecx, edi
call fcn.0045e230
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.00441580
push eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.00405c90
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0xc8]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0040c9f0
lea ecx, [ebp - 0xc8]
mov byte [ebp - 0x31], al
call fcn.0040bc20
cmp byte [ebp - 0x31], 0
je 0x44ca34
mov eax, dword [edi + 0x10]
add eax, 0x578
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [edi + 0x10]
add eax, 0x578
push eax
push 0
push 0x1002
movups xmm0, xmmword [eax]
push dword [edi + 4]
movups xmmword [edi + 0x1a], xmm0
call esi
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045edac
mov esp, ebp
pop ebp
ret 4
Function at 0x44cfb0
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x294
mov eax, dword [0x49a324]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x294]
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
test eax, eax
jne 0x44d04a
push 0xff
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.00461a60
add esp, 0xc
lea eax, [ebp - 0x104]
push 0xff
push eax
call sub.WS2_32.dll_gethostname
lea eax, [ebp - 0x104]
push eax
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x44d04a
mov eax, dword [eax + 0xc]
push ebx
mov eax, dword [eax]
mov ebx, dword [eax]
mov eax, ebx
shr eax, 8
mov ecx, ebx
movzx edx, al
movzx eax, bl
shl eax, 8
add eax, edx
shr ecx, 0x10
shl eax, 8
movzx ecx, cl
add eax, ecx
shr ebx, 0x18
shl eax, 8
add eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045edac
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0045edac
mov esp, ebp
pop ebp
ret

Function at 0x44d190
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a52b
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x49a324]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi + 0x10], eax
mov dword [eax + 0x580], 0
cmp dword [edi + 4], 0
jne 0x44d26a
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 8
push eax
mov dword [ebp - 0x14], 0x800
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
test eax, eax
je 0x44d23e
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
call eax
push eax
lea ecx, [ebp - 0x28]
call fcn.0040b930
mov ecx, dword [edi + 0x10]
movups xmm0, xmmword [ebp - 0x28]
push 0
sub esp, 0x10
mov eax, esp
push 0
movups xmmword [eax], xmm0
mov eax, dword [ecx]
push 0x40030000
push 0
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.00406010
push eax
mov ecx, edi
call fcn.0045e230
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.00441580
push eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.00405c90
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0xb0]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0040c9f0
lea ecx, [ebp - 0xb0]
mov byte [ebp - 0x29], al
call fcn.0040bc20
cmp byte [ebp - 0x29], 0
je 0x44d2ab
call fcn.0044cfb0
mov ecx, dword [edi + 0x10]
mov dword [ecx + 0x578], eax
mov eax, dword [edi + 0x10]
push dword [eax + 0x578]
push 0
push 0x465
push dword [edi + 4]
call esi
push 5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045edac
mov esp, ebp
pop ebp
ret 4
Function at 0x44d330
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetFocus]
push esi
push edi
mov edi, ecx
call ebx
mov esi, eax
test esi, esi
je 0x44d35a
call ebx
cmp eax, dword [edi + 4]
je 0x44d3ba
push esi
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
test esi, esi
jne 0x44d346
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov ecx, dword [edi + 0x10]
mov esi, eax
cmp dword [ecx + 0x580], 0
jne 0x44d3a6
add ecx, 0x578
push ecx
push 0
push 0x466
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0x10]
mov dword [eax + 0x580], 1
mov ecx, dword [edi + 0x10]
call fcn.0044d3e0
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0x10
mov eax, dword [ebp + 0x14]
pop edi
pop esi
pop ebx
mov dword [eax], 1
xor eax, eax
pop ebp
ret 0x10

Function at 0x452e80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00439180

Function at 0x452e89
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x6c0
jmp method.DuiLib::CMenuUI.virtual_312

Function at 0x454510
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x10
mov edx, dword [ebp + 8]
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 0x18]
push edi
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebx + 0x6d0], edx
mov dword [ebx + 0x6d4], 0
mov dword [ebx + 0x6d8], eax
test edx, edx
jne 0x454571
call fcn.004540a0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
mov edi, dword [ebp + 0x1c]
test edi, edi
je 0x454571
call fcn.004540a0
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x14]
call fcn.004540a0
lea ecx, [ebx + 0x10]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebx + 0x6d0]
test ecx, ecx
je 0x454591
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov esi, eax
mov ecx, esi
call fcn.00406010
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.0040b980
push 0
sub esp, 0x10
mov ecx, esp
movups xmm0, xmmword [eax]
push 0x88
push SysReAllocString
push 0
movups xmmword [ecx], xmm0
push esi
mov ecx, ebx
call fcn.0045e230
mov esi, dword [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push esi
call edi
test eax, eax
je 0x4545df
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x4545d3
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x45b150
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x49a324]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
mov dword [ebp - 0x210], ebx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov esi, dword [ebp + 0xc]
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
add esi, 0xffffffdf
mov edi, eax
cmp esi, 0xd
ja case.0x45b195.41
movzx eax, byte [esi + 0x45b1fc]
jmp dword [eax*4 + 0x45b1f4]
or edi, 0x100
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00461a60
add esp, 0xc
shl edi, 0x10
lea eax, [ebp - 0x20c]
push 0x104
push eax
push edi
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.0040ba90
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045edac
mov esp, ebp
pop ebp
ret 0xc

Function at 0x45b19c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x49a324]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
mov dword [ebp - 0x210], ebx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov esi, dword [ebp + 0xc]
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
add esi, 0xffffffdf
mov edi, eax
cmp esi, 0xd
ja case.0x45b195.41
movzx eax, byte [esi + 0x45b1fc]
jmp dword [eax*4 + 0x45b1f4]
or edi, 0x100
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00461a60
add esp, 0xc
shl edi, 0x10
lea eax, [ebp - 0x20c]
push 0x104
push eax
push edi
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.0040ba90
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045edac
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45b580
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b28b
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push esi
push edi
mov eax, dword [0x49a324]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [edi + 0x10], eax
test eax, eax
je 0x45b6c3
lea eax, [ebp - 0x1c]
push eax
call fcn.0045a940
mov ecx, dword [edi + 0x10]
movups xmm0, xmmword [ebp - 0x1c]
push 0
sub esp, 0x10
mov eax, esp
push 0
movups xmmword [eax], xmm0
mov eax, dword [ecx]
push 0x40000080
push 0
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.00406010
push eax
mov ecx, edi
call fcn.0045e230
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45b6c3
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.00441580
push eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.00405c90
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call esi
mov eax, dword [edi + 0x10]
push 0
movzx ecx, word [eax + 0x796]
movzx eax, word [eax + 0x794]
movzx ecx, cl
shl ecx, 8
movzx eax, al
or ecx, eax
push ecx
push 0x401
push dword [edi + 4]
call esi
lea eax, [ebp - 0xa0]
mov ecx, edi
push eax
call fcn.0045ae00
mov ecx, dword [edi + 0x10]
push eax
add ecx, 0x1c8
mov dword [ebp - 4], 0
call fcn.0040bcd0
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], 0xffffffff
call fcn.0040bc20
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x100]
call eax
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x45d820
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4787ae
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x49a324]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov edx, eax
shr edx, 0x10
test edx, edx
je 0x45d89a
cmp word [eax], 0x3c
je 0x45d89a
mov ecx, dword fs:[0x2c]
mov edx, dword [0xe32bf4]
mov edx, dword [ecx + edx*4]
mov ecx, dword [0xe329f8]
cmp ecx, dword [edx + 4]
jg 0x45d9a7
jmp 0x45d881
mov eax, dword [ebp + 8]
mov ecx, dword [0xe329f4]
push eax
call fcn.00415bb0
mov ecx, eax
mov eax, dword [ebp + 8]
test ecx, ecx
cmovne eax, ecx
mov dword [ebp + 8], eax
mov ecx, eax
shr ecx, 0x10
test ecx, ecx
je 0x45d8f5
cmp word [eax], 0x3c
mov ecx, esi
jne 0x45d8cf
push eax
call fcn.004308c0
test al, al
jne 0x45d983
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 0
push eax
call fcn.004309d0
test al, al
jne 0x45d983
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ebx, dword [esi + 0x148]
test ebx, ebx
jne 0x45d909
call fcn.00406030
mov ebx, eax
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x45d8b9
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x45d946
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x10]
push 0
push edi
push ebx
mov dword [esi + 0x140], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov ecx, esi
call fcn.00430df0
test al, al
je 0x45d8b9
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x144], eax
push dword [ebp + 0x18]
mov ecx, esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.0045c6b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 0xe329f8
call fcn.0045f4e7
add esp, 4
cmp dword [0xe329f8], 0xffffffff
jne 0x45d87e
push 0x1f8
mov dword [ebp - 4], 0
call fcn.0045edc2
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 1
test edi, edi
je 0x45d9fb
push 0x1f8
push 0
push edi
call fcn.00461a60
add esp, 0xc
mov ecx, edi
call fcn.00415880
jmp 0x45d9ff
xor eax, eax
jmp 0x45d9ff
push 0xe329f8
mov dword [0xe329f4], eax
mov dword [ebp - 4], 0xffffffff
call fcn.0045f49d
add esp, 4
jmp 0x45d87e
Function at 0x45e2c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45e305
cmp byte [ebp + 8], 0
je 0x45e2f9
cmp byte [ebp + 0xc], 0
mov ecx, 1
mov eax, 4
cmovne eax, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
xor eax, eax
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8

Function at 0x470812
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00470691
Function at 0x406800
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x41dadb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x4045ac
call fcn.00409394
push 4
mov dword [esp + 0x18], 0
call fcn.0040aa36
mov edi, eax
add esp, 4
test edi, edi
je 0x406874
push ebx
call fcn.0040918f
mov dword [edi], eax
call fcn.00408f4e
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00409355
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406868
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.0040937d
pop ebx
jmp 0x406876
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x40b52e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4213dc]
jne 0x40b538
repz ret
jmp fcn.004114cc
Function at 0x416bc3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4213dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040f9ae
and dword [ebp - 0x14], 0
cmp dword [0x81e374], 0
mov dword [ebp - 0x18], eax
jne 0x416c76
push 0x403fe0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x416d1e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403fd4
push ebx
call edi
test eax, eax
je 0x416d1e
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403fc4
push ebx
mov dword [0x81e374], eax
call edi
push eax
call esi
push 0x403fb0
push ebx
mov dword [0x81e378], eax
call edi
push eax
call esi
push 0x403f94
push ebx
mov dword [0x81e37c], eax
call edi
push eax
call esi
mov dword [0x81e384], eax
test eax, eax
je 0x416c76
push 0x403f7c
push ebx
call edi
push eax
call esi
mov dword [0x81e380], eax
mov eax, dword [0x81e380]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x416ccf
cmp dword [0x81e384], ecx
je 0x416ccf
push eax
call esi
push dword [0x81e384]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x416ccf
test ebx, ebx
je 0x416ccf
call edi
test eax, eax
je 0x416cc6
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x416cc6
test byte [ebp - 8], 1
jne 0x416ccf
or dword [ebp + 0x10], 0x200000
jmp 0x416d02
mov eax, dword [0x81e378]
cmp eax, dword [ebp - 0x18]
je 0x416d02
push eax
call esi
test eax, eax
je 0x416d02
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x416d02
mov eax, dword [0x81e37c]
cmp eax, dword [ebp - 0x18]
je 0x416d02
push eax
call esi
test eax, eax
je 0x416d02
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x81e374]
call esi
test eax, eax
je 0x416d1e
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x416d20
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b52e
leave
ret
Function at 0x4030a8
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [eax]
mov eax, dword [eax + 4]
push esi
xor esi, esi
cmp dword [0x892658], 0x594
push edi
mov dword [ebp - 8], eax
jne 0x4030de
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
mov eax, dword [0x4733b8]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x4733bc]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
call fcn.004030a1
mov eax, dword [0x4733c0]
add dword [ebp - 0x10], 0x23f
mov dword [ebp - 0x20], eax
mov eax, dword [0x4733c4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 0x20
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov eax, ebx
shl eax, 4
cmp dword [0x892658], 0xc
mov dword [ebp - 4], eax
jne 0x40316c
push esi
lea eax, [ebp - 0x830]
push eax
push 0x402d58
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
xor eax, eax
mov word [ebp - 0x1c], ax
lea edi, [ebp - 0x1a]
stosw word es:[edi], ax
push dword [ebp - 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateJobObject]
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov eax, dword [0x892658]
cmp eax, 0xfa9
jne 0x403188
mov dword [0x891bf4], 0xedeb2e40
cmp eax, 0x3eb
jne 0x403195
mov dword [0x8915a4], esi
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov edx, ebx
shr edx, cl
lea eax, [edi + ebx]
mov dword [ebp - 0x14], eax
mov dword [0x891bf0], 0xf4ea3dee
add edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
add dword [ebp - 8], 0x64
sub dword [ebp - 8], eax
sub dword [ebp - 8], 0x64
cmp dword [0x892658], 0xc
jne 0x4031eb
lea eax, [ebp - 0x14]
push eax
push esi
push esi
lea eax, [ebp - 0x30]
push eax
push esi
push esi
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_BackupRead]
mov eax, dword [ebp - 8]
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 4], eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov eax, edx
shr eax, cl
add edi, edx
add eax, dword [ebp - 0x24]
xor eax, edi
xor dword [ebp - 4], eax
sub ebx, dword [ebp - 4]
lea eax, [ebp - 0x10]
call fcn.0040309a
dec dword [ebp - 0x18]
jne 0x403117
cmp dword [0x892658], 0xa6d
mov edi, dword [ebp + 8]
mov dword [edi], ebx
jne 0x403242
push esi
push 0x402df0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov edx, dword [ebp - 8]
mov dword [edi + 4], edx
pop edi
pop esi
pop ebx
leave
ret 4