joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46d6b0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 0xa4]
shl ecx, 0x10
or ecx, dword [eax + 0xa8]
cmp ecx, 0x60000
jae 0x46d6da
mov eax, 2
pop ebp
ret
push esi
call fcn.00468960
mov esi, eax
mov eax, dword [ebp + 8]
mov edx, dword [esi + 0x70]
mov ecx, edx
and cl, 2
movzx ecx, cl
neg ecx
sbb ecx, ecx
inc eax
cmp eax, 3
ja case.default.0x46d6fa
jmp dword [eax*4 + 0x46d730]
or edx, 2
lea eax, [ecx + 2]
mov dword [esi + 0x70], edx
pop esi
pop ebp
ret
and edx, 0xfffffffd
mov dword [esi + 0x70], edx
lea eax, [ecx + 2]
pop esi
pop ebp
ret
call sub.msvcrt.dll__errno
mov dword [eax], 0x16
call fcn.00468ca0
or eax, 0xffffffff
pop esi
pop ebp
ret

Function at 0x46ded0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.00450fc0
mov esi, dword [ebp + 8]
test al, al
je 0x46deee
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call fcn.0046df00
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x46e030
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 2
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x46e08c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x46e08c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x46e08c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x46e08c
cmp dword [ecx + 0x74], 0xe
jbe 0x46e08c
cmp dword [ecx + 0xe8], 0
je 0x46e08c
push dword [ebp + 8]
call fcn.0046df00
add esp, 4
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 1]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0x2acb538
call fcn.0046dce0
add esp, 8
cmp dword [ebp - 8], 0
jne 0x46e0c1
push dword [ebp + 8]
call fcn.0046ded0
mov esp, ebp
pop ebp
ret

Function at 0x46e100
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x46e15c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x46e15c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x46e15c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x46e15c
cmp dword [ecx + 0x74], 0xe
jbe 0x46e15c
cmp dword [ecx + 0xe8], 0
je 0x46e15c
push dword [ebp + 8]
call fcn.0046df00
add esp, 4
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 1]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0x2acb538
call fcn.0046dce0
add esp, 8
cmp dword [ebp - 8], 0
jne 0x46e191
push dword [ebp + 8]
call fcn.0046ded0
mov esp, ebp
pop ebp
ret
Function at 0x473330
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x47335d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x47335d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10001850
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x18
movzx esi, word [eax + 0x264]
mov edi, dword [eax + 0x468]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x258]
test eax, eax
jne 0x10001921
test byte [ebx + 0x1a], 1
jne 0x10001930
mov dword [ebx + 0x258], 1
mov edx, dword [ebx + 0x450]
mov dword [ebx + 0x454], 0
lea eax, [ebx + 0x454]
mov dword [ebx + 0x458], 0
mov dword [ebx + 0x45c], 0
mov dword [ebx + 0x460], 0
mov dword [ebx + 0x464], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov eax, dword [ebx + 0x4c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ReadFile]
sub esp, 0x14
test eax, eax
jne 0x10001910
mov eax, dword fs:[0x18]
cmp dword [eax + 0x34], 0x3e5
je 0x10001910
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.100012b0
mov eax, dword [0x1000c008]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_SetEvent]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.10001600
jmp 0x10001886
Function at 0x420b4b
Capabilities:
Parse pe header

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

Function at 0x433300
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43332d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43332d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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 0x5e8ae0
Capabilities:
Encode data using xor

Disassembly:
sbb al, 0x80
or al, 0x16
or eax, 0xe7bb8b44
retf 0xe8e8
std
pop edi
jbe 0x5e8a6c
fisub word [ecx + 0x1a]
xor dword [edi], eax
js 0x5e8ae4
cdq
sub byte [edi - 0xe], cl
aas
movsb byte es:[edi], byte [esi]
iretd

Function at 0x613b31
Capabilities:
Encode data using xor

Disassembly:
xchg ebx, eax
test esp, eax
mov bh, 0xc7
adc eax, 0x3405fdaa
adc dh, dh
sub dword [ebp - 0x2bb9d9a9], esi
inc ebp
pop esi
aad 0x82
test byte [0x4fc3d2b7], 0x5a
sub eax, 0xf766f68
dec esp
lodsd eax, dword ss:[esi]
pushfd
and al, 0x97
xor eax, 0x6ce61e0c
insd dword es:[edi], dx
mov byte [0x4f8daab0], al
jbe 0x613b3e
int1
mov bh, 0x12
adc al, 0xcd
mov dh, byte [ecx + ebp*4]
test al, 0x45
push cs
jp 0x613b94
pop ds
cmp cl, byte [edi]
stosd dword es:[edi], eax
out 0xa7, eax
les edi, [ecx]
inc esi
cmp al, byte [ecx]
fist dword [esi + ebx*8 - 0x649e81da]
and bh, byte [ebx]
aas
imul edi, dword [edi - 0xf], 0xffffff9a
ja 0x613b74
invalid
and eax, 0x7e3ff6a5
xor al, 0x49
add bh, byte [edx]
int3
Function at 0x404a60
Capabilities:
Access peb ldr_data

Disassembly:
dec esp
xchg ah, ch
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
lea edx, [eax + 7]
mov cl, 0x43
clc
cmp edx, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], edx
jae 0x404a99
mov eax, dword [eax + 0x20]
test eax, eax
je 0x7d4d12
push 0xffffffffffffffb4
call eax
add esp, 4
xor eax, eax
dec ebp
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [eax + 0x2c]
mov ecx, dword [esi + 0x10]
mov edi, dword [esi + 0x14]
sub edi, ecx
cmc
ja 0x404ab8
add edx, ecx
mov eax, ebx
in al, 0xdc
mov ebx, dword [ecx]
pop ebx
mov esp, dword [edi + 0x5d]
ret 8
mov ecx, dword [esi]
mov edi, dword [ecx + 0x14]
mov ebx, dword [ecx + 0x10]
mov ebx, edi
and eax, 0x8b1477d7
inc ecx
add al, 0x8b
cmp dword [ebx + 0x38], edx
mov eax, dword [ecx]
mov edi, dword [ecx + 4]
mov dword [eax + 4], edi
jmp fcn.00406a4a

Function at 0x406840
Capabilities:
Encode data using xor

Disassembly:
cmp eax, 0x9d56028b
jne 0x40686f
push 0x38337ee0
push esi
mov eax, dword [esi]
push eax
call 0xfa8a56ad
dec edx
call fcn.004066e0
or esp, 4
pop esi
arpl dx, ax
add byte [eax - 0x6ff86f70], dl
nop
nop
nop
nop
nop
inc edi
nop
jno 0x406896
mov ebp, esp
sub esp, 0x210
push ebx
aad 0x5d
or byte [esi + 0x57], dl
mov edx, dword [eax]
inc ecx
cmp eax, 0x37
xor byte [edi - 0x2563ffff], al
dec ebx
adc byte [ebp - 0x767bf037], al
xchg dword [eax + eax - 0x74c58a75], esp
dec esi
adc al, 0x8d
push esi
sub byte [ecx + 0x52], dl
push ecx
push edx
push eax
inc dword [eax]
movsb byte es:[edi], byte [esi]
test byte [eax], al
cmp eax, 0xffffffff
jne 0x4069da
inc edi
xor eax, 0x408fd8
jmp dword [ecx - 0x7bf03f7b]
or dh, byte [edx + 0x3d]
mov bl, 0x23
mov byte [eax], 0xf
test dword [ecx + 1], edx
add byte [eax], al
xchg edi, eax
jnp 0x4068c6
mov esi, dword [ebx + 0x24]
daa
invalid
test byte [ecx - 0x20b7b], 0
mov dword [ebp - 0x28000210], ecx
mov dword [ebp - 0x108], eax
int 0x5b
hlt
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
cmpsb byte [esi], byte es:[edi]
jne 0x40698a
pop edi
inc ecx

Function at 0x406a40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xe]
xor ecx, ecx
push esi
jno 0x406a41
invalid
mov cx, word [eax - 0x71]
lodsb al, byte [esi]
mov ecx, 0x8944f00f
lea edx, [ecx + ecx*4]
mov ecx, dword [ebp + 8]
shl edx, 3
mov dword [ecx], edx
rcr bh, cl
mov edx, dword [eax + 0xc]
mov dword [ecx + 0x30], edx
xor edx, edx
mov dx, word [eax + 0xa]
xchg edi, eax
jo 0x406a7a
pop esi
shl byte [esi - 0x75], cl
push eax
or byte [ecx - 0x2dccf3af], cl
mov dx, word [eax + 6]
or al, 0x33
shl byte [esi - 0x75], cl
push eax
push es
mov dword [ecx + 0x10], edx
xor edx, edx
mov dx, word [ebx + 0x51896275]
adc al, 0xf3
shl byte [esi - 0x75], cl
adc byte [ecx + 0x76cac], al
add dh, cl
dec edi
sbb byte [ebx], dh
shl byte [esi - 0x75], cl
push eax
add al, 0x89
push ecx
mov ebp, 0x6614168b
or dh, byte [eax + 6]
xchg ebx, eax
xchg ebp, eax
inc eax
ret 0x40
Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x65dc3c40
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x7a647aff
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x4a13e7
Capabilities:
Execute anti-debugging instructions

Disassembly:
inc ecx
not cl
jmp 0x4a13ec
bt ecx, edx
jmp 0x4a1414
sub dl, bl
or ebx, ebp
jg 0x4a141b
mov ebx, 0x52a02d23
cmp bx, 0x7930
jmp 0x4a142c
jo 0x4a13c0
inc ecx
not cl
jmp 0x4a13ec
mov ebx, 0x52a02d23
call fcn.004a15ea
push es
mov cl, 0x66
cmp ebx, 0x14eb7930
mul byte [si + 3]
inc byte [eax + 0x73]
jmp 0x4a14b2
jmp 0x4a1442
inc esi
mov bl, byte [esp]
bsr ebx, edx
jo 0x4a1487
add bl, 0xdf
xchg bx, cx
lea ebx, [esp + ecx]
jmp 0x4a1477
xchg bx, cx
lea ebx, [esp + ecx]
call fcn.004a148c
push 0xf048e960
jmp 0x4a259a
add bl, 0xdf
jmp 0x4a1471
rol dword [edi - reloc.KERNEL32.dll_GetCurrentProcess], 1
int3
rdtsc
mov esi, dword [esp + 0x2c]
lea eax, [esi*4]
sub al, bh
jmp 0x4a251e
stc
jmp 0x4a24fd
jnp 0x4a253d
btc dx, si
sub esp, 0
call fcn.004a2570
pop ds
mov word [edx], es
xchg esp, eax
and ecx, dword [ebx + reloc.KERNEL32.dll_GetCurrentProcess]
cmpsb byte [esi], byte es:[edi]
clc
invalid
btc dx, si
sub esp, 0
lea edi, [esp]
pushfd
rdtsc
jmp 0x4a25c0
or ebx, ecx
jg 0x4a251b
stc
rdtsc
jmp 0x4a24ff
lea ebx, [ecx*4]
call fcn.004a260d
push ebx
enter 0x395e, 0xffffffffffffffc8
ja 0x4a25d2
jmp dword [ebp - 0xb]
cmc
pushfd
outsd dx, dword [esi]
fist dword [edi + eax*4]
xchg ecx, ebx
and bl, al

Function at 0x5bcf9b
Capabilities:
Access peb ldr_data

Disassembly:
mov dword [esp + 4], esi
push ax
call fcn.005bcf85
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x40de38
mov ecx, 0x6d5f4340
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
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
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data_1
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x5833217a
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
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 0x43306c
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x1000ee80
Capabilities:
Encode data using xor

Disassembly:
adc byte [edx - 0x598ffffd], bl
add byte [eax], al
pushfd
cmpsb byte [esi], byte es:[edi]
add byte [eax], al
adc byte [edx - 0x594ffffd], bl
add byte [eax], al
fsub qword [esi - 0x65f00000]
add eax, dword [eax]
invalid
Function at 0x460885
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0
push 0
mov esi, ecx
mov eax, dword [esi + 0x60]
push 0x132f
push dword [esi + 0x18]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [esi + 0x54]
mov edi, eax
mov eax, dword [ebp - 4]
cmp edi, eax
je 0x460923
test edi, edi
jl 0x460923
cmp edi, dword [esi + 0x5c]
jge 0x460923
mov eax, dword [ebx + eax*4]
mov eax, dword [eax]
test eax, eax
je 0x4608cf
push 0
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x60], edi
mov eax, dword [ebx + edi*4]
mov eax, dword [eax]
test eax, eax
je 0x4608e6
push 5
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x480238
lea ecx, [ebp - 4]
call fcn.00434695
push dword [esi + 0x30]
lea ecx, [ebp - 4]
call fcn.0042af26
push str..Select
lea ecx, [ebp - 4]
call fcn.0042af26
push dword [ebp - 4]
inc edi
push edi
push dword [esi + 0x34]
call fcn.0042ccbb
add esp, 0xc
lea ecx, [ebp - 4]
call fcn.0042602e
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4662a2
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
and eax, 0xffdf
cmp ax, 0x41
je 0x4662c0
cmp ax, 0x42
je 0x4662c0
push 0xfffffffffffffffe
pop eax
leave
ret
and word [ebp - 4], 0
mov word [ebp - 8], ax
lea eax, [ebp - 8]
push eax
mov word [ebp - 6], 0x3a
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
xor ecx, ecx
cmp eax, 2
setne cl
mov eax, ecx
leave
ret

Function at 0x466445
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop ebp
ret
Function at 0x469b5a
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x483250
call fcn.00469128
mov edi, 0x94
mov eax, edi
call fcn.00467bd0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x490b1c], ecx
mov eax, dword [esi + 4]
mov dword [0x490b28], eax
mov edx, dword [esi + 8]
mov dword [0x490b2c], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x490b20], esi
cmp ecx, 2
je 0x469bba
or esi, 0x8000
mov dword [0x490b20], esi
shl eax, 8
add eax, edx
mov dword [0x490b24], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x469bf5
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x469bf5
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x469c0d
cmp eax, 0x20b
je 0x469bfa
mov dword [ebp - 0x1c], esi
jmp 0x469c21
cmp dword [ecx + 0x84], 0xe
jbe 0x469bf5
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x469c1b
cmp dword [ecx + 0x74], 0xe
jbe 0x469bf5
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.004723f7
pop ecx
test eax, eax
jne 0x469c35
push 0x1c
call fcn.00469b36
pop ecx
call fcn.0046c259
test eax, eax
jne 0x469c46
push 0x10
call fcn.00469b36
pop ecx
call fcn.004741a4
mov dword [ebp - 4], esi
call fcn.0046b422
test eax, eax
jge 0x469c5f
push 0x1b
call fcn.00469b11
pop ecx
call fcn.00474105
mov dword [0x4914d0], eax
call fcn.00473f9b
mov dword [0x490b10], eax
call fcn.00473f05
test eax, eax
jge 0x469c84
push 8
call fcn.00469b11
pop ecx
call fcn.00473cd2
test eax, eax
jge 0x469c95
push 9
call fcn.00469b11
pop ecx
push 1
call fcn.00469f35
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x469cab
push eax
call fcn.00469b11
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
call fcn.00473c8c
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x469ccc
movzx eax, word [ebp - 0x40]
jmp 0x469ccf
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.00409327
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x469ced
push edi
call fcn.0046a062
call fcn.0046a084
jmp 0x469d1f
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.00469163
ret
Function at 0x469f9f
Capabilities:
Terminate process

Disassembly:
push 8
push 0x483288
call fcn.00469128
push 8
call fcn.0046ba32
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x490b5c], esi
jne 0x469fd3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x490b58], esi
mov al, byte [ebp + 0x10]
mov byte [0x490b54], al
cmp dword [ebp + 0xc], edi
jne 0x46a01d
cmp dword [0x4914c8], edi
je 0x46a00d
mov eax, dword [0x4914c4]
sub eax, 4
mov dword [0x4914c4], eax
cmp eax, dword [0x4914c8]
jb 0x46a00d
mov eax, dword [eax]
cmp eax, edi
je 0x469fee
call eax
jmp 0x469fee
push 0x48e0e0
mov eax, 0x48e0d8
call fcn.00469f1d
pop ecx
push 0x48e0ec
mov eax, 0x48e0e4
call fcn.00469f1d
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x46a04e
cmp dword [ebp + 0x10], edi
jne 0x46a05c
mov dword [0x490b5c], esi
push dword [ebp + 8]
call fcn.00469edb
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x46a05b
push 8
call fcn.0046b97d
pop ecx
ret
call fcn.00469163
ret
Function at 0x105fb058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x105fb1a8
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 0x105fb07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105fb06a
add dl, dl
jne 0x105fb089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105fb0dc
xor eax, eax
add dl, dl
jne 0x105fb096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105fb17d
add dl, dl
jne 0x105fb0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105fb0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105fb0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105fb0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x105fb0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x105fb075
mov eax, 1
add dl, dl
jne 0x105fb0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105fb0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105fb0e1
sub eax, ebx
mov ebx, 1
jne 0x105fb128
mov ecx, 1
add dl, dl
jne 0x105fb10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x105fb119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105fb105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105fb075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x105fb13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x105fb14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105fb136
cmp eax, 0x7d00
jae 0x105fb16d
cmp eax, 0x500
jb 0x105fb168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105fb075
cmp eax, 0x7f
ja 0x105fb170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105fb075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x105fb19e
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 0x105fb075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x5ea370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x5ea38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x613074
push ecx
mov edi, eax
call fcn.005fe198
mov esi, eax
add esp, 8
test esi, esi
jne 0x5ea3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.005fe02e
push esi
call fcn.005fdfb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret