joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4726b0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4726e3
push esi
call fcn.00480920
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4726dc
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 0x472769
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x472752
mov eax, dword [esi + 8]
test eax, eax
je 0x472707
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 0x47274e
cmp eax, 2
je 0x472752
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4726fa
cmp eax, 3
je 0x47272d
cmp eax, 1
jne 0x4726fa
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 0x4726fa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4726fa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00472790
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x472778
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00472790
add esp, 4
pop esi
ret

Function at 0x473000
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x473021
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x473021
mov eax, dword [eax + 0x44]
test eax, eax
je 0x473021
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

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

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

Function at 0x493100
Capabilities:
Create http request

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

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

Function at 0x494280
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d2380
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00493e30
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00493eb0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00493eb0
lea ecx, [esi + 0xc]
call fcn.004c3adc
lea ecx, [esi + 0x10]
call fcn.004c3adc
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00495440
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00495440
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00495440
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004c3b51
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004c3b51
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x49d520
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xbc500c]
xor edx, edx
cmp eax, edx
jne 0x49d546
xor eax, eax
mov byte [eax + 0xbc4f0c], al
inc eax
cmp eax, 0x100
jl 0x49d52e
mov dword [0xbc500c], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xbc4f0c
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x49d5d7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x49d5aa
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x49d578
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x49d650
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x49d6a3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x49d68a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a4030
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d27be
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004a4950
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0xb677e4
call fcn.004c3892
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4a40c3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004c3892
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4a40bc
push 0
mov ecx, eax
call fcn.0049b150
mov dword [esi + 0xc], eax
jmp 0x4a40c5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4a40c5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4c5f1f
Capabilities:
Get graphical window text

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

Function at 0x4c760d
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 0x4c764f
call fcn.004cd385
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4c764f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4c7646
xor eax, eax
jmp 0x4c7657
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004c765d
pop edi
pop esi
pop ebx
ret 4

Function at 0x4cd8b5
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 0x4cd8e3
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4cd901
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004cd81b
jmp 0x4cd901
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4cd901
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004cd81b
test edi, edi
mov eax, edi
jne 0x4cd8eb
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x401bd3
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
xor ecx, ecx
mov ebp, esp
sub esp, 8
cmp dword [0x4032d4], ecx
jne 0x401d83
cmp dword [0x4032d8], ecx
jne 0x401d83
mov eax, dword [ebp + 0xc]
cmp eax, 0x10
je 0x401d4e
cmp eax, 0x8000
je 0x401d6c
cmp dword [0x4032dc], ecx
jne 0x401d83
cmp eax, 0x1c
ja 0x401c2b
je 0x401ca7
cmp eax, 0x18
je 0x401c90
jmp 0x401d83
cmp eax, 0x48
ja 0x401c44
je 0x401cd7
cmp eax, 0x20
je 0x401cc5
jmp 0x401d83
cmp eax, 0x104
ja 0x401c59
je 0x401cb1
cmp eax, 0x100
je 0x401cb1
jmp 0x401d83
cmp eax, 0x200
je 0x401cdd
cmp eax, 0x201
je 0x401cb1
cmp eax, 0x204
je 0x401cb1
cmp eax, 0x207
je 0x401cb1
cmp eax, 0x218
je 0x401d31
cmp eax, 0x282
je 0x401d44
jmp 0x401d83
cmp dword [ebp + 0x10], 0
je 0x401d83
push 0
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x401d83
cmp dword [ebp + 0x10], 0
jne 0x401d83
push 0
push 0
push 0x10
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x401d83
push 0
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, 1
jmp 0x401dc0
cmp dword [ebp + 0x10], 3
jmp 0x401cab
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 8]
sub eax, dword [0x403220]
je 0x401cf6
jge 0x401cf6
neg eax
mov ecx, dword [ebp - 4]
sub ecx, dword [0x403224]
je 0x401d05
jge 0x401d05
neg ecx
add eax, ecx
cmp eax, dword [0x4032fc]
jbe 0x401d83
push 0
push 0
push 0x10
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [0x403220], eax
mov dword [0x403224], ecx
jmp 0x401d83
mov eax, dword [ebp + 0x10]
cmp eax, 6
jb 0x401d83
cmp eax, 8
jbe 0x401cb1
jmp 0x401d83
cmp dword [ebp + 0x10], 2
jne 0x401d83
xor eax, eax
jmp 0x401dc0
push dword [ebp + 8]
call fcn.004022bc
add esp, 4
test eax, eax
jne 0x401d83
push 0x403220
call dword [sym.imp.USER32.dll_GetCursorPos]
xor eax, eax
jmp 0x401dc0
mov eax, dword [0x4032e4]
test eax, eax
je 0x401d7c
push dword [ebp + 8]
call eax
jmp 0x401dc0
mov eax, 1
jmp 0x401dc0
mov eax, dword [ebp + 0xc]
cmp dword [0x4032ec], eax
jne 0x401dae
xor eax, eax
cmp dword [ebp + 0xc], eax
je 0x401dae
push eax
push eax
push 0x10
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_PostMessageA]
cmp dword [0x4032e4], 1
sbb eax, eax
inc eax
jmp 0x401dc0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DefWindowProcA]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4022bc
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x1c
push ebx
push esi
push edi
xor esi, esi
cmp dword [0x4032dc], esi
jne 0x4023a3
cmp dword [0x4032d8], esi
jne 0x4023a3
cmp dword [0x4032e4], esi
je 0x402392
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov ebx, dword [0x403300]
cmp ebx, esi
je 0x402311
push edi
mov eax, dword [0x403304]
push eax
call fcn.004023ac
add esp, 8
cmp eax, ebx
jb 0x402392
mov eax, dword [0x403308]
cmp eax, 0xffffffff
je 0x40232c
push edi
push eax
call fcn.004023ac
add esp, 8
cmp eax, 0xc8
jb 0x40239c
push 3
mov esi, 0x113
mov edi, dword [esp + 0x30]
push esi
lea eax, [esp + 0x14]
push esi
mov dword [0x4032dc], 1
push edi
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
lea eax, [esp + 0xc]
push 3
push esi
push esi
push edi
xor esi, esi
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
push esi
push esi
push 0x8000
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0x4032d8], eax
mov dword [0x4032dc], esi
test eax, eax
jne 0x402385
push esi
call dword [sym.imp.USER32.dll_SetCursor]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x403308], eax
jmp 0x40239c
mov dword [0x4032d8], 1
mov eax, dword [0x4032d8]
jmp 0x4023a5
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x1c
ret

Function at 0x4023b9
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [eax]
cmp al, 0x22
jne 0x4023e9
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
mov al, byte [eax]
test al, al
je 0x4023e1
cmp al, 0x22
jne 0x4023ce
cmp byte [esi], 0x22
jne 0x4023fb
inc esi
jmp 0x4023fb
cmp al, 0x20
jbe 0x4023fb
push esi
call dword [sym.imp.USER32.dll_CharNextA]
cmp byte [eax], 0x20
mov esi, eax
ja 0x4023ed
cmp byte [esi], 0
je 0x402413
cmp byte [esi], 0x20
ja 0x402413
push esi
call dword [sym.imp.USER32.dll_CharNextA]
cmp byte [eax], 0
mov esi, eax
jne 0x402400
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x18], 1
mov eax, 0xa
je 0x402433
movzx eax, word [ebp - 0x14]
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
push eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x510640
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb3000]
mov dword [edi + 0xcf740], 0xd830c51c
push edi
jmp 0x51066a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x510671
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x510660
mov eax, 1
add ebx, ebx
jne 0x510683
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x510694
jne 0x5106b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5106b3
dec eax
add ebx, ebx
jne 0x5106a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x510678
add ebx, ebx
jne 0x5106af
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x510705
xor ecx, ecx
sub eax, 3
jb 0x5106cb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x51073a
sar eax, 1
mov ebp, eax
jmp 0x5106d6
add ebx, ebx
jne 0x5106d6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5106a4
inc ecx
add ebx, ebx
jne 0x5106e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5106a4
add ebx, ebx
jne 0x5106f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5106e6
jne 0x510702
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5106e6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x510724
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x510716
jmp 0x510666
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x510724
add edi, ecx
jmp 0x510666
pop esi
mov edi, esi
mov ecx, 0x40d6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x510742
cmp byte [edi], 0x11
jne 0x510742
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 0x510747
lea edi, [esi + 0x109000]
mov eax, dword [edi]
or eax, eax
je 0x5107bf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x13b0dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x13b258]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x510774
mov ecx, edi
jns 0x5107a3
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 + 0x13b25c]
or eax, eax
je 0x5107b9
mov dword [ebx], eax
add ebx, 4
jmp 0x510791
call dword [esi + 0x13b26c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x5107f0
cmp al, 0xef
ja 0x5107e3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5107c5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5107d2
mov ebp, dword [esi + 0x13b260]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x510824
sub esp, 0xffffff80
jmp 0x4204f7
Function at 0x480890
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x51000]
push edi
or ebp, 0xffffffff
jmp 0x4808b2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4808b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4808a8
mov eax, 1
add ebx, ebx
jne 0x4808cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4808dc
jne 0x4808fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4808fb
dec eax
add ebx, ebx
jne 0x4808e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4808c0
add ebx, ebx
jne 0x4808f7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x48094d
xor ecx, ecx
sub eax, 3
jb 0x480913
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x480982
sar eax, 1
mov ebp, eax
jmp 0x48091e
add ebx, ebx
jne 0x48091e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4808ec
inc ecx
add ebx, ebx
jne 0x48092c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4808ec
add ebx, ebx
jne 0x480939
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x48092e
jne 0x48094a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x48092e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x48096c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x48095e
jmp 0x4808ae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x48096c
add edi, ecx
jmp 0x4808ae
pop esi
mov edi, esi
mov ecx, 0x27d3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x48098a
cmp byte [edi], 0x26
jne 0x48098a
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 0x48098f
lea edi, [esi + 0x7d000]
mov eax, dword [edi]
or eax, eax
je 0x480a07
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x876a4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x877bc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4809bc
mov ecx, edi
jns 0x4809eb
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 + 0x877c0]
or eax, eax
je 0x480a01
mov dword [ebx], eax
add ebx, 4
jmp 0x4809d9
call dword [esi + 0x877c8]
mov ebp, dword [esi + 0x877c4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x480a3b
sub esp, 0xffffff80
jmp 0x448ea0
Function at 0x40333c
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x410aa0
call fcn.00406024
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x40323d
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x40323d
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x40323d
cmp dword [eax + 0x400074], 0xe
jbe 0x40323d
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x403241
and dword [ebp - 0x1c], 0
push 1
call main
pop ecx
test eax, eax
jne 0x403255
push 0x1c
call main
pop ecx
call fcn.00407199
test eax, eax
jne 0x403266
push 0x10
call main
pop ecx
call fcn.00406d3d
and dword [ebp - 4], 0
call fcn.00403bed
test eax, eax
jge 0x403280
push 0x1b
call main
pop ecx
call sub.kernel32.dll_GetCommandLineW
mov dword [0x413d00], eax
call fcn.00406ce0
mov dword [0x412ff8], eax
call main
test eax, eax
jge 0x4032a5
push 8
call main
pop ecx
call fcn.00406a03
test eax, eax
jge 0x4032b6
push 9
call main
pop ecx
push 1
call main
pop ecx
test eax, eax
je 0x4032c9
push eax
call main
pop ecx
mov eax, dword [0x413340]
mov dword [0x413344], eax
push eax
push dword [0x413334]
push dword [0x41332c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4032f7
push eax
call main
call fcn.0040428b
jmp 0x40332c
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.00406069
ret
call main
jmp 0x4031eb

Function at 0x4098ac
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x4098bb
pop dword [ebp - 0x2c]
mov eax, 0x990bf3cf
add eax, 0x6734a4ec
sub dword [ebp - 0x2c], eax
push 0x40
push 0x1000
push 0x351ed
push 0
mov eax, 0x2a5e364d
sub eax, 0x2a1d552d
add eax, dword [ebp - 0x2c]
call dword [eax]
mov ecx, 0x5c98a290
add ecx, 0xa3679434
mov edx, eax
mov edi, 0x5a27e196
add edi, 0xa619966a
add edi, dword [ebp - 0x2c]
mov esi, 0x9cfef814
add esi, 0x4596cb59
mov ebx, dword [edi]
add ebx, esi
xor dword [ebp - 8], ecx
mov dword [edx], ebx
sub dword [ebp - 0x10], esi
add edx, 0x476592c1
sub edx, 0x476592bd
add edi, 4
loop 0x40991a
add eax, 0xcde3
mov ebx, eax
add eax, 0x385f9028
sub eax, 0x385f9023
mov ecx, 0x400000
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x30001964
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [0x3000c1d8], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersion]
push esi
jne 0x300019a8
call ebx
test eax, eax
jns 0x3000199e
push 0x300012ec
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0x300012e0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x3000c1dc], eax
mov dword [0x3000c1d8], 1
mov eax, dword [0x3000c1dc]
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
je 0x300019c4
push dword [ebp + 0x10]
push eax
call esi
test eax, eax
mov dword [ebp - 4], eax
jne 0x300019f4
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
test eax, eax
jne 0x300019ea
call ebx
test eax, eax
mov eax, dword [ebp + 8]
jns 0x300019df
push dword [eax + 0xc]
call dword [eax + 8]
jmp 0x300019e4
push dword [eax + 4]
call dword [eax]
test eax, eax
je 0x300019f3
mov dword [edi], eax
push dword [ebp + 0x10]
push eax
call esi
mov dword [ebp - 4], eax
pop edi
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret 0xc