joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ffb5
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
cmp dword [esi + 0x10], 2
push edi
jne 0x440046
mov eax, dword [esi + 0x4018]
test eax, eax
je 0x43ffd7
mov ecx, dword [esi + 0x401c]
sub ecx, eax
jne 0x440046
mov eax, dword [esi + 0xc]
cmp eax, 0xffffffff
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
je 0x43fff6
push 0
push ebx
push ebp
push eax
call dword [sym.imp.WS2_32.dll_send]
mov edi, eax
jmp 0x43fff9
or edi, 0xffffffff
cmp edi, ebx
je 0x44003a
jge 0x440046
or dword [ecx + 0xd474e50], 0xa
sbb cl, byte [edx]
add byte [eax], al
add byte [0x52444849], cl
inc edi
or eax, 0xa1a0a
add byte [eax], al
or eax, 0x52444849
add byte [eax], al
add byte [edx], dh
add byte [eax], al
add byte [edx], dh
or byte [esi], al
add byte [eax], al
add byte [esi], bl
aas
mov byte [ecx + 0x5f080000], dh
dec ecx
inc esp
inc ecx
push esp
js 0x440089
aad 0x98
jge 0x44009b
sbb al, 0xc5
sbb dword [edi - 0x44266661], eax
cmc
popfd
in eax, dx
retf
pushal
inc ecx
add cl, byte [ecx]
xchg esp, eax
xchg edx, eax
adc al, 0x28
movsd dword es:[edi], dword [esi]
add dword [edx + 0x54a56d10], 0xc8ad2905
jg 0x440003
sub ah, byte [edx + 0x3fd4ad12]
pop edx
pop edx
test byte [ecx - 0x4b], dl
nop
mov dl, dh
adc dword [ecx], esp
dec ebx
xchg ebp, eax
sub al, byte [ecx]
and eax, 0x87c22349
adc ebx, edx
xchg byte [eax + 0x42], ah
push ebx
push 0x9c70f9d
jno 0x44001e
clc
jecxz 0x4400e7
out 0x7c, eax
mov esi, 0x7b7cefb3
out dx, eax
jl 0x440107
mov ebx, 0x272af533
sub al, 0xcb
dec edx
into
dec esi
insb byte es:[edi], dx
fnstcw word [esi - 0x5c]
push edi
sub ebx, dword [ebp - 0x4c2025b2]
out dx, eax
int3
cwde
xchg ecx, eax
aas
sbb ch, byte [ebp - 0x792664b]
cdq
cld
insb byte es:[edi], dx
jle 0x44013b
aas
stosd dword es:[edi], eax
lahf
sbb dword [eax], edx
add byte [edx + 0x7e59ecfb], ah
in al, dx
mov bl, 0xa5
dec edi
aas
cmc
aam 0xa7
in eax, 0xe5
sub ecx, dword [edx + 0xb994b4b]
or al, 0xa5
push edx
hlt
lcall 0x525d, 0x8059cf35
pop edx
cli
mov byte [0x618c610a], bl
loope 0x4401b4
div byte [ebx + 0x40582f03]
sub byte [esi + ecx], bl
pop edi
pop ds
or byte [esi], al
pushfd
mov byte [edi - 0x7bf13027], bl
sub al, 0xc0
aaa
or byte [eax], cl
and dword [esi + 0x4318c45c], esp
lodsb al, byte [esi]
invalid
invalid
Function at 0x440ef0
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 4]
test eax, eax
push edi
mov ebp, ecx
jne 0x440f08
xor edi, edi
jmp 0x440f0d
mov edi, dword [esi + 8]
sub edi, eax
push 0
lea eax, [edi + 0x4000]
push eax
mov ecx, esi
call fcn.004514e0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x440f2d
mov eax, dword [esi + 8]
sub eax, ecx
cmp edi, eax
jb 0x440f32
call fcn.004649a7
mov eax, dword [esi + 4]
mov ecx, dword [ebp + 0xc]
add eax, edi
cmp ecx, 0xffffffff
je 0x440fcc
push 0
push 0x4000
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
test ebx, ebx
jle 0x440fc5
cmp ebx, 0x4000
je 0x440fc3
mov eax, dword [esi + 8]
cmp dword [esi + 4], eax
mov dword [esp + 0x20], eax
jbe 0x440f71
call fcn.004649a7
mov ebp, dword [esi + 4]
cmp ebp, dword [esi + 8]
jbe 0x440f7e
call fcn.004649a7
add edi, ebp
cmp edi, dword [esi + 8]
mov dword [esp + 0x14], ebp
ja 0x440f8e
cmp edi, dword [esi + 4]
jae 0x440f93
call fcn.004649a7
mov dword [esp + 0x14], edi
add edi, ebx
cmp edi, dword [esi + 8]
mov ebp, esi
ja 0x440fa5
cmp edi, dword [esi + 4]
jae 0x440faa
call fcn.004649a7
mov ecx, dword [esp + 0x20]
push ecx
push esi
push edi
push ebp
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.0044fd50
jmp 0x441044
test ebx, ebx
je 0x441020
cmp ebx, 0xffffffff
jne 0x441044
mov eax, dword [esi + 8]
cmp dword [esi + 4], eax
mov dword [esp + 0x1c], eax
jbe 0x440fdd
call fcn.004649a7
mov ebx, dword [esi + 4]
cmp ebx, dword [esi + 8]
jbe 0x440fea
call fcn.004649a7
add edi, ebx
cmp edi, dword [esi + 8]
mov dword [esp + 0x14], ebx
ja 0x440ffa
cmp edi, dword [esi + 4]
jae 0x440fff
call fcn.004649a7
mov ecx, dword [esp + 0x1c]
push ecx
push esi
push edi
push esi
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.0044fd50
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x441044
cmp dword [ebp + 0x10], 2
jne 0x44103a
xor eax, eax
cmp byte [esp + 0x20], al
push eax
setne al
mov ecx, ebp
push eax
push 2
call fcn.00440dd0
mov edx, dword [ebp]
mov eax, dword [edx + 0xc]
mov ecx, ebp
call eax
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x441057
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8
mov eax, dword [esi + 8]
pop edi
pop esi
pop ebp
sub eax, ecx
pop ebx
add esp, 8
ret 8
Function at 0x441070
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x3c4]
mov edx, dword [eax + 0x3c0]
mov ebp, dword [edx + ecx*4]
add eax, 0x3b4
push edi
mov dword [esp + 0x10], esi
lea edi, [esi + 0x4090]
lea ebx, [ebx]
mov eax, dword [esi + 0x4034]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esi + 0x4048]
push ecx
push 0
push 0x400b
push edi
push eax
mov dword [esp + 0x2c], 0x10
call dword [sym.imp.WS2_32.dll_recvfrom]
mov ebx, eax
cmp ebx, 0xa
jbe 0x441174
cmp byte [edi], 0
jne 0x441174
cmp byte [edi + 1], 0
jne 0x441174
cmp byte [edi + 2], 0
jne 0x441174
cmp byte [edi + 3], 1
jne 0x441174
lea esi, [edi + 0xa]
test esi, esi
lea eax, [ebx - 0xa]
je 0x441170
cmp eax, 0x34
jbe 0x441170
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
cmp eax, 0x34
jbe 0x441170
lea ecx, [ebx - 0xa]
cmp eax, ecx
ja 0x441170
cmp eax, 0x4000
jae 0x441170
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
cmp eax, 0x12dd668
jne 0x441170
mov ecx, esi
call 0x43cfe0
mov edx, dword [edi + 4]
push 0x4000
mov dword [ebp + 9], edx
mov ax, word [edi + 8]
lea ecx, [ebp + 0xf]
push esi
push ecx
mov word [ebp + 0xd], ax
mov dword [ebp], 3
mov byte [ebp + 8], 0
call fcn.00464d80
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ebp
call fcn.00440e50
mov esi, dword [esp + 0x10]
cmp ebx, 0x400b
je 0x4410a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret

Function at 0x441075
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x3c4]
mov edx, dword [eax + 0x3c0]
mov ebp, dword [edx + ecx*4]
add eax, 0x3b4
push edi
mov dword [esp + 0x10], esi
lea edi, [esi + 0x4090]
lea ebx, [ebx]
mov eax, dword [esi + 0x4034]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esi + 0x4048]
push ecx
push 0
push 0x400b
push edi
push eax
mov dword [esp + 0x2c], 0x10
call dword [sym.imp.WS2_32.dll_recvfrom]
mov ebx, eax
cmp ebx, 0xa
jbe 0x441174
cmp byte [edi], 0
jne 0x441174
cmp byte [edi + 1], 0
jne 0x441174
cmp byte [edi + 2], 0
jne 0x441174
cmp byte [edi + 3], 1
jne 0x441174
lea esi, [edi + 0xa]
test esi, esi
lea eax, [ebx - 0xa]
je 0x441170
cmp eax, 0x34
jbe 0x441170
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
cmp eax, 0x34
jbe 0x441170
lea ecx, [ebx - 0xa]
cmp eax, ecx
ja 0x441170
cmp eax, 0x4000
jae 0x441170
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
cmp eax, 0x12dd668
jne 0x441170
mov ecx, esi
call 0x43cfe0
mov edx, dword [edi + 4]
push 0x4000
mov dword [ebp + 9], edx
mov ax, word [edi + 8]
lea ecx, [ebp + 0xf]
push esi
push ecx
mov word [ebp + 0xd], ax
mov dword [ebp], 3
mov byte [ebp + 8], 0
call fcn.00464d80
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ebp
call fcn.00440e50
mov esi, dword [esp + 0x10]
cmp ebx, 0x400b
je 0x4410a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x441a70
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x20
push edi
mov edi, ecx
mov eax, dword [edi + 0x10]
cmp eax, 2
jne 0x441b7f
mov eax, dword [edi + 0x4018]
test eax, eax
push esi
lea esi, [edi + 0x4014]
je 0x441b6a
mov ecx, dword [esi + 8]
sub ecx, eax
je 0x441b6a
test eax, eax
push ebx
jne 0x441aab
xor ebx, ebx
jmp 0x441ab0
mov ebx, dword [esi + 8]
sub ebx, eax
test eax, eax
je 0x441abb
mov edx, dword [esi + 8]
sub edx, eax
jne 0x441ac0
call fcn.004649a7
mov eax, dword [edi + 0xc]
cmp eax, 0xffffffff
mov ecx, dword [esi + 4]
je 0x441ad8
push 0
push ebx
push ecx
push eax
call dword [sym.imp.WS2_32.dll_send]
jmp 0x441adb
or eax, 0xffffffff
mov edx, dword [esi + 4]
test edx, edx
pop ebx
jne 0x441ae7
xor ecx, ecx
jmp 0x441aec
mov ecx, dword [esi + 8]
sub ecx, edx
cmp eax, ecx
jne 0x441b10
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 4]
push edi
push eax
call fcn.0043ea90
push 0
push 0
mov ecx, esi
call fcn.004514e0
pop esi
pop edi
add esp, 0x20
ret 4
test eax, eax
jle 0x441b08
test edx, edx
je 0x441b08
mov ecx, dword [esi + 8]
sub ecx, edx
cmp eax, ecx
jae 0x441b08
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.0040b8c0
mov ecx, eax
call fcn.0040b830
mov edi, eax
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.0040b8c0
mov ecx, dword [edi + 4]
mov edx, dword [edi]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.0044fd50
pop esi
pop edi
add esp, 0x20
ret 4
mov ecx, dword [edi + 0xc]
push edi
push ecx
mov ecx, dword [edi + 4]
call fcn.0043ea90
pop esi
pop edi
add esp, 0x20
ret 4
cmp eax, 1
jne 0x441b09
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 4]
push edi
push edx
mov dword [edi + 0x10], 2
call fcn.0043ea90
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 4]
push edi
push eax
call fcn.0043f3b0
push 0
push 1
push 1
mov ecx, edi
call fcn.00440dd0
pop edi
add esp, 0x20
ret 4

Function at 0x443fb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49b528
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4b9658]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 3
push 0x4a41dc
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
call fcn.00404360
mov eax, dword [esp + 0x34]

Function at 0x458e30
Capabilities:
Encode data using xor

Disassembly:
mov word [ecx + 0x13f57c55], cs
xor eax, 0xdbf67a5c
jp 0x458dd6
fist dword [eax + 0x77ba1c7d]
inc eax
push cs
je 0x458e50
xchg edi, eax
dec esp
loop 0x458dde
Function at 0x459a80
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
xor ebx, ebx
push ebx
mov ebp, ecx
call edi
push 1
mov esi, eax
call edi
push ebx
push 0x4a252c
mov edi, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebx
je 0x459ac8
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x10]
cmp eax, ebx
jle 0x459ae3
sub eax, dword [esp + 0x18]
lea ecx, [edi - 0xe2]
lea eax, [eax + esi - 0xcd]
jmp 0x459b13
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
jle 0x459af3
add ecx, 0xffffff1e
jmp 0x459b0d
mov eax, dword [esp + 0x18]
cmp eax, edi
jge 0x459b06
add eax, 5
lea ecx, [edi - 0xe2]
jmp 0x459b13
mov ecx, dword [esp + 0x1c]
add ecx, 0x1f
lea eax, [esi - 0xcd]
mov edx, dword [ebp + 4]
push 0x10
push 0xdf
push 0xc8
push ecx
push eax
push ebx
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x45a490
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x45a4f8
mov ecx, dword [esi + 4]
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push ecx
call edi
mov eax, dword [esi + 0x2c]
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
je 0x45a4d3
mov edx, dword [eax + 4]
push edx
call ebx
test eax, eax
je 0x45a4d3
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 4]
push 0
push ecx
call edi
mov eax, dword [esi + 0x28]
test eax, eax
je 0x45a4ef
mov edx, dword [eax + 4]
push edx
call ebx
test eax, eax
je 0x45a4ef
mov eax, dword [esi + 0x28]
mov ecx, dword [eax + 4]
push 0
push ecx
call edi
add dword [0x4bbd34], 1
pop edi
pop ebx
xor eax, eax
pop esi
ret 0x10

Function at 0x45ab00
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
xor ebx, ebx
push ebx
mov ebp, ecx
call edi
push 1
mov esi, eax
call edi
push ebx
push 0x4a252c
mov edi, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebx
je 0x45ab48
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x10]
cmp eax, ebx
jle 0x45ab63
sub eax, dword [esp + 0x18]
lea ecx, [edi - 0x100]
lea eax, [eax + esi - 0xcf]
jmp 0x45ab93
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
jle 0x45ab73
add ecx, 0xffffff00
jmp 0x45ab8d
mov eax, dword [esp + 0x18]
cmp eax, edi
jge 0x45ab86
add eax, 3
lea ecx, [edi - 0x100]
jmp 0x45ab93
mov ecx, dword [esp + 0x1c]
add ecx, 1
lea eax, [esi - 0xcf]
mov edx, dword [ebp + 4]
push 0x10
push 0xff
push 0xcc
push ecx
push eax
push 0xfffffffffffffffe
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x45b030
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb2c
mov eax, dword [0x4b9658]
xor eax, esp
mov dword [esp + 0xb28], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x1c]
push edi
mov edi, ecx
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x45b078
mov ecx, dword [edi + 0x40]
sub ecx, eax
mov eax, 0xa57eb503
imul ecx
add edx, ecx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x45b07d
call fcn.004649a7
imul esi, esi, 0x630
add esi, dword [edi + 0x3c]
mov ecx, 0x18c
lea edi, [esp + 0x2f8]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x2f8]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x45b0e0
push 0x104
lea ecx, [esp + 0x92c]
push ecx
push 0
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
lea edx, [esp + 0x928]
push edx
push 0x4a4cd8
call fcn.00468619
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x100
push 0x2b4
lea eax, [esp + 0x48]
push eax
push 0
lea ecx, [esp + 0x938]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
jl 0x45b10b
mov edx, dword [esp + 0x40]
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetIconInfo]
mov eax, dword [ebx]
mov edi, dword [esp + 0x3c]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [ebx]
push edx
mov esi, eax
call dword [sym.imp.GDI32.dll_SaveDC]
push esi
call dword [sym.imp.GDI32.dll_SaveDC]
push edi
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
push eax
push 0x18
push edi
call dword [sym.imp.GDI32.dll_GetObjectW]
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push 3
push 0
push 0
push 0x10
push 0x10
push ecx
mov ecx, dword [ebx]
add edx, 0xc
push edx
add eax, 0xe
push eax
push ecx
call dword [sym.imp.USER32.dll_DrawIconEx]
push 0xffffffffffffffff
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
test esi, esi
je 0x45b1aa
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
je 0x45b1aa
xor esi, esi
mov edx, dword [ebx]
push 0xffffffffffffffff
push edx
call dword [sym.imp.GDI32.dll_RestoreDC]
mov eax, dword [esp + 0x3c]
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
push eax
call ebx
mov ecx, dword [esp + 0x38]
push ecx
call ebx
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_DestroyIcon]
test esi, esi
je 0x45b1df
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
test edi, edi
je 0x45b1e6
push edi
call ebx
mov ecx, dword [esp + 0xb34]
pop edi
pop esi
pop ebx
xor ecx, esp
call int.00464500
mov esp, ebp
pop ebp
ret 0x18
Function at 0x460f60
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push 0
push 0
push 0x465
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 0x10
Function at 0x462030
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
call fcn.00461690
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push 0
push 0
push 0x465
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 0x10
Function at 0x469fd1
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x4b9718]
je 0x469fec
inc edi
cmp edi, 0x17
jb 0x469fdd
cmp edi, 0x17
jae 0x46a16c
push ebp
push 3
call fcn.00475b02
cmp eax, 1
pop ecx
je 0x46a138
push 3
call fcn.00475b02
test eax, eax
pop ecx
jne 0x46a020
cmp dword [0x4b96e0], 1
je 0x46a138
cmp ebx, 0xfc
je 0x46a16b
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x4bc100
push ebp
call fcn.0046a33a
add esp, 0xc
test eax, eax
je 0x46a056
push esi
push esi
push esi
push esi
push esi
call fcn.00464887
add esp, 0x14
push 0x104
mov esi, 0x4bc119
push esi
push 0
mov byte [0x4bc21d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x46a09a
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0046a33a
add esp, 0xc
test eax, eax
je 0x46a09a
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00464887
add esp, 0x14
push esi
call fcn.0046a3a0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x46a0df
push esi
call fcn.0046a3a0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4bc414
push 0x4a5774
sub ecx, eax
push ecx
push eax
call fcn.00475a4f
add esp, 0x14
test eax, eax
je 0x46a0df
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00464887
add esp, 0x14
jmp 0x46a0e1
xor esi, esi
push 0x4a5770
push ebx
push ebp
call fcn.004759de
add esp, 0xc
test eax, eax
je 0x46a101
push esi
push esi
push esi
push esi
push esi
call fcn.00464887
add esp, 0x14
push dword [edi*8 + 0x4b971c]
push ebx
push ebp
call fcn.004759de
add esp, 0xc
test eax, eax
je 0x46a123
push esi
push esi
push esi
push esi
push esi
call fcn.00464887
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00475821
add esp, 0xc
jmp 0x46a16b
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x46a16b
cmp ebp, 0xffffffff
je 0x46a16b
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4b971c]
push dword [esi]
call fcn.0046a3a0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x475821
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0046975c
xor ebx, ebx
cmp dword [0x4bc850], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4758f7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4759d7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x4759d7
push eax
call fcn.004696ee
mov dword [esp], 0x4a5aa0
push edi
mov dword [0x4bc850], eax
call esi
push eax
call fcn.004696ee
mov dword [esp], 0x4a5a8c
push edi
mov dword [0x4bc854], eax
call esi
push eax
call fcn.004696ee
mov dword [0x4bc858], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0046e7dd
test eax, eax
pop ecx
pop ecx
je 0x4758c5
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00464887
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4758f7
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004696ee
cmp eax, ebx
pop ecx
mov dword [0x4bc860], eax
je 0x4758f7
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004696ee
pop ecx
mov dword [0x4bc85c], eax
mov eax, dword [0x4bc85c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x47597c
cmp dword [0x4bc860], ecx
je 0x47597c
push eax
call fcn.00469765
push dword [0x4bc860]
mov esi, eax
call fcn.00469765
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x47597c
cmp edi, ebx
je 0x47597c
call esi
cmp eax, ebx
je 0x475949
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x475949
test byte [ebp - 0x18], 1
jne 0x47597c
lea eax, [ebp - 0x10]
push eax
call fcn.0046e814
test eax, eax
pop ecx
je 0x475964
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00464887
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x475973
or dword [ebp + 0x10], 0x200000
jmp 0x4759b7
or dword [ebp + 0x10], 0x40000
jmp 0x4759b7
mov eax, dword [0x4bc854]
cmp eax, dword [ebp - 8]
je 0x4759b7
push eax
call fcn.00469765
cmp eax, ebx
pop ecx
je 0x4759b7
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4759b7
mov eax, dword [0x4bc858]
cmp eax, dword [ebp - 8]
je 0x4759b7
push eax
call fcn.00469765
cmp eax, ebx
pop ecx
je 0x4759b7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4bc850]
call fcn.00469765
cmp eax, ebx
pop ecx
je 0x4759d7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4759d9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4812f2
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
je 0x4813cf
cmp byte [edi], bl
je 0x4813cf
mov esi, dword [ebp + 0xc]
cmp esi, ebx
je 0x4813cf
push ebx
push ebx
push 3
push ebx
push 3
push closesocket
push edi
mov byte [esi], bl
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
je 0x4813cf
push ebx
push edi
mov dword [ebp - 8], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
cmp edi, ebx
mov byte [esi], bl
je 0x4813c1
push edi
call fcn.00464af0
cmp eax, ebx
pop ecx
mov dword [ebp - 4], eax
je 0x4813c1
push eax
push edi
push ebx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4813b8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
push 0x4a7468
push dword [ebp - 4]
mov dword [ebp + 8], ebx
mov dword [ebp - 0xc], ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4813b8
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0xc]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
push str._d._d._d._d
push 0x77
push esi
call fcn.0046804a
add esp, 0x1c
mov dword [ebp - 8], 1
push dword [ebp - 4]
call fcn.004647ea
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
jmp 0x4813d1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret