joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402869
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [ebp - 8]
push eax
push 0x20019
xor edi, edi
push edi
push str.SYSTEMCurrentControlSetServices_aspnet_stateParameters
push reloc.WS2_32.dll_bind
mov ebx, ecx
xor esi, esi
mov dword [ebp - 8], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x40289d
jg 0x4028c2
jmp 0x4028cc
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push edi
push edi
push 0x40132c
push dword [ebp - 8]
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
je 0x4028d0
jle 0x4028cc
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
jmp 0x4028eb
cmp dword [ebp - 4], edi
jle 0x4028de
cmp dword [ebp - 4], 0x7fffffff
jle 0x4028e5
mov dword [ebp - 4], 0xf
mov eax, dword [ebp - 4]
mov dword [ebx + 0x14], eax
cmp dword [ebp - 8], edi
je 0x4028f9
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
je 0x402904
mov dword [ebx + 0x14], 0xf
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x40290b
Capabilities:
Create thread

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
xor edi, edi
mov byte [esi + 0xc], bl
call fcn.00402869
push ebx
push ebx
push ebx
push 0x4027fc
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
mov dword [esi + 8], eax
jne 0x40293a
call fcn.00404ddc
mov edi, eax
mov eax, edi
pop edi
pop esi
pop ebx
ret

Function at 0x402940
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SYSTEMCurrentControlSetServices_aspnet_stateParameters
push reloc.WS2_32.dll_bind
mov edi, ecx
xor esi, esi
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x402974
jg 0x402999
jmp 0x4029a3
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push 0x401348
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
je 0x4029a7
jle 0x4029a3
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
jmp 0x4029b0
cmp dword [ebp - 0xc], ebx
setne al
mov byte [edi + 0x2a], al
cmp dword [ebp - 4], ebx
je 0x4029be
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x4029c7
mov byte [edi + 0x2a], bl
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4029ce
Capabilities:
Initialize winsock library
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a8
mov eax, dword [0x4070b8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x198], ebx
mov byte [esi + 0x2b], bl
call fcn.0040184e
mov edi, eax
cmp edi, ebx
jne 0x402b26
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, ebx
je 0x402a2b
jle 0x402b1b
and eax, 0xffff
or eax, 0x80070000
jmp 0x402b1b
push ebx
push ebx
push ebx
push ebx
mov byte [esi + 4], 1
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, ebx
je 0x402b16
mov dword [esi + 0x24], eax
lea eax, [ebp - 0x198]
push eax
push 0x20019
push ebx
push str.SYSTEMCurrentControlSetServices_aspnet_stateParameters
push reloc.WS2_32.dll_bind
mov word [esi + 0x1c], 0xa5b8
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x402afb
push 4
pop edi
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x1a8]
push eax
lea eax, [ebp - 0x1a0]
push eax
push ebx
push str.Port
push dword [ebp - 0x198]
mov dword [ebp - 0x1a0], edi
mov dword [ebp - 0x19c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x402abe
mov eax, dword [ebp - 0x1a8]
lea ecx, [eax - 1]
cmp ecx, 0xfffe
ja 0x402abe
mov word [esi + 0x1c], ax
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x1a4]
push eax
lea eax, [ebp - 0x1a0]
push eax
push ebx
push str.UseIPV6
push dword [ebp - 0x198]
mov dword [ebp - 0x19c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x402afb
cmp dword [ebp - 0x1a4], ebx
je 0x402afb
mov byte [esi + 0x2b], 1
call fcn.00403900
mov edi, eax
cmp edi, ebx
jne 0x402b26
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerW]
cmp eax, ebx
mov dword [esi + 0x10], eax
jne 0x402b1f
call fcn.00404ddc
mov edi, eax
jmp 0x402b26
call sub.webengine.dll_PerfCounterInitialize
xor edi, edi
cmp dword [ebp - 0x198], ebx
je 0x402b3a
push dword [ebp - 0x198]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404596
leave
ret

Function at 0x403400
Capabilities:
Resolve dns

Disassembly:
mov eax, dword [0x4072f0]
cmp byte [eax + 0x2b], 0
push esi
mov esi, ecx
je 0x40341e
add esi, 0x78
push esi
call fcn.004030df
test eax, eax
setne al
pop esi
ret
cmp byte [esi + 0x30], 0x7f
jne 0x40343a
cmp byte [esi + 0x31], 0
jne 0x40343a
cmp byte [esi + 0x32], 0
jne 0x40343a
cmp byte [esi + 0x33], 1
jne 0x40343a
mov al, 1
pop esi
ret
push 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x403463
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x403463
mov eax, dword [ecx]
test eax, eax
je 0x403463
mov esi, dword [esi + 0x30]
cmp dword [eax], esi
je 0x403436
add ecx, 4
mov eax, dword [ecx]
test eax, eax
jne 0x403456
xor al, al
pop esi
ret
Function at 0x403ceb
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
push 0x24
mov dword [ebp - 4], ebx
mov dword [esi + 0x10], fcn.00403c98
call fcn.00404d50
cmp eax, ebx
je 0x403d19
push esi
mov ecx, eax
call fcn.004031f4
mov edi, eax
jmp 0x403d1b
xor edi, edi
cmp edi, ebx
jne 0x403d2b
mov dword [ebp - 4], 0x8007000e
jmp 0x403dc0
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
push dword [esi + 0xb8]
mov ecx, dword [0x407308]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
call fcn.00403651
lea eax, [esi + 0xbc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push ebx
lea eax, [edi + 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0x18]
call dword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
jne 0x403dc0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp ebx, 0x3e5
je 0x403dc0
push dword [esi + 0xb8]
mov ecx, dword [0x407308]
call fcn.004036a5
and dword [esi + 0x10], 0
mov eax, dword [edi]
push edi
call dword [eax + 8]
test ebx, ebx
jle 0x403dbd
and ebx, 0xffff
or ebx, 0x80070000
mov dword [ebp - 4], ebx
push edi
call fcn.0040512b
push 0x40152c
push dword [ebp - 4]
mov ecx, esi
call fcn.00403b07
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x403ddf
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, ecx
push esi
xor esi, esi
lea eax, [ebx + 0xd8]
cmp byte [eax], 0
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], esi
jne 0x403fa8
mov byte [eax], 1
mov eax, dword [ebp + 0x18]
cmp eax, esi
je 0x403e16
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
jmp 0x403e19
mov dword [ebp - 0xc], esi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
add eax, ecx
lea eax, [eax + eax + 0x3e]
push edi
push eax
mov dword [ebp - 0x10], eax
call fcn.00404d2a
mov edi, eax
cmp edi, esi
mov dword [ebp - 4], edi
je 0x403f99
push esi
push esi
push dword [ebp - 0x10]
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [ebp - 0x10]
mov esi, eax
xor eax, eax
push eax
push eax
sub ecx, esi
push ecx
lea ecx, [esi + edi]
push ecx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add esi, eax
mov eax, dword [ebp - 4]
mov dword [ebp + 0xc], esi
mov ecx, dword [ebp + 0xc]
add edi, esi
mov esi, 0x401548
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add ecx, 0x10
movsd dword es:[edi], dword [esi]
lea esi, [ecx + eax]
mov eax, dword [ebp - 0x10]
push 0xa
sub eax, ecx
push eax
push esi
push dword [ebp - 0xc]
call dword [sym.imp.MSVCR80.dll__itoa_s]
add esp, 0x10
test eax, eax
jne 0x403f96
mov eax, esi
jmp 0x403eac
inc eax
cmp byte [eax], 0
jne 0x403eab
mov ecx, dword [ebp - 4]
and dword [ebp - 4], 0
mov dword [eax], 0xa0d0a0d
sub eax, ecx
add eax, 4
cmp dword [ebp - 0xc], 0
lea edi, [ebx + 0xc4]
mov dword [edi], eax
mov dword [ebx + 0xc8], ecx
jle 0x403f00
mov esi, dword [ebp + 0x18]
push esi
mov dword [ebx + 0xd4], esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [ebp - 0xc]
add esi, 8
mov dword [ebx + 0xcc], eax
mov dword [ebx + 0xd0], esi
mov dword [ebp - 0x14], 2
push 0x24
mov dword [ebx + 0x10], 0x403bb1
call fcn.00404d50
test eax, eax
je 0x403f1f
push ebx
mov ecx, eax
call fcn.004031f4
mov dword [ebp - 8], eax
jmp 0x403f23
and dword [ebp - 8], 0
cmp dword [ebp - 8], 0
je 0x403f96
mov esi, dword [ebp - 8]
mov eax, dword [esi]
push esi
call dword [eax + 4]
push dword [ebx + 0xb8]
mov ecx, dword [0x407308]
call fcn.00403651
lea eax, [ebx + 0xbc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push 0
lea eax, [esi + 4]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
push edi
push dword [ebx + 0x18]
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x403f96
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x403f96
push dword [ebx + 0xb8]
mov ecx, dword [0x407308]
call fcn.004036a5
and dword [ebx + 0x10], 0
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov edi, dword [ebp - 4]
push dword [ebp - 8]
call fcn.0040512b
push edi
call fcn.00404d76
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x404596
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4070b8]
jne 0x4045a7
test ecx, 0xffff0000
jne 0x4045a7
ret
jmp fcn.004045ac

Function at 0x40492b
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x405578
call fcn.00404974
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x407ecc
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x40471f
cmp eax, esi
jne 0x404712
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x404722
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4046f9
xor esi, esi
inc esi
mov eax, dword [0x407ec8]
cmp eax, esi
jne 0x404735
push 0x1f
call sub.MSVCR80.dll__amsg_exit
pop ecx
jmp 0x404770
mov eax, dword [0x407ec8]
test eax, eax
jne 0x40476a
mov dword [0x407ec8], esi
push 0x401204
push 0x4011f4
call sub.MSVCR80.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x404770
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x404847
mov dword [0x407658], esi
mov eax, dword [0x407ec8]
cmp eax, esi
jne 0x404794
push 0x4011f0
push 0x4011dc
call sub.MSVCR80.dll__initterm
pop ecx
pop ecx
mov dword [0x407ec8], 2
cmp dword [ebp - 0x1c], ebx
jne 0x4047a1
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x407ed8], ebx
je 0x4047c2
push 0x407ed8
call fcn.00404bd0
pop ecx
test eax, eax
je 0x4047c2
push ebx
push 2
push ebx
call dword [0x407ed8]
mov eax, dword [0x407640]
mov ecx, dword [sym.imp.MSVCR80.dll___winitenv]
mov dword [ecx], eax
push dword [0x407640]
push dword [0x407644]
push dword [0x40763c]
call fcn.00402d98
add esp, 0xc
mov dword [0x407654], eax
cmp dword [0x407648], ebx
jne 0x40482d
push eax
call dword [sym.imp.MSVCR80.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.MSVCR80.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x407658], ebx
jne 0x40483b
call dword [sym.imp.MSVCR80.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x407654]
call fcn.004049b9
ret
call fcn.00404528
jmp 0x4046d7

Function at 0x405238
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push edi
mov edi, dword [ebp + 8]
cmp edi, 0xffffffff
jne 0x40524e
xor eax, eax
jmp 0x4052a3
push ebx
push esi
xor esi, esi
lea eax, [ebp - 8]
push eax
push esi
push esi
lea eax, [ebp - 0x10c]
xor ebx, ebx
push eax
inc ebx
push esi
mov dword [ebp - 0x108], edi
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call dword [sym.imp.WS2_32.dll_select]
cmp eax, esi
je 0x40529b
cmp eax, 0xffffffff
je 0x40529f
push 2
push ebx
lea eax, [ebp + 0xb]
push eax
push edi
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, esi
je 0x40529f
cmp eax, 0xffffffff
je 0x40529f
mov eax, ebx
jmp 0x4052a1
xor eax, eax
pop esi
pop ebx
pop edi
leave
ret 4
Function at 0x433004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0xe95053a
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x373a2d5a
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x15e2058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.015e21a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x15e207e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x15e206a
add dl, dl
jne 0x15e2089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x15e20dc
xor eax, eax
add dl, dl
jne 0x15e2096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x15e217d
add dl, dl
jne 0x15e20a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x15e20b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x15e20bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x15e20c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x15e20d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x15e2075
mov eax, 1
add dl, dl
jne 0x15e20ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x15e20f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x15e20e1
sub eax, ebx
mov ebx, 1
jne 0x15e2128
mov ecx, 1
add dl, dl
jne 0x15e210e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x15e2119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x15e2105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x15e2075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x15e213f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x15e214a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x15e2136
cmp eax, 0x7d00
jae 0x15e216d
cmp eax, 0x500
jb 0x15e2168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x15e2075
cmp eax, 0x7f
ja 0x15e2170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x15e2075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x15e219e
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 0x15e2075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..reloc
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x73391148
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..rsrc
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x48a575c9
nop
nop
nop
test eax, eax
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x45c950
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x452015
lea edi, [esi - 0x51015]
push edi
or ebp, 0xffffffff
jmp 0x45c972
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x45c979
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45c968
mov eax, 1
add ebx, ebx
jne 0x45c98b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x45c99c
jne 0x45c9bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45c9bb
dec eax
add ebx, ebx
jne 0x45c9a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x45c980
add ebx, ebx
jne 0x45c9b7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x45ca0d
xor ecx, ecx
sub eax, 3
jb 0x45c9d3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x45ca42
sar eax, 1
mov ebp, eax
jmp 0x45c9de
add ebx, ebx
jne 0x45c9de
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45c9ac
inc ecx
add ebx, ebx
jne 0x45c9ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45c9ac
add ebx, ebx
jne 0x45c9f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45c9ee
jne 0x45ca0a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45c9ee
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x45ca2c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45ca1e
jmp 0x45c96e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x45ca2c
add edi, ecx
jmp 0x45c96e
pop esi
mov edi, esi
mov ecx, 0x689
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x45ca4a
cmp byte [edi], 5
jne 0x45ca4a
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 0x45ca4f
lea edi, [esi + 0x5a000]
mov eax, dword [edi]
or eax, eax
je 0x45cabe
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9e594]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x9e66c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x45ca7c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x9e674]
or eax, eax
je 0x45cab8
mov dword [ebx], eax
add ebx, 4
jmp 0x45ca99
call dword [esi + 0x9e670]
mov ebp, dword [esi + 0x9e678]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x45caf2
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x453820
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x45000]
push edi
or ebp, 0xffffffff
jmp 0x453842
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x453849
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x453838
mov eax, 1
add ebx, ebx
jne 0x45385b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x45386c
jne 0x45388b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45388b
dec eax
add ebx, ebx
jne 0x453878
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x453850
add ebx, ebx
jne 0x453887
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4538dd
xor ecx, ecx
sub eax, 3
jb 0x4538a3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x453912
sar eax, 1
mov ebp, eax
jmp 0x4538ae
add ebx, ebx
jne 0x4538ae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45387c
inc ecx
add ebx, ebx
jne 0x4538bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45387c
add ebx, ebx
jne 0x4538c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4538be
jne 0x4538da
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4538be
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4538fc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4538ee
jmp 0x45383e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4538fc
add edi, ecx
jmp 0x45383e
pop esi
mov edi, esi
mov ecx, 0xcdd
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x45391a
cmp byte [edi], 1
jne 0x45391a
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 0x45391f
lea edi, [esi + 0x51000]
mov eax, dword [edi]
or eax, eax
je 0x45398e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x58d98]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x58e24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x45394c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x58e28]
or eax, eax
je 0x453988
mov dword [ebx], eax
add ebx, 4
jmp 0x453969
call dword [esi + 0x58e30]
mov ebp, dword [esi + 0x58e2c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x4539c2
sub esp, 0xffffff80
jmp 0x415a20
Function at 0x402480
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, word [esp + 4]
mov dword [esp + 4], edx
jmp fcn.004427b3

Function at 0x4025d0
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 0x4025e9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402624
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x402620
lea ebx, [ebx]
cmp esi, eax
jae 0x402624
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x402610
cmp esi, eax
jb 0x40262a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret