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

Disassembly:
push 0xffffffffffffffff
push 0x48ffb8
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.00486548
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0044dc20
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.00486476
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.00482c5d
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.00482c5d
push 1
push 0
push 0
mov ecx, esi
call fcn.00482c05
push 1
push 0
push 1
mov ecx, esi
call fcn.00482c05
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004865ba
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x44e400
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48ffd8
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.00486548
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0044dc20
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.00486476
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 0x44e4c4
cmp dword [esp + 0x40], 1
jne 0x44e4c2
cmp ecx, eax
jge 0x44e4c4
mov eax, ecx
cmp eax, 0xc8
jge 0x44e4d0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0044e280
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.004865ba
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x44ec50
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x490043
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.0048107e
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.004867f0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00487d8b
test eax, eax
je 0x44ed6c
mov ecx, dword [esp + 0x3c]
call fcn.0048681d
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 0x44ed30
push edi
mov ecx, esi
call fcn.00483de1
mov ecx, esi
call fcn.0044eed0
cmp dword [esp + 0x38], 1
jne 0x44ed65
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.00483f4b
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 0x451790
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4517c3
push esi
call fcn.00454880
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4517bc
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 0x451849
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x451832
mov eax, dword [esi + 8]
test eax, eax
je 0x4517e7
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 0x45182e
cmp eax, 2
je 0x451832
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4517da
cmp eax, 3
je 0x45180d
cmp eax, 1
jne 0x4517da
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 0x4517da
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4517da
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00451870
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x451858
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00451870
add esp, 4
pop esi
ret

Function at 0x45d8f0
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 0x45d993
test eax, eax
jbe 0x45d993
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x45d993
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 0x45d93e
xor esi, esi
jmp 0x45d944
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x45d96f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00461c00
add esi, eax
push esi
mov ebx, esi
call fcn.00461c00
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x45d950
pop ebp
test edi, edi
pop edi
jne 0x45d993
test ebx, ebx
je 0x45d993
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0046faa0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x45dad5
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 0x45dbed
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45dbed
mov eax, dword [esi + 0x3c]
push eax
call fcn.004814d0
mov esi, eax
test esi, esi
je 0x45dbed
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 0x45dbed
mov ecx, esi
call fcn.0045da40
cmp edi, eax
jge 0x45dbed
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 0x45db73
mov dword [esp + 0x34], 1
jmp 0x45dbce
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x45dbed
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.0045cfa0
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 0x481e73
Capabilities:
Get graphical window text

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

Function at 0x483565
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 0x4835a7
call fcn.00489292
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4835a7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x48359e
xor eax, eax
jmp 0x4835af
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004835b5
pop edi
pop esi
pop ebx
ret 4
Function at 0x4897c2
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 0x4897f0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48980e
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00489728
jmp 0x48980e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48980e
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00489728
test edi, edi
mov eax, edi
jne 0x4897f8
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x403160
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
push 0x27
push esi
push 0x401690
call dword [sym.imp.msvcrt.dll_wcsncmp]
add esp, 0xc
test eax, eax
je 0x40318c
xor eax, eax
jmp 0x403194
add esi, 0x4e
mov eax, 1
mov dword [edi], eax
movzx ecx, word [esi]
cmp ecx, 0x22
jne 0x4031c8
mov edi, edi
movzx eax, word [esi + 2]
mov edx, esi
add esi, 2
mov ecx, eax
test ax, ax
je 0x4031c1
cmp eax, 0x22
jne 0x4031a0
movzx eax, word [edx + 4]
lea esi, [edx + 4]
movzx eax, ax
jmp 0x4031dc
mov eax, ecx
movzx eax, ax
jmp 0x4031dc
mov eax, ecx
cmp ecx, 0x20
jbe 0x4031dc
nop
movzx eax, word [esi + 2]
add esi, 2
cmp eax, 0x20
ja 0x4031d0
test ax, ax
je 0x4031f8
movzx ecx, ax
cmp cx, 0x20
ja 0x4031f8
movzx eax, word [esi + 2]
add esi, 2
mov ecx, eax
test ax, ax
jne 0x4031e4
mov ebx, esi
lea ecx, [ebx + 2]
lea ecx, [ecx]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x403200
sub ebx, ecx
sar ebx, 1
inc ebx
lea eax, [ebx + ebx]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
je 0x4032dc
xor ecx, ecx
test ebx, ebx
je 0x403234
cmp ebx, 0x7fffffff
jbe 0x403239
mov ecx, 0x80070057
test ecx, ecx
js 0x40328c
mov ecx, ebx
mov edx, edi
test ebx, ebx
je 0x403272
mov eax, 0x7ffffffe
sub eax, ebx
sub esi, edi
mov dword [ebp - 4], eax
add eax, ecx
je 0x40326e
movzx eax, word [esi + edx]
test ax, ax
je 0x40326e
mov word [edx], ax
add edx, 2
mov eax, dword [ebp - 4]
sub ecx, 1
jne 0x403251
jmp 0x403272
test ecx, ecx
jne 0x403275
sub edx, 2
xor eax, eax
neg ecx
mov word [edx], ax
sbb ecx, ecx
and ecx, 0x7ff8ff86
add ecx, 0x8007007a
jmp 0x403295
test ebx, ebx
je 0x403295
xor eax, eax
mov word [edi], ax
test ecx, ecx
js 0x4032dc
lea esp, [esp]
push 1
push 0x4016e0
mov edx, ebx
mov ecx, edi
call fcn.004033f0
test al, al
jne 0x4032a0
push 1
push 0x4016ec
mov edx, ebx
mov ecx, edi
call fcn.004033f0
test al, al
jne 0x4032a0
push 1
push 0x4016f8
mov edx, ebx
mov ecx, edi
call fcn.004033f0
test al, al
jne 0x4032a0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403a50
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x409c28
call fcn.00403fe8
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x40a400
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x403825
cmp eax, esi
jne 0x403818
xor esi, esi
inc esi
mov edi, esi
jmp 0x403828
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4037fc
xor esi, esi
inc esi
cmp dword [0x40a404], esi
jne 0x40383a
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x403874
cmp dword [0x40a404], ebx
jne 0x40386e
mov dword [0x40a404], esi
push 0x401134
push 0x401128
call fcn.004039ae
pop ecx
pop ecx
test eax, eax
je 0x403874
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x40399e
mov dword [0x40a0a4], esi
cmp dword [0x40a404], esi
jne 0x403897
push 0x401124
push 0x401100
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x40a404], 2
test edi, edi
jne 0x4038a4
xor eax, eax
mov ecx, 0x40a400
xchg dword [ecx], eax
cmp dword [0x40a410], 0
je 0x4038d0
push 0x40a410
call fcn.00403e40
pop ecx
test eax, eax
je 0x4038d0
push ebx
push 2
push ebx
mov esi, dword [0x40a410]
mov ecx, esi
call dword [0x40b1f0]
call esi
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
mov ecx, dword [eax]
test ecx, ecx
je 0x40385d
mov dword [ebp - 0x20], ecx
push 0x20
pop esi
mov edx, dword [ebp - 0x1c]
movzx eax, word [ecx]
cmp ax, si
ja 0x40393b
test ax, ax
je 0x40390a
test edx, edx
jne 0x40393b
test ax, ax
je 0x40390a
cmp ax, si
ja 0x40390a
add ecx, 2
mov dword [ebp - 0x20], ecx
movzx eax, word [ecx]
jmp 0x4038f5
test byte [ebp - 0x3c], 1
je 0x403916
movzx eax, word [ebp - 0x38]
jmp 0x403919
push 0xa
pop eax
push eax
push ecx
push ebx
push 0x400000
call main
mov dword [0x40a0a0], eax
cmp dword [0x40a0b8], 0
jne 0x403983
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp eax, 0x22
jne 0x40394c
xor eax, eax
test edx, edx
sete al
mov edx, eax
mov dword [ebp - 0x1c], edx
add ecx, 2
mov dword [ebp - 0x20], ecx
jmp 0x4038e4
cmp dword [0x40a0a4], 0
jne 0x403997
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x40a0a0]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
call fcn.00403f35
jmp 0x4037d3

Function at 0x403d24
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x409c68
call fcn.00403fe8
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x403d84
cmp eax, 0xffffffff
je 0x403d84
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x403d7d
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x403d7d
cmp edx, 0x10000000
jae 0x403d7d
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x403d7a
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x403df0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x403e2e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x403e26
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x403e30
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x403e16
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x403f00
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x403f31
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x403f31
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x403f31
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x407353
Capabilities:
Check if file exists

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x40a084]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov edi, 0x104
push ecx
mov edx, edi
mov dword [ebx], esi
lea ecx, [ebp - 0x210]
mov dword [ebx + 4], esi
call fcn.0040919c
push 0x4014b0
mov edx, edi
lea ecx, [ebp - 0x210]
call fcn.00409119
lea eax, [ebp - 0x210]
push eax
push esi
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
mov dword [ebp - 0x218], eax
test eax, eax
jne 0x4073d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x40740a
push ecx
mov ecx, dword [ebp + 4]
lea edx, [edi - 0x3b]
call fcn.00406cbe
mov esi, eax
jmp 0x40740a
lea edx, [ebp - 0x214]
mov dword [ebp - 0x214], esi
mov ecx, eax
call fcn.0040578c
mov edi, eax
test edi, edi
jns 0x4073fe
push edi
push ecx
mov ecx, dword [ebp + 4]
mov edx, 0xcf
call fcn.00406cd5
mov esi, edi
jmp 0x40740a
mov eax, dword [ebp - 0x214]
cdq
mov dword [ebx], eax
mov dword [ebx + 4], edx
lea ecx, [ebp - 0x218]
call fcn.0040466e
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403a90
leave
ret 8

Function at 0x409428
Capabilities:
Get common file path
Get program files directory
Get system information on windows
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x40a084]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0
push eax
mov esi, ecx
xor bl, bl
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [ebp - 0x210], 0
je 0x4094e4
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x401ed0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x103
ja 0x40958b
xor edx, edx
mov ecx, 0x401f20
call fcn.00409bbe
test eax, eax
jne 0x4094a8
mov ecx, 0x401f20
call fcn.00408713
nop
push ecx
lea eax, [ebp - 0x20c]
push 0x401f20
push eax
mov ecx, eax
call fcn.00409643
test eax, eax
js 0x40958b
lea eax, [ebp - 0x20c]
mov edx, 0x104
push eax
mov ecx, esi
call fcn.0040919c
test eax, eax
js 0x40958b
jmp 0x409589
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0
push 0x26
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40958b
xor edx, edx
mov ecx, 0x401f40
call fcn.00409bbe
test eax, eax
jne 0x409528
mov ecx, 0x401f40
call fcn.00408713
mov edi, edi
push ecx
lea eax, [ebp - 0x20c]
push 0x401f40
push eax
mov ecx, eax
call fcn.00409643
test eax, eax
js 0x40958b
xor edx, edx
mov ecx, 0x401f20
call fcn.00409bbe
test eax, eax
jne 0x40955a
mov ecx, 0x401f20
call fcn.00408713
push ecx
lea eax, [ebp - 0x20c]
push 0x401f20
push eax
mov ecx, eax
call fcn.00409643
test eax, eax
js 0x40958b
lea eax, [ebp - 0x20c]
mov edx, 0x104
push eax
mov ecx, esi
call fcn.0040919c
test eax, eax
js 0x40958b
mov bl, 1
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.00403a90
mov esp, ebp
pop ebp
ret 8
Function at 0x4e1c30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8e000]
push edi
jmp 0x4e1c4a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4e1c51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e1c40
mov eax, 1
add ebx, ebx
jne 0x4e1c63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4e1c74
jne 0x4e1c93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e1c93
dec eax
add ebx, ebx
jne 0x4e1c80
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4e1c58
add ebx, ebx
jne 0x4e1c8f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4e1ce5
xor ecx, ecx
sub eax, 3
jb 0x4e1cab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4e1d1a
sar eax, 1
mov ebp, eax
jmp 0x4e1cb6
add ebx, ebx
jne 0x4e1cb6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e1c84
inc ecx
add ebx, ebx
jne 0x4e1cc4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e1c84
add ebx, ebx
jne 0x4e1cd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4e1cc6
jne 0x4e1ce2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4e1cc6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4e1d04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4e1cf6
jmp 0x4e1c46
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4e1d04
add edi, ecx
jmp 0x4e1c46
pop esi
mov edi, esi
mov ecx, 0x45db
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4e1d22
cmp byte [edi], 0x16
jne 0x4e1d22
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4e1d27
lea edi, [esi + 0xde000]
mov eax, dword [edi]
or eax, eax
je 0x4e1d9f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xff724]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xff850]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4e1d54
mov ecx, edi
jns 0x4e1d83
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xff854]
or eax, eax
je 0x4e1d99
mov dword [ebx], eax
add ebx, 4
jmp 0x4e1d71
call dword [esi + 0xff864]
mov ebp, dword [esi + 0xff858]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4e1dd3
sub esp, 0xffffff80
jmp 0x47dac2