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

Disassembly:
push 0xffffffffffffffff
push 0x4b5e38
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.004acc56
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0047ce40
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.004acb84
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.004a936e
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.004a936e
push 1
push 0
push 0
mov ecx, esi
call fcn.004a9316
push 1
push 0
push 1
mov ecx, esi
call fcn.004a9316
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004accc8
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x47d620
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b5e58
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.004acc56
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0047ce40
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.004acb84
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 0x47d6e4
cmp dword [esp + 0x40], 1
jne 0x47d6e2
cmp ecx, eax
jge 0x47d6e4
mov eax, ecx
cmp eax, 0xc8
jge 0x47d6f0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0047d4a0
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.004accc8
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x47de70
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b5ec3
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.004a778b
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.004acefe
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004ae456
test eax, eax
je 0x47df8c
mov ecx, dword [esp + 0x3c]
call fcn.004acf2b
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 0x47df50
push edi
mov ecx, esi
call fcn.004aa4e9
mov ecx, esi
call fcn.0047e0f0
cmp dword [esp + 0x38], 1
jne 0x47df85
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.004aa653
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 0x4809c0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4809f3
push esi
call fcn.00483ab0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4809ec
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 0x480a79
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x480a62
mov eax, dword [esi + 8]
test eax, eax
je 0x480a17
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 0x480a5e
cmp eax, 2
je 0x480a62
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x480a0a
cmp eax, 3
je 0x480a3d
cmp eax, 1
jne 0x480a0a
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 0x480a0a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x480a0a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00480aa0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x480a88
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00480aa0
add esp, 4
pop esi
ret

Function at 0x4a8581
Capabilities:
Get graphical window text

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

Function at 0x4a9c72
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 0x4a9cb4
call fcn.004af958
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 0x4a9cb4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4a9cab
xor eax, eax
jmp 0x4a9cbc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004a9cc2
pop edi
pop esi
pop ebx
ret 4

Function at 0x4afe88
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 0x4afeb6
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4afed4
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004afdee
jmp 0x4afed4
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4afed4
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004afdee
test edi, edi
mov eax, edi
jne 0x4afebe
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x405968
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov cl, byte [ebp + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
test cl, cl
sete bl
movzx esi, bl
test dword [ebp + 0x14], 0x100
je 0x4059b8
test esi, esi
je 0x4059b8
mov eax, 0x4091e0
cmp word [eax], dx
je 0x405abc
add eax, 0xa
cmp eax, 0x409258
jne 0x405994
mov ebx, 0xffffffff
mov eax, ebx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
movzx ecx, cl
mov dword [ebp - 0x1c], ecx
cmp dx, 0x58
jbe 0x4059f0
mov eax, dword [ebp + 0x18]
test eax, eax
jne 0x4059a7
test esi, esi
jne 0x4059a7
mov ebx, dword [ebp - 0x1c]
cmp ebx, 0xff
jle 0x4059ac
and ebx, 0xff00
add ebx, 0xff
mov eax, ebx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
movzx edx, dx
shl edx, 3
mov dword [ebp - 0x20], edx
add edx, 0x409260
mov dword [ebp - 0x24], edx
mov dword [esp + 4], 2
movzx eax, ax
mov dword [esp], eax
call sub.USER32.dll_MapVirtualKeyA
sub esp, 8
movzx edi, ax
mov ebx, edi
mov edx, dword [sym.imp.msvcrt.dll___mb_cur_max]
cmp dword [edx], 1
je 0x405a7c
mov dword [esp + 4], 1
mov dword [esp], edi
mov dword [ebp - 0x28], edx
call sub.msvcrt.dll__isctype
mov edx, dword [ebp - 0x28]
test eax, eax
je 0x405a8e
mov dword [esp], edi
call sub.msvcrt.dll_tolower
test byte [ebp + 0x14], 3
je 0x405aac
mov edx, dword [ebp - 0x24]
movzx ebx, word [edx + 6]
cmp ebx, 0xff
jle 0x4059c4
cmp dword [ebp - 0x1c], edi
je 0x4059d2
cmp dword [ebp - 0x1c], eax
jne 0x4059c4
jmp 0x4059d2
mov eax, dword [sym.imp.msvcrt.dll__pctype]
mov eax, dword [eax]
movzx eax, word [eax + edi*2]
and eax, 1
test eax, eax
jne 0x405a42
cmp dword [edx], 1
jne 0x405ae0
mov eax, dword [sym.imp.msvcrt.dll__pctype]
mov eax, dword [eax]
movzx eax, word [eax + edi*2]
and eax, 2
test eax, eax
jne 0x405b14
mov eax, edi
jmp 0x405a4a
test byte [ebp + 0x14], 0xc
je 0x405af4
mov edx, dword [ebp - 0x24]
movzx ebx, word [edx + 4]
jmp 0x405a57
test byte [ebp + 0x14], 3
jne 0x405b24
test byte [ebp + 0x14], 0xc
je 0x405b40
movzx ebx, word [eax + 6]
xor eax, eax
test ebx, ebx
setne al
test eax, eax
jne 0x4059d2
jmp 0x4059a7
mov dword [esp + 4], 2
mov dword [esp], edi
call sub.msvcrt.dll__isctype
jmp 0x405aa1
test byte [ebp + 0x14], 0x10
jne 0x405b34
mov edx, dword [ebp - 0x1c]
test edx, edx
jne 0x405a57
mov edx, dword [ebp - 0x20]
movzx ebx, word [edx + 0x409260]
jmp 0x405a57
mov dword [esp], edi
call sub.msvcrt.dll_toupper
jmp 0x405a4a
movzx ebx, word [eax + 8]
xor eax, eax
test ebx, ebx
setne al
jmp 0x405ad3
mov edx, dword [ebp - 0x24]
movzx ebx, word [edx + 2]
jmp 0x405a57
test byte [ebp + 0x14], 0x10
je 0x405b53
movzx ebx, word [eax + 4]
xor eax, eax
test ebx, ebx
setne al
jmp 0x405ad3
movzx ebx, word [eax + 2]
jmp 0x4059d2
Function at 0x406680
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], ebx
mov ebx, dword [sym.imp.msvcrt.dll__iob]
mov dword [ebp - 4], esi
lea esi, [ebp + 0xc]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
add ebx, 0x40
mov dword [esp + 0xc], ebx
mov dword [esp], str.Mingw_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov eax, dword [ebp + 8]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort

Function at 0x4066d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
test ecx, ecx
mov dword [ebp - 0xc], ebx
mov ebx, eax
mov dword [ebp - 8], esi
mov esi, edx
mov dword [ebp - 4], edi
mov edi, ecx
jne 0x4066f6
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x38]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.KERNEL32.dll_VirtualQuery
sub esp, 0xc
test eax, eax
je 0x40678a
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x406745
cmp eax, 0x40
je 0x406745
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x4066e9
cmp eax, 0x40
je 0x4066e9
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
jmp 0x4066e9
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00406680
lea esi, [esi]
lea edi, [edi]
Function at 0x44a960
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44ebb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0
call 0x4577ca
lea ecx, [esp + 8]
mov byte [esp + 0x20], 1
call 0x4577ca
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 2
call 0x4577ca
mov ebx, 3
lea eax, [esp + 0x14]
push ebx
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], bl
call 0x45780c
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 4
call 0x457806
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], bl
call 0x4577be
lea ecx, [esp + 0x10]
push 0x45f420
lea edx, [esp + 0x18]
push ecx
push edx
call 0x457824
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 5
call 0x457806
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], bl
call 0x4577be
lea eax, [esp + 8]
push 0x45f310
lea ecx, [esp + 0x18]
push eax
push ecx
call 0x457824
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 6
call 0x457806
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], bl
call 0x4577be
push 0x462f40
lea ecx, [esp + 0x10]
call 0x45783c
mov edx, dword [esp + 8]
push 0
push edx
call dword [0x4531c8]
mov esi, eax
test esi, esi
je 0x44aa69
mov eax, dword [esp + 8]
push 2
push eax
call dword [0x4531cc]
mov ecx, dword [esp + 8]
mov edx, dword [0x462f44]
push ecx
push edx
call 0x456670
mov ecx, dword [esp + 0x14]
add esp, 8
test eax, eax
mov eax, dword [0x462f3c]
push eax
push ecx
jne 0x44aaf3
call 0x456670
add esp, 8
test esi, esi
je 0x44aaa3
mov edx, dword [esp + 8]
push edx
call dword [0x4531b0]
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 2
call 0x4577be
lea ecx, [esp + 8]
mov byte [esp + 0x20], 1
call 0x4577be
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 0
call 0x4577be
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call 0x4577be
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
call 0x456670
add esp, 8
test esi, esi
je 0x44ab0a
mov edx, dword [esp + 8]
push edx
call dword [0x4531b0]
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 2
call 0x4577be
lea ecx, [esp + 8]
mov byte [esp + 0x20], 1
call 0x4577be
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 0
call 0x4577be
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call 0x4577be
mov ecx, dword [esp + 0x18]
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..00cfg
nop
mov ebx, 0x408ecc
mov ecx, 0x70a71cb9
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x1fd62dee
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x424020
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1c000]
push edi
or ebp, 0xffffffff
jmp 0x424042
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x424049
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x424038
mov eax, 1
add ebx, ebx
jne 0x42405b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x424050
jne 0x42406c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x424050
xor ecx, ecx
sub eax, 3
jb 0x424080
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4240f2
mov ebp, eax
add ebx, ebx
jne 0x42408b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x424098
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4240bc
inc ecx
add ebx, ebx
jne 0x4240a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42409d
jne 0x4240b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42409d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4240dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4240cd
jmp 0x42403e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4240dc
add edi, ecx
jmp 0x42403e
pop esi
mov edi, esi
mov ecx, 0x518
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4240fa
cmp byte [edi], 4
jne 0x4240fa
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 eax, ebx
loop 0x4240ff
lea edi, [esi + 0x22000]
mov eax, dword [edi]
or eax, eax
je 0x424177
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x25b94]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x25c34]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42412c
mov ecx, edi
jns 0x42415b
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 + 0x25c38]
or eax, eax
je 0x424171
mov dword [ebx], eax
add ebx, 4
jmp 0x424149
call dword [esi + 0x25c3c]
popal
jmp section.UPX0

Function at 0x433004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x100b36ca
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.100b3749
jae 0x100b36d6
xor ecx, ecx
call fcn.100b3749
jae 0x100b3700
xor eax, eax
call fcn.100b3749
jae 0x100b3711
mov al, 0x10
call fcn.100b3749
adc al, al
jae 0x100b36f2
jne 0x100b373e
stosb byte es:[edi], al
jmp 0x100b36d7
call fcn.100b3755
dec ecx
loop 0x100b371d
mov eax, ebp
call fcn.100b3753
jmp 0x100b373f
lodsb al, byte [esi]
shr eax, 1
je 0x100b3765
adc ecx, 2
mov ebp, eax
jmp 0x100b373f
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.100b3753
cmp eax, 0x7d00
jae 0x100b373d
cmp eax, 0x500
jae 0x100b373e
cmp eax, 0x7f
ja 0x100b373f
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x100b36d7
pop ebp
ret 8
Function at 0x401ca4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x401cb3
pop dword [ebp - 0x38]
mov eax, 0x401cb3
sub dword [ebp - 0x38], eax
push 0x40
push 0x1000
push 0x3ca2d
push 0
mov eax, 0xd9d17ba7
sub eax, 0xd9909acf
add eax, dword [ebp - 0x38]
call dword [eax]
mov ecx, 0xa1445927
sub ecx, 0xa1440381
xor ebx, ebx
add ebx, eax
mov edx, 0x413bc4
add edx, dword [ebp - 0x38]
mov edi, 0x83a2dacc
sub edi, 0x6732dc1d
sub dword [ebp - 0x20], esi
mov esi, dword [edx]
xor dword [ebp - 0x10], eax
add esi, edi
sub dword [ebp - 0xc], 0xe6f2a7e1
mov dword [ebx], esi
add ebx, 0xe84c65c9
add ebx, 0x17b39a3b
add edx, 4
loop 0x401d09
add eax, 0x559876e8
add eax, 0xaa68d283
mov ebx, eax
add eax, 0xbc507a98
add eax, 0x43af856d
mov ecx, 0x400000
add ecx, dword [ebp - 0x38]
call ebx
leave
ret

Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.00401ca4
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.00401ca4
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.00401ca4
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00401ca4
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00401ca4
mov dword [0x41203c], eax
call fcn.00401ca4
test eax, eax
jge 0x402550
push 8
call fcn.00401ca4
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00401ca4
pop ecx
push 1
call fcn.00401ca4
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00401ca4
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.00401ca4
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.00401ca4
jmp 0x402495