joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426bfa
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004215cc
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x426c69
cmp esi, dword [ebp - 4]
je 0x426c64
cmp dword [ebp + 0xc], 0
je 0x426c64
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x426c41
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00426cc3
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x426c6b
xor eax, eax
inc eax
jmp 0x426c6b
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x427012
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x454010]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x42705d
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00427188
test al, al
jne 0x427057
sub edx, 2
cmp edx, edi
jne 0x42703d
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x42707f
lea eax, [edi + 2]
cmp edx, eax
je 0x42707f
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00426f5e
add esp, 0x10
jmp 0x427179
push esi
lea ecx, [ebp - 0x255]
call fcn.00427188
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4270c2
push dword [ebp - 0x25c]
jmp 0x42706f
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4270ff
cmp word [ebp - 0x226], 0
je 0x427120
cmp word [ebp - 0x226], ax
jne 0x4270ff
cmp word [ebp - 0x224], 0
je 0x427120
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00426f5e
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x42716c
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4270d9
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x427154
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x427179
push 0x4271ac
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0042e3c0
add esp, 0x10
jmp 0x427149
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040bf69
leave
ret
Function at 0x427abf
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x427ad0
pop esi
ret
push ebx
push edi
push esi
call fcn.00427b0d
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00423756
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x427af8
push ebx
push esi
push edi
call fcn.0040ec10
add esp, 0xc
push 0
call fcn.00420f64
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x427b44
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00427b4f
Function at 0x42a42f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x4565b8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x42a46f
cmp byte [ebx], 0xa
jne 0x42a46f
or byte [edi + eax + 0x28], 4
jmp 0x42a474
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x42a573
mov dl, byte [eax]
cmp dl, 0x1a
je 0x42a556
inc eax
cmp dl, 0xd
je 0x42a4a0
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x42a4c6
cmp eax, ecx
jae 0x42a4d4
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x42a488
jmp 0x42a573
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42a551
cmp dword [ebp - 0x10], 0
je 0x42a551
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x4565b8]
test byte [eax + edi + 0x28], 0x48
je 0x42a52b
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x42a516
mov byte [esi], dl
jmp 0x42a527
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4565b8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x42a573
cmp byte [ebp - 1], 0xa
jne 0x42a53a
cmp esi, ebx
jne 0x42a53a
mov byte [esi], 0xa
jmp 0x42a572
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0042a776
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x42a573
mov byte [esi], 0xd
jmp 0x42a572
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x4565b8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x42a570
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x42a573
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x42a57c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x4565b8]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x42a5c2
cmp word [ebx], dx
jne 0x42a5c2
or byte [eax + edi + 0x28], 4
jmp 0x42a5c7
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x42a72a
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x42a70a
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x42a608
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x42a63e
cmp eax, edx
jae 0x42a64c
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x42a5e3
jmp 0x42a72a
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42a705
cmp dword [ebp - 0x18], 0
je 0x42a705
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x4565b8]
test byte [eax + edi + 0x28], 0x48
je 0x42a6db
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x42a69f
mov word [esi], cx
jmp 0x42a6d6
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x4565b8]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x4565b8]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x4565b8]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x42a72a
pop eax
cmp word [ebp - 4], ax
jne 0x42a6eb
cmp esi, ebx
jne 0x42a6eb
mov word [esi], ax
jmp 0x42a727
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0042a776
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x42a72a
push 0xd
pop eax
jmp 0x42a6e6
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x4565b8]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x42a724
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x42a72a
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4010f0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x427004]
jne 0x4010fa
repz ret
jmp fcn.004013f9

Function at 0x403c9b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x427004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040253c
and dword [ebp - 0x14], 0
cmp dword [0x429ad0], 0
mov dword [ebp - 0x18], eax
jne 0x403d4e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x403df6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x403df6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x429ad0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x429ad4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x429ad8], eax
call edi
push eax
call esi
mov dword [0x429ae0], eax
test eax, eax
je 0x403d4e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x429adc], eax
mov eax, dword [0x429adc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x403da7
cmp dword [0x429ae0], ecx
je 0x403da7
push eax
call esi
push dword [0x429ae0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x403da7
test ebx, ebx
je 0x403da7
call edi
test eax, eax
je 0x403d9e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x403d9e
test byte [ebp - 8], 1
jne 0x403da7
or dword [ebp + 0x10], 0x200000
jmp 0x403dda
mov eax, dword [0x429ad4]
cmp eax, dword [ebp - 0x18]
je 0x403dda
push eax
call esi
test eax, eax
je 0x403dda
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x403dda
mov eax, dword [0x429ad8]
cmp eax, dword [ebp - 0x18]
je 0x403dda
push eax
call esi
test eax, eax
je 0x403dda
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x429ad0]
call esi
test eax, eax
je 0x403df6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x403df8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004010f0
leave
ret
Function at 0x4164b0
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x804
mov eax, dword [0x427004]
xor eax, esp
mov dword [esp + 0x800], eax
push esi
xor esi, esi
test edi, edi
jle 0x41651b
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_EndUpdateResourceA]
cmp edi, 0x2d
jne 0x4164f7
push 0
push 0
call ebp
push str.mipipoyoto_vatelicahujuhasazagupu_zagepidexejexofu_pigilapisitacumayonetaperi_vazaw
push str.wudarureheb_sed_kukexuriyekigobu_jatutuzovaninuguxorepapivi_zaxipatoxo
push str.zabazevafij
push str.vufizu
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
call fcn.00416430
xor byte [ebx + esi], al
cmp edi, 0xf
jne 0x416515
push 0
lea eax, [esp + 0xc]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
inc esi
cmp esi, edi
jl 0x4164d2
pop ebp
pop esi
cmp edi, 0x2d
jne 0x416535
mov dword [0x42a7e0], 0xa62e7790
mov dword [0x42a7e4], 0xffffffff
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.004010f0
add esp, 0x804
ret
Function at 0x416960
Capabilities:
Read file on windows
Set file attributes

Disassembly:
sub esp, 0x41c
mov eax, dword [0x427004]
xor eax, esp
mov dword [esp + 0x418], eax
mov eax, dword [0x42a7d4]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
mov ebp, 0x1519a5
mov ebx, 0x8e46a7b8
mov dword [0x42a43c], ebx
cmp eax, 0x3dc
jne 0x4169b2
push 0
push 0x424c28
call esi
push 0
call edi
mov eax, dword [0x42a7d4]
dec ebp
jne 0x416993
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, dword [sym.imp.KERNEL32.dll_CancelIo]
xor esi, esi
cmp eax, 0x997
jne 0x4169fb
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x28]
push ecx
push ebp
lea edx, [esp + 0x34]
push edx
push ebp
mov dword [esp + 0x24], ebp
call edi
push ebp
call ebx
mov eax, dword [0x42a7d4]
cmp esi, 0x845f8b
jne 0x416a12
mov eax, dword [0x428940]
add eax, 0xa231
mov dword [0x42a7d4], eax
cmp eax, 0x141
jne 0x416a2d
mov dword [0x42a010], 0xec58acac
mov dword [0x42a014], 0xffffffff
inc esi
cmp esi, 0x12cca12
jl 0x4169c3
call fcn.00416590
mov ecx, dword [esp + 0x428]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004010f0
add esp, 0x41c
ret 0x10
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403cf8
nop
nop
sub eax, 0x403c9e
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x805e80
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x805e86
pop ebp
sub ebp, 6
sub ebp, 0x405e80
jmp 0x805ee4
jmp 0x805eed
mov eax, 0x405e80
add eax, ebp
add eax, 0x93
mov ecx, 0x632
mov edx, 0x6f8034ac
xor byte [eax], dl
inc eax
dec ecx
jne 0x805f04
jmp 0x805f17
invalid
Function at 0x420850
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x15000]
push edi
or ebp, 0xffffffff
jmp 0x420872
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x420879
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x420868
mov eax, 1
add ebx, ebx
jne 0x42088b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x420880
jne 0x42089c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x420880
xor ecx, ecx
sub eax, 3
jb 0x4208b0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x420922
mov ebp, eax
add ebx, ebx
jne 0x4208bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4208c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4208ec
inc ecx
add ebx, ebx
jne 0x4208d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4208cd
jne 0x4208e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4208cd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42090c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4208fd
jmp 0x42086e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42090c
add edi, ecx
jmp 0x42086e
pop esi
mov edi, esi
mov ecx, 0x810
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42092a
cmp byte [edi], 0xd
jne 0x42092a
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 0x42092f
lea edi, [esi + 0x1e000]
mov eax, dword [edi]
or eax, eax
je 0x4209a7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x218e8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2199c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42095c
mov ecx, edi
jns 0x42098b
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 + 0x219a0]
or eax, eax
je 0x4209a1
mov dword [ebx], eax
add ebx, 4
jmp 0x420979
call dword [esi + 0x219a4]
popal
jmp section.UPX0
Function at 0x10041090
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
xor ebp, ebp
push esi
cmp ebx, 1
push edi
jl 0x100410ab
cmp ebx, 8
jg 0x100410ab
mov eax, 1
jmp 0x100410ad
xor eax, eax
mov esi, dword [esp + 0x14]
push 0x1001b018
push eax
push esi
call fcn.1003f900
mov eax, dword [esi + 0x6af70]
add esp, 0xc
cmp eax, ebp
mov dword [esi + 0x6af78], ebp
jne 0x100410e4
mov dword [esi + 0x6af78], 1
mov dword [esi + 0x6af70], 0x10000
mov ecx, 0x7fff
xor eax, eax
lea edi, [esi + 0x4af70]
mov dword [esi + 0x6af6c], ebp
rep stosd dword es:[edi], eax
mov ax, word [ebx*8 + 0x10014b42]
xor ecx, ecx
mov dword [esi + 0x6af98], eax
mov cx, word [ebx*8 + 0x10014b40]
xor edx, edx
mov dword [esi + 0x6af9c], ecx
mov dx, word [ebx*8 + 0x10014b44]
xor eax, eax
mov dword [esi + 0x6afa0], edx
mov ax, word [ebx*8 + 0x10014b46]
cmp ebx, 2
mov dword [esi + 0x6af94], eax
jg 0x10041145
mov eax, dword [esp + 0x1c]
or byte [eax], 4
jmp 0x10041151
cmp ebx, 8
jl 0x10041151
mov eax, dword [esp + 0x1c]
or byte [eax], 2
lea edi, [esi + 0x1af70]
push 0x10000
push edi
push esi
mov dword [esi + 0x6af84], ebp
mov dword [esi + 0x6af74], ebp
call dword [esi + 0xc]
add esp, 0xc
cmp eax, ebp
mov dword [esi + 0x6af90], eax
je 0x100411ca
cmp eax, 0xffffffff
je 0x100411ca
cmp eax, 0x106
mov dword [esi + 0x6af8c], ebp
jae 0x10041195
push esi
call fcn.100413e0
add esp, 4
mov dword [esi + 0x6af7c], ebp
xor eax, eax
mov edx, dword [esi + 0x6af7c]
xor ecx, ecx
mov cl, byte [edi + eax]
and edx, 0x3ff
and ecx, 0x7fff
shl edx, 5
xor ecx, edx
inc eax
cmp eax, 2
mov dword [esi + 0x6af7c], ecx
jb 0x1004119d
pop edi
pop esi
pop ebp
pop ebx
ret
mov dword [esi + 0x6af8c], 1
mov dword [esi + 0x6af90], ebp
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x100427d0
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x44
lea eax, [esp + 0x10]
push esi
mov esi, dword [esp + 0x4c]
push eax
push esi
call dword [0x10013018]
test eax, eax
jne 0x100427f2
mov eax, 0x200
pop esi
add esp, 0x44
ret
mov eax, dword [esp + 0x14]
push ebp
mov edx, eax
xor ebp, ebp
and edx, 1
je 0x10042805
mov ebp, 1
test al, 2
je 0x1004280c
or ebp, 2
test al, 4
je 0x10042813
or ebp, 4
mov ecx, eax
and ecx, 0x10
je 0x1004281d
or ebp, 0x10
test al, 0x20
je 0x10042824
or ebp, 0x20
test ecx, ecx
je 0x10042830
or ebp, 0x40000000
jmp 0x10042836
or ebp, 0x80000000
or ebp, 0x1000000
test edx, edx
jne 0x10042846
or ebp, 0x800000
push ebx
push edi
push 0
push esi
call dword [0x10013084]
cmp eax, 0x28
mov dword [esp + 0x14], eax
jbe 0x100428f5
mov edi, dword [0x100130a0]
push 0
push 0
push 0
push esi
call edi
mov ebx, dword [0x10013088]
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [esp + 0x60]
push 2
push edx
push esi
call ebx
push 0
push 0
push 0x24
push esi
call edi
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x20]
push 4
push ecx
push esi
call ebx
cmp word [esp + 0x58], 0x54ad
jne 0x100428f5
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
lea edx, [eax + 0x34]
cmp ecx, edx
jbe 0x100428f5
push 0
push 0
push eax
push esi
call edi
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x24]
push 4
push ecx
push esi
call ebx
mov eax, dword [esp + 0x1c]
cmp eax, 0x5a4d
je 0x100428ef
cmp eax, 0x454e
je 0x100428ef
cmp eax, 0x454c
je 0x100428ef
cmp eax, 0x4550
jne 0x100428f5
or ebp, 0x400000
mov eax, dword [esp + 0x5c]
pop edi
test eax, eax
pop ebx
je 0x10042901
mov dword [eax], ebp
mov eax, dword [esp + 0x58]
pop ebp
test eax, eax
je 0x10042910
mov edx, dword [esp + 8]
mov dword [eax], edx
mov esi, dword [esp + 0x58]
test esi, esi
je 0x10042959
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
push ecx
call fcn.10042730
mov dword [esi], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 4], edx
mov edx, dword [esp + 0x34]
push edx
push eax
call fcn.10042730
mov ecx, dword [esp + 0x2c]
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0x28]
push ecx
push edx
call fcn.10042730
mov dword [esi + 0x10], eax
add esp, 0x18
mov dword [esi + 0x14], edx
mov esi, dword [esp + 0x5c]
test esi, esi
je 0x10042998
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x50]
lea ecx, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
push edx
push eax
call fcn.10042760
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
and ecx, 0xffff
and edx, 0xffff
shl ecx, 0x10
add esp, 0x10
or ecx, edx
mov dword [esi], ecx
xor eax, eax
pop esi
add esp, 0x44
ret
Function at 0x4a53c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9a000]
push edi
jmp 0x4a53da
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4a53e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a53d0
mov eax, 1
add ebx, ebx
jne 0x4a53f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4a53e8
jne 0x4a5404
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4a53e8
xor ecx, ecx
sub eax, 3
jb 0x4a5418
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4a548a
mov ebp, eax
add ebx, ebx
jne 0x4a5423
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4a5430
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4a5454
inc ecx
add ebx, ebx
jne 0x4a5440
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4a5435
jne 0x4a5451
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4a5435
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4a5474
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4a5465
jmp 0x4a53d6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4a5474
add edi, ecx
jmp 0x4a53d6
pop esi
mov edi, esi
mov ecx, 0x245
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4a5492
cmp byte [edi], 2
jne 0x4a5492
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 0x4a5497
lea edi, [esi + 0x6b000]
mov eax, dword [edi]
or eax, eax
je 0x4a5506
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc4d48]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc4dd0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4a54c4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xc4dd8]
or eax, eax
je 0x4a5500
mov dword [ebx], eax
add ebx, 4
jmp 0x4a54e1
call dword [esi + 0xc4dd4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4a5537
cmp al, 0xef
ja 0x4a552a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4a550c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4a5519
mov ebp, dword [esi + 0xc4ddc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x31f]
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 0x4a556b
sub esp, 0xffffff80
jmp 0x4041b0
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
mov ecx, 0x6b035e91
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x34f76fdb
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219