joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4092e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
push 0x4422fc
xor edi, edi
mov ebx, dword [esi + 0x60]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push dword [esi + 0x5c]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x409345
mov eax, dword [esi + 0x5c]
test ebx, ebx
je 0x40931e
mov ecx, esi
sub ecx, dword [esi + 0x60]
mov dword [eax], ecx
jmp 0x409320
mov dword [eax], esi
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 4
push dword [esi + 0x5c]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [0x4400b4]
mov edi, 1
mov dword [esi + 0x50], eax
mov dword [0x4400b4], esi
push 0x4422fc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409680
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 4], ecx
mov dword [ebp - 0x20], 0
test ecx, ecx
jne 0x40969a
xor eax, eax
mov esp, ebp
pop ebp
ret
cmp ecx, dword [0x4400bc]
je 0x409694
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x409694
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [ebp - 0x34], eax
cmp dword [eax], 0x4550
jne 0x409694
push ebx
push edi
mov edi, dword [eax + 0x78]
mov eax, dword [eax + 0x7c]
mov dword [ebp - 8], edi
lea ebx, [eax + edi]
mov dword [ebp - 0x30], ebx
test edi, edi
je 0x40984c
test eax, eax
je 0x40984c
mov eax, dword [edi + ecx + 0x1c]
xor ebx, ebx
add eax, ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x28], eax
mov eax, dword [edi + ecx + 0x20]
add eax, ecx
push esi
mov esi, dword [edi + ecx + 0x24]
mov dword [ebp - 0x24], eax
add esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], eax
cmp dword [edi + ecx + 0x18], eax
jbe 0x409842
add edx, 8
mov dword [ebp - 0x38], edx
cmp dword [edx], 0
je 0x409822
mov ebx, edx
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebx - 8]
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x2c], eax
test ecx, ecx
je 0x409770
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + eax*4]
add eax, dword [ebp - 4]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x409760
test dl, dl
je 0x40975c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x409760
add eax, 2
add ecx, 2
test dl, dl
jne 0x409740
xor eax, eax
jmp 0x409765
sbb eax, eax
or eax, 1
test eax, eax
jne 0x409807
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
xor esi, esi
cmp dword [edi + ecx + 0x14], esi
jbe 0x40980a
mov edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, esi
jne 0x4097d1
mov eax, dword [edi]
test eax, eax
je 0x4097ff
cmp eax, dword [ebp - 8]
jb 0x40979f
cmp eax, dword [ebp - 0x30]
jb 0x4097ff
push ebx
push edx
mov edx, ecx
mov ecx, edi
call fcn.00409360
add esp, 8
test eax, eax
je 0x4097ce
or dword [eax + 0x68], 1
lea ecx, [ebp - 0x3c]
push ecx
push 0x20
push 0x6c
push eax
mov dword [ebp - 0x20], 1
mov dword [eax + 0x64], ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
cmp dword [ebp - 0x14], 0
jne 0x4097ef
mov ecx, dword [ebp - 0x34]
add ecx, 8
mov edx, dword [ecx]
inc edx
call fcn.00409200
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 8]
inc esi
mov edx, dword [ebp - 0x18]
add edi, 4
cmp esi, dword [eax + ecx + 0x14]
jb 0x409785
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebp - 8]
jmp 0x40980a
mov ecx, dword [ebp - 4]
add ebx, 0x10
mov dword [ebp - 0x1c], ebx
cmp dword [ebx], 0
jne 0x409721
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x38]
inc ebx
add esi, 2
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esi
cmp ebx, dword [edi + ecx + 0x18]
jb 0x409713
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x409842
call fcn.00409630
mov eax, dword [ebp - 0x20]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409b9d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x43e06c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x20], edx
mov edx, dword [ebp + 0x18]
push edi
mov dword [ebp - 0x1c], edx
xor edx, edx
push edx
push eax
push ecx
push esi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], edx
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov edi, eax
test edi, edi
je 0x409c0d
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x409c0d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], eax
test eax, eax
je 0x409c10
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], 0x40a402
mov dword [ebp - 0x14], 0x40a41f
test eax, eax
jne 0x409c27
push 2
pop eax
jmp 0x409c38
push dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
mov ecx, ebx
push dword [ebp - 0x20]
push eax
call fcn.00409e94
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00411205
mov esp, ebp
pop ebp
ret 0x14
Function at 0x40a544
Capabilities:
Create directory

Disassembly:
push 0x30
mov eax, 0x42c21d
call fcn.004119a1
mov edi, ecx
lea edx, [ebp - 0x3c]
call fcn.0040a8e0
xor ebx, ebx
mov esi, eax
inc ebx
test esi, esi
je 0x40a657
cmp esi, 0x80010102
je 0x40a577
cmp esi, 0x80010103
jne 0x40a579
mov esi, ebx
test esi, esi
jns 0x40a584
mov eax, esi
jmp 0x40a692
je 0x40a657
xor eax, eax
lea ecx, [ebp - 0x18]
mov edx, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.0040a912
mov ebx, dword [ebp - 0x18]
cmp ebx, dword [ebp - 0x14]
je 0x40a615
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0x14]
sub ecx, ebx
lea eax, [edx + eax*2]
sub eax, edx
xor eax, ecx
test eax, 0xfffffffe
jne 0x40a5d5
push ecx
push edx
push ebx
call fcn.00415b4d
add esp, 0xc
test eax, eax
jne 0x40a5d5
mov eax, 0x80010103
jmp 0x40a692
and dword [ebp - 0x3c], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x38]
push ebx
call fcn.0040a85e
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.0040a544
mov esi, eax
lea ecx, [ebp - 0x38]
test esi, esi
jns 0x40a60c
call fcn.0040ada2
jmp 0x40a57d
or dword [ebp - 4], 0xffffffff
call fcn.0040ada2
mov ecx, edi
call fcn.0040a82c
test eax, eax
je 0x40a57d
mov eax, dword [edi]
xor ecx, ecx
xor ebx, ebx
push ebx
cmp word [eax], bx
cmove eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x40a643
mov esi, ebx
jmp 0x40a57d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.0040a9b1
mov esi, eax
jmp 0x40a57d
mov ecx, edi
call fcn.0040a82c
test eax, eax
je 0x40a692
lea edx, [ebp - 0x3c]
mov ecx, edi
call fcn.0040a8e0
test eax, eax
jne 0x40a689
mov eax, dword [ebp - 0x3c]
shr eax, 0xa
test al, 1
je 0x40a680
test byte [ebp - 0x3c], 0x10
jne 0x40a682
xor ebx, ebx
xor eax, eax
test bl, bl
sete al
neg eax
sbb eax, eax
and eax, 0x80010109
call fcn.0041194b
ret

Function at 0x40a8e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [ecx]
xor ecx, ecx
push esi
push edi
xor edi, edi
mov esi, edx
cmp word [eax], di
cmove eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x40a90d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.0040a9b1
mov edi, eax
mov eax, edi
pop edi
pop esi
ret
Function at 0x40cd23
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x43e06c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, edx
mov dword [ebp - 0xc], ecx
mov esi, dword [edi]
test esi, esi
jne 0x40cd48
xor eax, eax
jmp 0x40cd90
and dword [edi], 0
mov edx, 0x400000
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push 0
push eax
cmp esi, edx
mov eax, esi
cmova eax, edx
push eax
push ebx
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 8]
add ebx, ecx
add dword [edi], ecx
sub esi, ecx
test eax, eax
je 0x40cd8a
test ecx, ecx
je 0x40cd44
mov ecx, dword [ebp - 0xc]
mov edx, 0x400000
test esi, esi
jne 0x40cd50
jmp 0x40cd44
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00411205
mov esp, ebp
pop ebp
ret

Function at 0x40ce7d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
push esi
push 8
mov ecx, edx
pop esi
mov eax, ecx
shr ecx, 1
and eax, 1
dec eax
not eax
and eax, 0xedb88320
xor ecx, eax
sub esi, 1
jne 0x40ce85
mov dword [edx*4 + 0x4400d0], ecx
inc edx
cmp edx, 0x100
jb 0x40ce80
mov esi, 0x800
jmp 0x40cece
mov ecx, dword [edx*4 + 0x43fcd0]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x4400d0]
mov dword [edx*4 + 0x4400d0], ecx
inc edx
cmp edx, esi
jb 0x40ceb2
mov dword [0x442314], 0x40db89
call fcn.0040dd07
mov ecx, dword [0x442314]
test eax, eax
mov edx, 0x40dc22
cmove ecx, edx
mov dword [0x442314], ecx
pop esi
ret
Function at 0x40d052
Capabilities:
Get common file path
Move file

Disassembly:
push 0x27c
mov eax, 0x42c2f2
call fcn.00411a0f
mov esi, edx
mov edi, ecx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov dword [ebp - 0x250], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x258], eax
or dword [eax], 0xffffffff
mov dword [ebp - 0x254], 0xc0000000
cmp dword [edi + 0x10], ecx
jne 0x40d0a4
push 0x439504
lea ecx, [ebp - 0x288]
call fcn.0040209c
xor ebx, ebx
mov byte [ebp - 4], 1
inc ebx
jmp 0x40d0bd
push 0x439b20
mov edx, edi
lea ecx, [ebp - 0x270]
call fcn.00402898
pop ecx
push 2
pop ebx
mov dword [ebp - 4], ebx
push esi
mov edx, eax
mov dword [ebp - 0x250], ebx
lea ecx, [ebp - 0x24c]
call fcn.00402946
pop ecx
mov dword [ebp - 4], 3
test bl, 2
je 0x40d0f0
push 0
push 1
lea ecx, [ebp - 0x270]
and ebx, 0xfffffffd
call fcn.00402111
mov byte [ebp - 4], 5
test bl, 1
je 0x40d108
push 0
push 1
lea ecx, [ebp - 0x288]
call fcn.00402111
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x258]
call fcn.0040d25a
test al, al
je 0x40d125
xor esi, esi
jmp 0x40d238
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
mov esi, eax
cmp esi, 0x20
jne 0x40d238
push 0x208
xor esi, esi
lea eax, [ebp - 0x21c]
push esi
push eax
call fcn.00415940
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x40d157
mov edi, dword [edi]
lea eax, [ebp - 0x21c]
push eax
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x40d174
call ebx
mov esi, eax
jmp 0x40d238
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.0040209c
cmp dword [ebp - 0x220], 8
lea ecx, [ebp - 0x234]
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [ebp - 0x24c]
cmovae ecx, dword [ebp - 0x234]
cmp dword [ebp - 0x238], 8
push 1
cmovae eax, dword [ebp - 0x24c]
push ecx
push eax
call edi
test eax, eax
jne 0x40d1c4
call ebx
mov esi, eax
jmp 0x40d229
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x258]
call fcn.0040d25a
test al, al
je 0x40d1f7
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
push 4
cmovae eax, dword [ebp - 0x234]
push esi
push eax
call edi
push esi
jmp 0x40d22b
call ebx
cmp dword [ebp - 0x238], 8
lea ecx, [ebp - 0x24c]
mov esi, eax
lea eax, [ebp - 0x234]
cmovae ecx, dword [ebp - 0x24c]
cmp dword [ebp - 0x220], 8
push 0
cmovae eax, dword [ebp - 0x234]
push ecx
push eax
call edi
push 0
push 1
lea ecx, [ebp - 0x234]
call fcn.00402111
push 0
push 1
lea ecx, [ebp - 0x24c]
call fcn.00402111
mov eax, esi
jmp 0x40d254
call fcn.0041195c
ret
Function at 0x40f7e6
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 0xc]
mov eax, ecx
push edi
xor edi, edi
mov dword [ebp - 4], eax
mov esi, dword [esi]
and esi, 7
cmp edx, 5
jae 0x40f809
xor eax, eax
jmp 0x40f943
push ebx
lea ecx, [edx - 4]
or ebx, 0xffffffff
add ecx, eax
mov dword [ebp - 8], ecx
lea edx, [edi + eax]
cmp edx, ecx
jae 0x40f82c
mov al, byte [edx]
and al, 0xfe
cmp al, 0xe8
je 0x40f829
inc edx
cmp edx, ecx
jb 0x40f81c
mov eax, dword [ebp - 4]
mov edi, edx
sub edi, eax
cmp edx, ecx
jae 0x40f927
mov ecx, edi
sub ecx, ebx
cmp ecx, 3
jbe 0x40f863
xor esi, esi
mov al, byte [edx + 4]
mov ebx, edi
mov dword [ebp - 0x14], ebx
test al, al
je 0x40f8a0
cmp al, 0xff
je 0x40f8a0
and esi, 3
xor eax, eax
add esi, esi
or esi, 1
inc eax
jmp 0x40f920
dec ecx
shl esi, cl
and esi, 7
je 0x40f843
movzx eax, byte [esi + 0x439b2c]
mov ecx, edx
sub ecx, eax
cmp byte [esi + 0x439b24], 0
mov al, byte [ecx + 4]
je 0x40f88a
test al, al
je 0x40f88a
cmp al, 0xff
jne 0x40f843
and esi, 3
mov ebx, edi
add esi, esi
or esi, 1
inc edi
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
jmp 0x40f815
movzx ebx, al
movzx eax, byte [edx + 3]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 2]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 1]
shl ebx, 8
or ebx, eax
sub ebx, edi
sub ebx, 5
mov dword [ebp - 0x10], ebx
test esi, esi
je 0x40f8f9
movzx eax, byte [esi + 0x439b2c]
shl eax, 3
push 0x18
pop ecx
sub ecx, eax
mov dword [ebp - 0xc], eax
mov eax, ebx
shr eax, cl
test al, al
je 0x40f8e8
cmp al, 0xff
jne 0x40f8f9
xor ebx, ebx
push 0x20
pop ecx
sub ecx, dword [ebp - 0xc]
inc ebx
shl ebx, cl
dec ebx
xor ebx, dword [ebp - 0x10]
jmp 0x40f8be
mov eax, ebx
mov byte [edx + 1], bl
shr eax, 0x18
and al, 1
dec al
not al
mov byte [edx + 4], al
mov eax, ebx
shr eax, 0x10
mov byte [edx + 3], al
mov eax, ebx
mov ebx, dword [ebp - 0x14]
shr eax, 8
push 5
mov byte [edx + 2], al
pop eax
add edi, eax
jmp 0x40f895
mov edx, edi
xor eax, eax
sub edx, ebx
pop ebx
lea ecx, [edx - 1]
shl esi, cl
and esi, 7
cmp edx, 3
cmova esi, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4ba470
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x86000]
mov dword [edi + 0x95310], 0x2c39662b
push edi
jmp 0x4ba49a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4ba4a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ba490
mov eax, 1
add ebx, ebx
jne 0x4ba4b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4ba4c4
jne 0x4ba4e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ba4e3
dec eax
add ebx, ebx
jne 0x4ba4d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4ba4a8
add ebx, ebx
jne 0x4ba4df
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4ba535
xor ecx, ecx
sub eax, 3
jb 0x4ba4fb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4ba56a
sar eax, 1
mov ebp, eax
jmp 0x4ba506
add ebx, ebx
jne 0x4ba506
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ba4d4
inc ecx
add ebx, ebx
jne 0x4ba514
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ba4d4
add ebx, ebx
jne 0x4ba521
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4ba516
jne 0x4ba532
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4ba516
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4ba554
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4ba546
jmp 0x4ba496
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4ba554
add edi, ecx
jmp 0x4ba496
pop esi
mov edi, esi
mov ecx, 0x2fc2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4ba572
cmp byte [edi], 0x11
jne 0x4ba572
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 0x4ba577
lea edi, [esi + 0xb8000]
mov eax, dword [edi]
or eax, eax
je 0x4ba5ef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd9540]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd95f4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4ba5a4
mov ecx, edi
jns 0x4ba5d3
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 + 0xd95f8]
or eax, eax
je 0x4ba5e9
mov dword [ebx], eax
add ebx, 4
jmp 0x4ba5c1
call dword [esi + 0xd9608]
mov ebp, dword [esi + 0xd95fc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
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 0x4ba623
sub esp, 0xffffff80
jmp 0x424490
Function at 0x4a1c40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x98000]
push edi
jmp 0x4a1c5a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4a1c61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a1c50
mov eax, 1
add ebx, ebx
jne 0x4a1c73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4a1c84
jne 0x4a1ca3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a1ca3
dec eax
add ebx, ebx
jne 0x4a1c90
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4a1c68
add ebx, ebx
jne 0x4a1c9f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4a1cf5
xor ecx, ecx
sub eax, 3
jb 0x4a1cbb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4a1d2a
sar eax, 1
mov ebp, eax
jmp 0x4a1cc6
add ebx, ebx
jne 0x4a1cc6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a1c94
inc ecx
add ebx, ebx
jne 0x4a1cd4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a1c94
add ebx, ebx
jne 0x4a1ce1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4a1cd6
jne 0x4a1cf2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4a1cd6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4a1d14
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4a1d06
jmp 0x4a1c56
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4a1d14
add edi, ecx
jmp 0x4a1c56
pop esi
mov edi, esi
mov ecx, 0x3bf
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4a1d32
cmp byte [edi], 7
jne 0x4a1d32
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 0x4a1d37
lea edi, [esi + 0x9f000]
mov eax, dword [edi]
or eax, eax
je 0x4a1da6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12b338]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12b374]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4a1d64
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12b37c]
or eax, eax
je 0x4a1da0
mov dword [ebx], eax
add ebx, 4
jmp 0x4a1d81
call dword [esi + 0x12b378]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4a1dd7
cmp al, 0xef
ja 0x4a1dca
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4a1dac
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4a1db9
mov ebp, dword [esi + 0x12b380]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
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 0x4a1e0b
sub esp, 0xffffff80
jmp 0x40125d
Function at 0x1006908
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
shr eax, 2
test eax, eax
push edi
mov edi, dword [ebp + 0x10]
jle 0x1006945
push ebx
movzx edx, byte [ecx]
xor ebx, ebx
inc ecx
mov bh, byte [ecx]
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
dec eax
jne 0x1006922
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x1006961
dec esi
je 0x100695a
dec esi
jne 0x1006966
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor edx, edx
mov dh, byte [ecx]
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x793058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x7931a8
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 0x79307e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x79306a
add dl, dl
jne 0x793089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7930dc
xor eax, eax
add dl, dl
jne 0x793096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x79317d
add dl, dl
jne 0x7930a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7930b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7930bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7930c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x7930d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x793075
mov eax, 1
add dl, dl
jne 0x7930ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7930f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7930e1
sub eax, ebx
mov ebx, 1
jne 0x793128
mov ecx, 1
add dl, dl
jne 0x79310e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x793119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x793105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x793075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x79313f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x79314a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x793136
cmp eax, 0x7d00
jae 0x79316d
cmp eax, 0x500
jb 0x793168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x793075
cmp eax, 0x7f
ja 0x793170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x793075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x79319e
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 0x793075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10