joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438910
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4691b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00461f4f
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.004382b0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00461e7d
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0045e738
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0045e738
push 1
push 0
push 0
mov ecx, esi
call fcn.0045e6e0
push 1
push 0
push 1
mov ecx, esi
call fcn.0045e6e0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00461fc1
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x438a90
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4691d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00461f4f
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.004382b0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00461e7d
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x438b54
cmp dword [esp + 0x40], 1
jne 0x438b52
cmp ecx, eax
jge 0x438b54
mov eax, ecx
cmp eax, 0xc8
jge 0x438b60
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00438910
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00461fc1
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4392d0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x469243
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0045cb59
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004621f7
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00463713
test eax, eax
je 0x4393ec
mov ecx, dword [esp + 0x3c]
call fcn.00462224
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4393b0
push edi
mov ecx, esi
call fcn.0045f87f
mov ecx, esi
call fcn.00439550
cmp dword [esp + 0x38], 1
jne 0x4393e5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0045f9ba
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x43be10
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43be43
push esi
call fcn.0043ef10
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43be3c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43bec9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43beb2
mov eax, dword [esi + 8]
test eax, eax
je 0x43be67
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43beae
cmp eax, 2
je 0x43beb2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43be5a
cmp eax, 3
je 0x43be8d
cmp eax, 1
jne 0x43be5a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43be5a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43be5a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043bef0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43bed8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043bef0
add esp, 4
pop esi
ret

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

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x447216
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x447216
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4471f7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x4475a0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x4475d8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x4482a0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x4482e9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x448760
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x469740
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00448310
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00448390
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00448390
lea ecx, [esi + 0xc]
call fcn.0045b535
lea ecx, [esi + 0x10]
call fcn.0045b535
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00449920
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00449920
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00449920
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0045b5aa
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0045b5aa
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x45d94e
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45d986
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045ba05
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045b9dd
jmp 0x45d992
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x45f03c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x45f07e
call fcn.00464dbe
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x45f07e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x45f075
xor eax, eax
jmp 0x45f086
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0045f08c
pop edi
pop esi
pop ebx
ret 4

Function at 0x4652ee
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46531c
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46533a
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00465254
jmp 0x46533a
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46533a
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00465254
test edi, edi
mov eax, edi
jne 0x465324
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x45a0f8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x47ebe4]
cmp dword [eax + 0x30], 0
je 0x45a1a2
cmp dword [ebx + 0x94], 0
jne 0x45a19c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45a088
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45a19c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45a162
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45a19c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004188f8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45a171
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45ad00
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45ad35
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004046b4
jmp 0x45ad42
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404618
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45bf0c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45bf4d
mov eax, esi
call fcn.00442384
test al, al
je 0x45bf4d
mov eax, dword [ebx + 0x84]
call fcn.00442080
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45bf4d
push 0
mov eax, dword [ebx + 0x84]
call fcn.00442080
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45d0f8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov esi, ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push 1
push 0
mov eax, esi
call fcn.00404a84
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyExA_1
xor eax, eax
push ebp
push 0x45d170
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp + 0x14]
call fcn.00404a84
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
sete byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d177
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
Function at 0x45d70c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45d787
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x104
call fcn.00404c10
mov eax, dword [ebp - 4]
call fcn.00404a84
push eax
mov eax, dword [ebp - 4]
call fcn.00404884
push eax
call sub.kernel32.dll_GetTempPathA
mov edx, eax
lea eax, [ebp - 4]
call fcn.00404c10
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040d4a8
mov edx, dword [ebp - 8]
mov eax, esi
mov ecx, ebx
call fcn.004048d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d78e
lea eax, [ebp - 8]
mov edx, 2
call fcn.004045e8
ret

Function at 0x45da3c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a74
xor eax, eax
push ebp
push 0x45db9e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004045c4
cmp dword [ebp - 4], 0
je 0x45db83
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0040465c
mov eax, dword [ebp - 8]
call fcn.00404884
mov esi, eax
sub esi, 7
lea eax, [ebp - 0x10]
push eax
mov ecx, 8
mov edx, esi
mov eax, dword [ebp - 8]
call fcn.00404ae4
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 0x45dbb4
call fcn.004048d0
mov eax, dword [ebp - 0xc]
call fcn.00408ef8
mov edi, eax
lea eax, [ebp - 8]
mov ecx, 8
mov edx, esi
call fcn.00404b24
mov eax, dword [ebp - 8]
call fcn.00404884
sub eax, edi
mov edi, eax
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00404ae4
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
call fcn.00404884
mov ecx, eax
lea edx, [edi + 1]
mov eax, dword [ebp - 8]
call fcn.00404ae4
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 8]
pop ecx
call fcn.004048d0
lea eax, [ebp - 8]
call fcn.0045d9a8
mov edi, eax
add edi, edi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
call fcn.00404884
mov ecx, eax
sub ecx, edi
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00404ae4
lea eax, [ebp - 8]
call fcn.0045d9a8
mov edi, eax
mov eax, ebx
call fcn.004045c4
mov eax, dword [ebp - 8]
call fcn.00404884
mov esi, eax
sar esi, 1
jns 0x45db5e
adc esi, 0
test esi, esi
jle 0x45db83
lea eax, [ebp - 8]
call fcn.0045d9a8
mov edx, eax
xor edx, edi
lea eax, [ebp - 0x1c]
call fcn.004047ac
mov edx, dword [ebp - 0x1c]
mov eax, ebx
call fcn.0040488c
dec esi
jne 0x45db62
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45dba5
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.004045e8
ret
Function at 0x45dbb8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x45dd04
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.004045c4
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
mov eax, esi
call fcn.00404a84
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
cmp ebx, 1
jl 0x45dce9
mov eax, ebx
call fcn.00402ac0
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x45dce2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
mov eax, esi
call fcn.00404a84
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x45dd14
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x14]
call fcn.00408e78
push dword [ebp - 0x14]
push 0x45dd20
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x18]
call fcn.00408e78
push dword [ebp - 0x18]
push 0x45dd20
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x14]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x1c]
call fcn.00408e78
push dword [ebp - 0x1c]
push 0x45dd20
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x14]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.00408e78
push dword [ebp - 0x20]
mov eax, edi
mov edx, 7
call fcn.00404944
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45dce9
mov eax, dword [ebp - 8]
call fcn.00402af0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45dd0b
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.004045e8
ret

Function at 0x45f6bc
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x47d500]
cmp dword [eax], 0
je 0x45f6d8
push 0
mov eax, dword [0x47d500]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
ret
Function at 0x45f770
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
xor eax, eax
push ebp
push 0x45f7ff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
push eax
push 0x10000000
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
mov eax, dword [ebp + 8]
add eax, 0xffffffec
push eax
mov eax, dword [ebp + 8]
add eax, 0xffffffa8
push eax
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
lea edx, [ebp - 4]
xor eax, eax
call fcn.00402eec
lea eax, [ebp - 4]
mov edx, 0x45f814
call fcn.0040488c
mov eax, dword [ebp - 4]
call fcn.00404a84
push eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
call sub.advapi32.dll_CreateProcessAsUserA
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f806
lea eax, [ebp - 4]
call fcn.004045c4
ret

Function at 0x45f818
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
xor eax, eax
push ebp
push 0x45f889
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
add eax, 0xffffffec
push eax
mov eax, dword [ebp + 8]
add eax, 0xffffffa8
push eax
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
lea edx, [ebp - 4]
xor eax, eax
call fcn.00402eec
lea eax, [ebp - 4]
mov edx, 0x45f8a0
call fcn.0040488c
mov eax, dword [ebp - 4]
call fcn.00404a84
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f890
lea eax, [ebp - 4]
call fcn.004045c4
ret
Function at 0x4602f0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, ebx
call fcn.00460278
mov eax, esi
call fcn.004092c4
test al, al
je 0x46040b
mov dl, 1
mov eax, dword [0x416b80]
call fcn.00403784
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x460404
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.0041b47c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 4]
push eax
push 0
mov ecx, ebx
mov dl, 1
mov eax, dword [0x45fdc4]
call fcn.004606f4
mov esi, eax
mov dword [ebx + 8], esi
mov eax, dword [ebp - 4]
push eax
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x3c]
push eax
mov ecx, ebx
mov dl, 1
mov eax, dword [0x45fe28]
call fcn.00460774
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 4]
call fcn.0041ad1c
mov edi, eax
mov dword [ebp - 8], 0xffffffff
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x18]
movzx eax, word [eax + 6]
dec eax
test eax, eax
jl 0x4603d2
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
push eax
push edi
mov ecx, ebx
mov dl, 1
mov eax, dword [0x45fef4]
call fcn.00460840
mov esi, eax
mov eax, dword [ebx + 0x10]
mov edx, esi
call fcn.0041874c
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 0x14]
cmp eax, dword [ebp - 8]
jae 0x4603ca
mov dword [ebp - 8], eax
add edi, 0x28
dec dword [ebp - 0xc]
jne 0x46039d
mov eax, dword [ebp - 4]
push eax
push edi
mov eax, dword [ebp - 8]
sub eax, edi
push eax
mov ecx, ebx
mov dl, 1
mov eax, dword [0x45fe8c]
call fcn.004607e0
mov dword [ebx + 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46040b
mov eax, dword [ebp - 4]
call fcn.004037b4
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret