joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100022e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x10007040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x10002310
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10002e56
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x1000234c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x1000234c
lea ecx, [edi - 1]
mov eax, ebx
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
pop edi
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10002e56
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x10002423
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x10002374
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x10002380
movsx eax, bl
jmp 0x100023b8
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x100023e2
sub eax, 1
je 0x100023e2
sub eax, 2
jne 0x10002423
movsx eax, byte [ebp - 0x25]
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmove ebx, ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10002e56
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10002400
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x10002423
lea ecx, [ebp - 0x25]
mov byte [esi + 0x3d], 1
or eax, 0xffffffff
cmp dword [ebp - 0x30], ecx
pop edi
pop esi
cmovne eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10002e56
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10002e56
mov esp, ebp
pop ebp
ret 4
Function at 0x10002620
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10007040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x100026dc
cmp byte [esi + 0x3d], 0
je 0x100026dc
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x100026ca
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x10002691
sub eax, 1
je 0x10002695
sub eax, 2
jne 0x100026ca
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10002e56
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x100026b3
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x100026ca
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10002e56
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10002e56
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.10002e56
mov esp, ebp
pop ebp
ret
Function at 0x4067c4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4067e8
xor eax, eax
test eax, eax
je 0x4067fb
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4067fb
xor ecx, ecx
jmp 0x4067fe
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

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

Disassembly:
cmp dword [0x45fdcc], 0
push esi
jne 0x40695e
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406938
mov dword [ecx*4 + 0x45fdc8], eax
inc ecx
cmp ecx, 0x100
jl 0x406933
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40698f
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x45fdc8]
xor eax, esi
inc ecx
dec edx
jne 0x406971
pop edi
not eax
pop esi
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x422004]
jne 0x40100a
repz ret
jmp fcn.004011ef

Function at 0x4030bb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x422004]
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.0040206e
and dword [ebp - 0x14], 0
cmp dword [0x424aac], 0
mov dword [ebp - 0x18], eax
jne 0x40316e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x403216
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x403216
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x424aac], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x424ab0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x424ab4], eax
call edi
push eax
call esi
mov dword [0x424abc], eax
test eax, eax
je 0x40316e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x424ab8], eax
mov eax, dword [0x424ab8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4031c7
cmp dword [0x424abc], ecx
je 0x4031c7
push eax
call esi
push dword [0x424abc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4031c7
test ebx, ebx
je 0x4031c7
call edi
test eax, eax
je 0x4031be
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4031be
test byte [ebp - 8], 1
jne 0x4031c7
or dword [ebp + 0x10], 0x200000
jmp 0x4031fa
mov eax, dword [0x424ab0]
cmp eax, dword [ebp - 0x18]
je 0x4031fa
push eax
call esi
test eax, eax
je 0x4031fa
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4031fa
mov eax, dword [0x424ab4]
cmp eax, dword [ebp - 0x18]
je 0x4031fa
push eax
call esi
test eax, eax
je 0x4031fa
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x424aac]
call esi
test eax, eax
je 0x403216
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x403218
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret
Function at 0x405770
Capabilities:
Get file size

Disassembly:
mov eax, dword [0x42c8ec]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetFileSize]
xor esi, esi
nop
cmp eax, 0x8cf
jne 0x405792
push 0
push 0
call edi
mov eax, dword [0x42c8ec]
cmp esi, 0x845013
jne 0x4057a9
mov eax, dword [0x423930]
add eax, 0xa231
mov dword [0x42c8ec], eax
cmp eax, 0x141
jne 0x4057c4
mov dword [0x424fe8], 0xec58acac
mov dword [0x424fec], 0xffffffff
inc esi
cmp esi, 0xbbe2a98
jl 0x405780
call fcn.00405500
pop edi
xor eax, eax
pop esi
ret 0x10
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..retplne
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0xb223615
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..reloc
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x67627520
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x420860
Capabilities:
Inspect section memory permissions

Disassembly:
sub esp, 0x124
push ebx
push ebp
push esi
push edi
mov ecx, 0x3e
xor eax, eax
lea edi, [esp + 0x3c]
xor ebx, ebx
rep stosd dword es:[edi], eax
mov ecx, 0xa
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x138]
lea eax, [esp + 0x3c]
push eax
push ecx
mov dword [esp + 0x18], ebx
xor esi, esi
call fcn.00420cd0
add eax, 4
movsx edx, word [esp + 0x50]
jo 0x4209b6
add eax, 0x14
jo 0x4209b6
add eax, edx
jo 0x4209b6
mov edi, eax
mov ax, word [esp + 0x42]
sub ax, 1
jo 0x4209b6
movsx ebp, ax
cmp ebp, ebx
jl 0x4209a7
lea ecx, [esp + 0x14]
push ecx
call fcn.004210b0
push 0x28
push edi
push eax
call fcn.00421000
mov eax, dword [esp + 0x38]
test eax, 0x20000000
je 0x42091e
test eax, 0x40000000
je 0x42090d
and eax, 0x80000000
neg eax
sbb eax, eax
and eax, 0x20
add eax, 0x20
jmp 0x420943
and eax, 0x80000000
neg eax
sbb eax, eax
and eax, 0x70
add eax, 0x10
jmp 0x420943
test eax, 0x40000000
je 0x420936
and eax, 0x80000000
neg eax
sbb eax, eax
and eax, 2
add eax, 2
jmp 0x420943
and eax, 0x80000000
neg eax
sbb eax, eax
and eax, 7
inc eax
lea edx, [esp + 0x10]
mov esi, eax
push edx
call fcn.004210b0
push eax
push esi
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x140]
mov eax, dword [esp + 0x24]
add ecx, esi
push eax
jo 0x4209b6
push ecx
call fcn.00420fe0
test eax, eax
je 0x420990
add edi, 0x28
jo 0x4209b6
add ebx, 1
jo 0x4209b6
cmp ebx, ebp
jle 0x4208d7
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x124
ret 4
mov esi, 4
call dword [sym.imp.KERNEL32.DLL_SetFileApisToANSI]
call dword [sym.imp.KERNEL32.DLL_SetFileApisToOEM]
call dword [sym.imp.USER32.DLL_WaitMessage]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret 4
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x453004]
jne 0x40100a
repz ret
jmp fcn.00401587

Function at 0x40444b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x453004]
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.00401e3b
and dword [ebp - 0x14], 0
cmp dword [0x4555a8], 0
mov dword [ebp - 0x18], eax
jne 0x4044fe
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4045a6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4045a6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4555a8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4555ac], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4555b0], eax
call edi
push eax
call esi
mov dword [0x4555b8], eax
test eax, eax
je 0x4044fe
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4555b4], eax
mov eax, dword [0x4555b4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x404557
cmp dword [0x4555b8], ecx
je 0x404557
push eax
call esi
push dword [0x4555b8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x404557
test ebx, ebx
je 0x404557
call edi
test eax, eax
je 0x40454e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40454e
test byte [ebp - 8], 1
jne 0x404557
or dword [ebp + 0x10], 0x200000
jmp 0x40458a
mov eax, dword [0x4555ac]
cmp eax, dword [ebp - 0x18]
je 0x40458a
push eax
call esi
test eax, eax
je 0x40458a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40458a
mov eax, dword [0x4555b0]
cmp eax, dword [ebp - 0x18]
je 0x40458a
push eax
call esi
test eax, eax
je 0x40458a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4555a8]
call esi
test eax, eax
je 0x4045a6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4045a8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret
Function at 0x401000
Capabilities:
Execute command

Disassembly:
push ebx
push esi
push edi
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov esi, dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
add esp, 8
mov edi, dword [sym.imp.USER32.dll_mouse_event]
mov ebx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call esi
and eax, 0x80000003
jns 0x401037
dec eax
or eax, 0xfffffffc
add eax, 1
mov dword [0x4033bc], eax
jne 0x40105e
push 0
push 0
call esi
cdq
mov ecx, 0x3c
idiv ecx
push edx
call esi
cdq
mov ecx, 0x3c
idiv ecx
push edx
push 1
call edi
jmp 0x4010cd
cmp eax, 1
jne 0x401073
push 0
push 0
call esi
cdq
mov ecx, 0x3c
idiv ecx
jmp 0x4010af
cmp eax, 2
jne 0x40109a
push 0
push 0
call esi
cdq
mov ecx, 0x3c
idiv ecx
neg edx
push edx
call esi
cdq
mov ecx, 0x3c
idiv ecx
push edx
push 1
call edi
jmp 0x4010cd
cmp eax, 3
jne 0x4010c3
push 0
push 0
call esi
cdq
mov ecx, 0x3c
idiv ecx
neg edx
push edx
call esi
cdq
mov ecx, 0x3c
idiv ecx
neg edx
push edx
push 1
call edi
jmp 0x4010cd
push str.shutdown__t_0__r
call ebx
add esp, 4
call esi
cdq
mov ecx, 5
idiv ecx
mov dword [0x4033bc], edx
cmp edx, 1
je 0x401115
cmp edx, 2
je 0x401115
cmp edx, 3
je 0x401109
cmp edx, 4
je 0x401109
test edx, edx
jne 0x4010fd
push edx
push edx
push edx
push edx
push 0x60
jmp 0x40111f
push str.shutdown__t_0__r
call ebx
add esp, 4
jmp 0x401121
push 0
push 0
push 0
push 0
push 0x18
jmp 0x40111f
push 0
push 0
push 0
push 0
push 6
call edi
call esi
cdq
mov ecx, 0xfe
idiv ecx
push 0
push 0
inc edx
push 0
push edx
mov dword [0x4033bc], edx
call dword [sym.imp.USER32.dll_keybd_event]
movzx eax, byte [0x4033bc]
push 0
push 2
push 0
push eax
call dword [sym.imp.USER32.dll_keybd_event]
jmp 0x401027

Function at 0x40195d
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40199c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40199c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40199c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40199c
cmp dword [ecx + 0x74], 0xe
jbe 0x40199c
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

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

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

Disassembly:
push ebp
mov ebp, esp
push ebx
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [ebp + 8]
mov word [esp + 0x32], 0x6b9c
mov ecx, dword [esp + 0x20]
mov edx, ecx
and edx, 0x5aa9
mov dword [esp + 0x20], edx
mov byte [esp + 0x1f], 0x17
mov bl, byte [esp + 0x1f]
add bl, 0x92
mov edx, ecx
xor edx, 0x9d3
mov dword [esp + 0x20], edx
mov byte [esp + 0xf], bl
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
mov dword [esp], ecx
jne 0x411afb
mov dword [esp + 0x10], 0
jmp 0x411bf4
jmp 0x411afd
mov al, byte [esp + 0x1f]
xor al, 0x8d
cmp byte [esp + 0xf], al
je 0x411afd
mov eax, dword [esp + 4]
mov cx, word [eax]
mov eax, dword [esp]
add eax, 0x55fb
movzx edx, cx
mov dword [esp + 0x20], eax
cmp edx, 0x5a4d
jne 0x411b90
mov eax, 0x7936
mov ecx, dword [esp + 4]
mov dword [esp + 0x18], ecx
mov dword [esp + 8], 0x56b
cmp eax, dword [esp + 8]
jbe 0x411b90
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0x3f6a
mov ecx, dword [esp + 4]
mov eax, dword [eax + 0x3c]
mov eax, dword [ecx + eax]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x28], 0xffffc095
mov ecx, dword [esp]
or ecx, 0x2f71
mov dword [esp + 0x20], ecx
cmp eax, 0x4550
jne 0x411b8e
mov eax, dword [esp + 4]
mov dword [esp + 0x10], eax
jmp 0x411bf4
jmp 0x411b90
mov eax, dword [esp + 4]
mov word [esp + 0x1c], 0x5a52
mov cx, word [esp + 0x32]
xor cx, 0x36ae
mov byte [esp + 0x27], 0xd1
mov dx, word [esp + 0x1c]
mov dword [esp + 0x14], eax
cmp cx, dx
jb 0x411bca
mov eax, dword [esp + 0x14]
sub eax, 0x1000
and eax, 0xfffff000
mov dword [esp + 4], eax
mov al, 1
test al, 1
jne 0x411afd
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
add eax, 0x2c34
adc ecx, 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x10]
lea esp, [ebp - 4]
pop ebx
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x4b4400
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x80000]
push edi
or ebp, 0xffffffff
jmp 0x4b4422
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b4429
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b4418
mov eax, 1
add ebx, ebx
jne 0x4b443b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b444c
jne 0x4b446b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b446b
dec eax
add ebx, ebx
jne 0x4b4458
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b4430
add ebx, ebx
jne 0x4b4467
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b44bd
xor ecx, ecx
sub eax, 3
jb 0x4b4483
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b44f2
sar eax, 1
mov ebp, eax
jmp 0x4b448e
add ebx, ebx
jne 0x4b448e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b445c
inc ecx
add ebx, ebx
jne 0x4b449c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b445c
add ebx, ebx
jne 0x4b44a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b449e
jne 0x4b44ba
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b449e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b44dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b44ce
jmp 0x4b441e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b44dc
add edi, ecx
jmp 0x4b441e
pop esi
mov edi, esi
mov ecx, 0x34800
jmp 0x4b452e
mov al, byte [edi]
add edi, 1
cmp al, 0x80
jb 0x4b450f
cmp al, 0x8f
ja 0x4b450f
cmp byte [edi - 2], 0xf
je 0x4b4515
sub al, 0xe8
cmp al, 1
ja 0x4b4538
cmp byte [edi], 0x11
jne 0x4b4538
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
mov dword [edi], eax
add edi, 4
sub ecx, 4
mov al, byte [edi]
add edi, 1
loop 0x4b450f
sub ecx, 1
jg 0x4b44fc
lea edi, [esi + 0xb1000]
mov eax, dword [edi]
or eax, eax
je 0x4b458e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb45f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb46b8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b4543
mov ecx, edi
jns 0x4b4572
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 + 0xb46bc]
or eax, eax
je 0x4b4588
mov dword [ebx], eax
add ebx, 4
jmp 0x4b4560
call dword [esi + 0xb46cc]
mov ebp, dword [esi + 0xb46c0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x4b45c2
sub esp, 0xffffff80
jmp 0x4209ca

Function at 0xf0a000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0xf0a00a
jmp 0xf0c00f
jmp fcn.00aa0058