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

Disassembly:
push 0xffffffffffffffff
push 0x46d538
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.00466578
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00438c30
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.004664a6
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.00462d6a
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.00462d6a
push 1
push 0
push 0
mov ecx, esi
call fcn.00462d12
push 1
push 0
push 1
mov ecx, esi
call fcn.00462d12
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004665ea
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x439410
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46d558
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.00466578
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00438c30
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.004664a6
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 0x4394d4
cmp dword [esp + 0x40], 1
jne 0x4394d2
cmp ecx, eax
jge 0x4394d4
mov eax, ecx
cmp eax, 0xc8
jge 0x4394e0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00439290
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.004665ea
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x439c50
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46d5c3
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.00461188
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.00466820
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00467d3c
test eax, eax
je 0x439d6c
mov ecx, dword [esp + 0x3c]
call fcn.0046684d
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 0x439d30
push edi
mov ecx, esi
call fcn.00463eb8
mov ecx, esi
call fcn.00439ed0
cmp dword [esp + 0x38], 1
jne 0x439d65
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.00463ff3
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 0x43c780
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43c7b3
push esi
call fcn.0043f870
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43c7ac
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 0x43c839
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43c822
mov eax, dword [esi + 8]
test eax, eax
je 0x43c7d7
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 0x43c81e
cmp eax, 2
je 0x43c822
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43c7ca
cmp eax, 3
je 0x43c7fd
cmp eax, 1
jne 0x43c7ca
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 0x43c7ca
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43c7ca
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043c860
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43c848
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043c860
add esp, 4
pop esi
ret

Function at 0x4483b0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x448453
test eax, eax
jbe 0x448453
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x448453
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x4483fe
xor esi, esi
jmp 0x448404
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x44842f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0044a3c0
add esi, eax
push esi
mov ebx, esi
call fcn.0044a3c0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x448410
pop ebp
test edi, edi
pop edi
jne 0x448453
test ebx, ebx
je 0x448453
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00450e70
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x448595
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4486ad
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4486ad
mov eax, dword [esi + 0x3c]
push eax
call fcn.004615da
mov esi, eax
test esi, esi
je 0x4486ad
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x4486ad
mov ecx, esi
call fcn.00448500
cmp edi, eax
jge 0x4486ad
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x448633
mov dword [esp + 0x34], 1
jmp 0x44868e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4486ad
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00447ac0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x44bab0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
mov esi, dword [esp + 0x18]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esi + 4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 1
push eax
mov dword [esi + 8], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x44bafa
push eax
mov eax, dword [esi + 8]
mov dword [esi + 0x18], 0
push eax
jmp 0x44bb29
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
sub ecx, eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x18], 1
sub edx, ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esi + 8]
push eax
mov dword [esi + 0x10], eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
cmp eax, 1
jne 0x44bb6b
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x18]
sub eax, edx
mov edx, dword [esp + 0x14]
sub ecx, edx
mov edx, dword [esi + 8]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 8]
pop esi
add esp, 0x10
ret 4
Function at 0x461f7d
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x461fb5
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.00460034
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046000c
jmp 0x461fc1
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x463672
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 0x4636b4
call fcn.00469127
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4636b4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4636ab
xor eax, eax
jmp 0x4636bc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004636c2
pop edi
pop esi
pop ebx
ret 4

Function at 0x469657
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 0x469685
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4696a3
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004695bd
jmp 0x4696a3
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4696a3
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004695bd
test edi, edi
mov eax, edi
jne 0x46968d
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0xbbe160
Capabilities:
Decompress data using aplib

Disassembly:
call 0xbbe2b0
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xbbe186
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbbe172
add dl, dl
jne 0xbbe191
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbbe1e4
xor eax, eax
add dl, dl
jne 0xbbe19e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbbe285
add dl, dl
jne 0xbbe1ad
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbbe1b8
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbbe1c3
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbbe1ce
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xbbe1da
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xbbe17d
mov eax, 1
add dl, dl
jne 0xbbe1f2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbbe1fd
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbbe1e9
sub eax, ebx
mov ebx, 1
jne 0xbbe230
mov ecx, 1
add dl, dl
jne 0xbbe216
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xbbe221
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbbe20d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbbe17d
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xbbe247
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xbbe252
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbbe23e
cmp eax, 0x7d00
jae 0xbbe275
cmp eax, 0x500
jb 0xbbe270
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbbe17d
cmp eax, 0x7f
ja 0xbbe278
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbbe17d
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xbbe2a6
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xbbe17d
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4012d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4012e9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401324
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401320
lea ebx, [ebx]
cmp esi, eax
jae 0x401324
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401310
cmp esi, eax
jb 0x40132a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x4013f0
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
mov eax, dword [edi]
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
push ebx
push ebp
mov ebp, dword [edi + 4]
push esi
lea esi, [ecx + eax + 0x18]
mov dword [esp + 0xc], 0
jbe 0x4014cd
add esi, 0x10
mov ecx, dword [esi]
test ecx, ecx
jne 0x401461
mov edx, dword [esp + 0x1c]
mov ebx, dword [edx + 0x38]
test ebx, ebx
jle 0x4014b1
mov eax, dword [edi + 0x34]
mov ecx, dword [esi - 4]
mov edx, dword [edi + 0x1c]
push eax
push 4
push 0x1000
add ecx, ebp
push ebx
push ecx
call edx
add esp, 0x14
test eax, eax
je 0x4014d7
mov eax, dword [esi - 4]
push ebx
add eax, ebp
push 0
push eax
mov dword [esi - 8], eax
call fcn.0042f0b0
jmp 0x4014ae
mov eax, dword [esi + 4]
add eax, ecx
push eax
mov eax, dword [esp + 0x1c]
call fcn.004013e0
add esp, 4
test eax, eax
je 0x4014d7
mov edx, dword [edi + 0x34]
mov eax, dword [esi - 4]
push edx
push 4
push 0x1000
push ecx
mov ecx, dword [edi + 0x1c]
add eax, ebp
push eax
call ecx
add esp, 0x14
test eax, eax
je 0x4014d7
mov eax, dword [esi + 4]
mov edx, dword [esi]
add eax, dword [esp + 0x14]
mov ebx, dword [esi - 4]
push edx
add ebx, ebp
push eax
push ebx
call fcn.0042f130
mov dword [esi - 8], ebx
add esp, 0xc
mov ecx, dword [edi]
mov eax, dword [esp + 0xc]
movzx edx, word [ecx + 6]
add eax, 1
add esi, 0x28
cmp eax, edx
mov dword [esp + 0xc], eax
jl 0x401417
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x40bc80
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x24]
mov ecx, dword [ebp + 0x3c]
push esi
push edi
mov edi, dword [ebp]
movzx eax, word [edi + 0x14]
lea esi, [eax + edi + 0x18]
mov eax, dword [esi + 8]
push ecx
mov dword [esp + 0x18], eax
call fcn.004013b0
add esp, 4
mov ecx, esi
mov edx, ebp
mov dword [esp + 0x18], eax
call fcn.004014e0
mov edx, dword [esi + 0x24]
mov dword [esp + 0x1c], eax
mov eax, 1
add esi, 0x28
cmp word [edi + 6], ax
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], 0
mov dword [esp + 0x10], eax
jbe 0x40bd91
nop
mov eax, dword [esi + 8]
mov ecx, dword [ebp + 0x3c]
push ecx
mov dword [esp + 0x30], eax
call fcn.004013b0
add esp, 4
mov ecx, esi
mov edx, ebp
mov ebx, eax
call fcn.004014e0
cmp dword [esp + 0x18], ebx
mov edi, eax
je 0x40bd3c
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
add edx, eax
cmp edx, ebx
ja 0x40bd3c
lea eax, [esp + 0x14]
mov ecx, ebp
call fcn.0040bb50
test eax, eax
je 0x40bdae
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 0x24]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], edx
jmp 0x40bd6b
mov eax, dword [esi + 0x24]
test eax, 0x2000000
je 0x40bd56
test dword [esp + 0x20], 0x2000000
je 0x40bd56
or dword [esp + 0x20], eax
jmp 0x40bd63
or eax, dword [esp + 0x20]
and eax, 0xfdffffff
mov dword [esp + 0x20], eax
sub edi, dword [esp + 0x14]
add edi, dword [esp + 0x2c]
mov ecx, dword [ebp]
mov eax, dword [esp + 0x10]
movzx edx, word [ecx + 6]
add eax, 1
add esi, 0x28
cmp eax, edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
jl 0x40bce0
mov eax, 1
mov dword [esp + 0x24], eax
lea eax, [esp + 0x14]
mov ecx, ebp
call fcn.0040bb50
pop edi
neg eax
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
add esp, 0x18
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x417695
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x4176db
call fcn.0041e2e9
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4176db
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x41771e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x417707
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x417707
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41771b
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x41d15b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x41d19e
call fcn.0041e2e9
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41d19e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41d1b9
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0041cd12
test ebx, ebx
mov esi, eax
je 0x41d1b7
test edi, edi
je 0x41d1b7
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x42e83e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x458648]
jne 0x42e848
repz ret
jmp fcn.004344b8
Function at 0x43cdf2
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004354db
xor ebx, ebx
cmp dword [0x45d4cc], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x43cec7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x43ce32
xor eax, eax
jmp 0x43cf8b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x44c788
push edi
call esi
cmp eax, ebx
je 0x43ce2b
push eax
call fcn.00435478
mov dword [esp], 0x44c778
push edi
mov dword [0x45d4cc], eax
call esi
push eax
call fcn.00435478
mov dword [esp], 0x44c764
push edi
mov dword [0x45d4d0], eax
call esi
push eax
call fcn.00435478
mov dword [0x45d4d4], eax
lea eax, [ebp - 8]
push eax
call fcn.004307db
test eax, eax
pop ecx
pop ecx
je 0x43ce95
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042f8d1
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x43cec7
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00435478
cmp eax, ebx
pop ecx
mov dword [0x45d4dc], eax
je 0x43cec7
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00435478
pop ecx
mov dword [0x45d4d8], eax
mov eax, dword [0x45d4d8]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x43cf40
cmp dword [0x45d4dc], esi
je 0x43cf40
push eax
call fcn.004354e4
pop ecx
call eax
cmp eax, ebx
je 0x43cf0d
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x45d4dc]
call fcn.004354e4
pop ecx
call eax
test eax, eax
je 0x43cf0d
test byte [ebp - 0x18], 1
jne 0x43cf40
lea eax, [ebp - 0xc]
push eax
call fcn.00430812
test eax, eax
pop ecx
je 0x43cf28
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042f8d1
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x43cf37
or dword [ebp + 0x10], 0x200000
jmp 0x43cf71
or dword [ebp + 0x10], 0x40000
jmp 0x43cf71
mov eax, dword [0x45d4d0]
cmp eax, esi
je 0x43cf71
push eax
call fcn.004354e4
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x43cf71
mov eax, dword [0x45d4d4]
cmp eax, esi
je 0x43cf71
push dword [ebp - 4]
push eax
call fcn.004354e4
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x45d4cc]
call fcn.004354e4
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4428b7
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x458648]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0044284c
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0042f0b0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x442906
cmp dword [ebp - 0x1c], 5
jb 0x44291e
jmp 0x44291a
cmp dword [ebp - 0x10], 1
jne 0x44291e
cmp dword [ebp - 0x1c], 4
ja 0x44291a
jne 0x44291e
cmp dword [ebp - 0x18], 0
jbe 0x44291e
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x44d974
call fcn.00442720
test eax, eax
jge 0x44293f
mov byte [0x459a60], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042e83e
add ebp, 0x78
leave
ret