joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42605e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44e584]
jne 0x426068
repz ret
jmp fcn.0042b94c

Function at 0x433997
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0042b333
and dword [ebp - 4], 0
cmp dword [0x452344], 0
mov ebx, eax
jne 0x433a48
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x433af9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x440ca0
push edi
call esi
test eax, eax
je 0x433af9
push eax
call fcn.0042b2c1
mov dword [esp], 0x440c90
push edi
mov dword [0x452344], eax
call esi
push eax
call fcn.0042b2c1
mov dword [esp], 0x440c7c
push edi
mov dword [0x452348], eax
call esi
push eax
call fcn.0042b2c1
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x45234c], eax
call esi
push eax
call fcn.0042b2c1
pop ecx
mov dword [0x452354], eax
test eax, eax
je 0x433a48
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042b2c1
pop ecx
mov dword [0x452350], eax
mov eax, dword [0x452350]
cmp eax, ebx
je 0x433aa0
cmp dword [0x452354], ebx
je 0x433aa0
push eax
call fcn.0042b33c
push dword [0x452354]
mov esi, eax
call fcn.0042b33c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x433aa0
test edi, edi
je 0x433aa0
call esi
test eax, eax
je 0x433a97
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x433a97
test byte [ebp - 0xc], 1
jne 0x433aa0
or dword [ebp + 0x10], 0x200000
jmp 0x433ad9
mov eax, dword [0x452348]
cmp eax, ebx
je 0x433ad9
push eax
call fcn.0042b33c
pop ecx
test eax, eax
je 0x433ad9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x433ad9
mov eax, dword [0x45234c]
cmp eax, ebx
je 0x433ad9
push eax
call fcn.0042b33c
pop ecx
test eax, eax
je 0x433ad9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x452344]
call fcn.0042b33c
pop ecx
test eax, eax
je 0x433af9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x433afb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x15cd051f
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x433060
nop
nop
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x1427713f
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x1003b151
Capabilities:
Encode data using xor

Disassembly:
call 0x1003b0ca
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x1003b0fa
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x1003b116
xor edx, 0
jmp 0x1003b121
xor edx, edx
jmp 0x1003b138
jmp 0x1003b144
xor eax, eax
push 0x8427d7c0
call 0x1003b151
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1003b18d
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x1003b166
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x1003b1a4
add eax, 0
jno 0x1003b1a9
add esi, 0
ret 0x10

Function at 0x1003bf12
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x1003bf34
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x1003c0d6
cmp edi, dword [ebp + 0x10]
jb 0x1003c0d6
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.1003b9fe
inc edi
jmp 0x1003bfbd
jmp 0x1003bfca
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1003b9fe
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1003b9fe
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x1003c01e
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x1003c002
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1003c04c
add dword [eax], 0x39
jle 0x1003c028
sub al, 0xf5
mov ch, al
call fcn.1003c061
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x1003dd39
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x1003dd4f
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x1003dd60
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1003dda1
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x1004010d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x10040056
add ebx, 0
push ecx
call 0x1004006b
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x6c9be26e
sub ebx, dword [0x6c9ddaad]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6c9dda9d
call fcn.1003bb35
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1003b043
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x100401c9
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x100401c9
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x10040180
mov eax, 1
lock xchg dword [0x6c9ddaa9], eax
push 0x3dd1fc71
call 0x1004010d
push esi
add esp, 8
cmp eax, 0
jne 0x100400f6
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x1004011c
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x10040131
cmp ecx, edx
cmp eax, 0
je 0x10040156
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x10040140
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1004016f
dec eax
loope 0x10040172
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6c9ddaa9], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x100401a6
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x100401bb
jmp 0x100401c6
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x100400b4
Function at 0x1004722e
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x10047504
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6c9ca721
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6c9c16e7
push 0xffffffffffffffff
call fcn.1003e42e
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x10047298
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.100472b0
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x100474f8
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x100474cc
Function at 0x10056cfe
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10056d20
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10056d20
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10056d20
ret
cmp word [ebx + 4], 0x14c
jne 0x10056d20
test word [ebx + 0x16], 2
je 0x10056d20
test word [ebx + 0x16], 0x100
je 0x10056d20
cmp word [ebx + 0x18], 0x10b
jne 0x10056d20
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10056d20
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10056dac
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10056d40
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1003dc8b
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10056d20
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x10056dac
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10056d20
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10056d20
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10056d20
ret
cmp word [ebx + 4], 0x14c
jne 0x10056d20
test word [ebx + 0x16], 2
je 0x10056d20
test word [ebx + 0x16], 0x100
je 0x10056d20
cmp word [ebx + 0x18], 0x10b
jne 0x10056d20
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10056d20
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10056dac
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10056d40
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1003dc8b
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10056d20
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x10056e63
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10056ebc
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10056e63
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10056e72
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1045cb15
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x10056ec3
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1003dd39
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10056f62
add edi, 4
add eax, 2
dec ecx
jne 0x10056ea8
call 0x10056f0f
loope 0x10056f05
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x10056f5f
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x10056f70
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x10056f23
cmp eax, ecx
ja 0x10056f23
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x10056fad
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x10056fa3
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1003e218
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x10056e72
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10056ebc
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10056e63
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10056e72
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1045cb15
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x10056ec3
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1003dd39
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10056f62
add edi, 4
add eax, 2
dec ecx
jne 0x10056ea8
call 0x10056f0f
loope 0x10056f05
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x10056f5f
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x10056f70
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x10056f23
cmp eax, ecx
ja 0x10056f23
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x10056fad
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x10056fa3
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1003e218
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x10bda058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x10bda1a8
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 0x10bda07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10bda06a
add dl, dl
jne 0x10bda089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10bda0dc
xor eax, eax
add dl, dl
jne 0x10bda096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10bda17d
add dl, dl
jne 0x10bda0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10bda0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10bda0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10bda0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x10bda0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10bda075
mov eax, 1
add dl, dl
jne 0x10bda0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10bda0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10bda0e1
sub eax, ebx
mov ebx, 1
jne 0x10bda128
mov ecx, 1
add dl, dl
jne 0x10bda10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10bda119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10bda105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10bda075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x10bda13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10bda14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10bda136
cmp eax, 0x7d00
jae 0x10bda16d
cmp eax, 0x500
jb 0x10bda168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10bda075
cmp eax, 0x7f
ja 0x10bda170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10bda075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x10bda19e
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 0x10bda075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4094aa
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0xc], 1
jne 0x4094c3
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [esi + 4], eax
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x409536
mov ecx, esi
call fcn.004095b1
test al, al
je 0x4094fe
mov eax, 0x4e20
cmp dword [ebp + 0xc], eax
jbe 0x4094fe
push eax
push dword [ebp + 8]
mov ecx, esi
call fcn.004094aa
jmp 0x409539
cmp dword [esi + 0xc], 1
jne 0x409513
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
jne 0x409513
xor eax, eax
jmp 0x409539
cmp dword [esi + 0xc], 0
jne 0x409531
mov ebx, 0x8000
cmp dword [ebp + 0xc], ebx
jbe 0x409531
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x21
jne 0x409531
push ebx
jmp 0x4094f2
or eax, 0xffffffff
jmp 0x409539
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.0041ccb0
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x409cef
push 0x800
lea eax, [ebp - 0x1000]
push eax
push dword [ebp + 8]
call fcn.0040b0d4
test al, al
je 0x409cef
lea eax, [ebp - 0x1000]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x409d1d
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.0041ccb0
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.0040b694
movzx eax, word [eax]
cmp eax, 0x2e
je 0x409d4e
cmp eax, 0x20
je 0x409d4e
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x409d81
push esi
call fcn.00409c96
test al, al
jne 0x409d94
push 0x800
lea eax, [ebp - 0x1000]
push eax
push esi
call fcn.0040b0d4
test al, al
je 0x409d94
push 0
lea eax, [ebp - 0x1000]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x409d94
cmp byte [ebp + 0xc], 0
je 0x409d90
push dword [ebp + 0x10]
push esi
call fcn.00409f5a
xor eax, eax
jmp 0x409dac
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x409da9
cmp eax, 3
je 0x409da9
xor eax, eax
inc eax
jmp 0x409dac
push 2
pop eax
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x409f5a
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.0041ccb0
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne bl
test bl, bl
jne 0x409faa
push 0x800
lea eax, [ebp - 0x1000]
push eax
push dword [ebp + 8]
call fcn.0040b0d4
test al, al
je 0x409faa
push dword [ebp + 0xc]
lea eax, [ebp - 0x1000]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne bl
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40a107
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
mov eax, 0x1250
call fcn.0041ccb0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1260]
lea eax, [esp + 0xc]
push edi
mov edi, dword [esp + 0x126c]
or ebp, 0xffffffff
push eax
cmp esi, ebp
jne 0x40a1a1
push dword [esp + 0x126c]
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
call ebx
mov esi, eax
cmp esi, ebp
jne 0x40a1c8
push 0x800
lea eax, [esp + 0x264]
push eax
push dword [esp + 0x1270]
call fcn.0040b0d4
test al, al
je 0x40a17a
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x264]
push eax
call ebx
mov esi, eax
cmp esi, ebp
jne 0x40a1c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x40a194
cmp eax, 3
je 0x40a194
cmp eax, 0x12
je 0x40a194
xor eax, eax
inc eax
jmp 0x40a196
xor eax, eax
mov byte [edi + 0x1044], al
jmp 0x40a276
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40a1c0
mov esi, ebp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
setne al
mov byte [edi + 0x1044], al
cmp esi, ebp
je 0x40a276
mov ebx, 0x800
push ebx
push dword [esp + 0x126c]
push edi
call fcn.0040ef27
push ebx
lea eax, [esp + 0x40]
push eax
push edi
call fcn.0040b726
mov ecx, dword [esp + 0x2c]
xor eax, eax
add eax, dword [esp + 0x30]
mov dword [edi + 0x1000], eax
mov eax, dword [esp + 0x10]
adc ecx, 0
mov dword [edi + 0x1008], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 0x1028], eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0x102c], eax
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x1030], eax
mov eax, dword [esp + 0x20]
mov dword [edi + 0x1034], eax
mov eax, dword [esp + 0x24]
mov dword [edi + 0x1038], eax
mov eax, dword [esp + 0x28]
mov dword [edi + 0x103c], eax
lea eax, [esp + 0x24]
mov dword [edi + 0x1004], ecx
lea ecx, [edi + 0x1010]
push eax
call fcn.0040ffef
lea eax, [esp + 0x14]
push eax
lea ecx, [edi + 0x1018]
call fcn.0040ffef
lea eax, [esp + 0x1c]
push eax
lea ecx, [edi + 0x1020]
call fcn.0040ffef
and dword [edi + 0x1040], 0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1250
ret 0xc