joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4643c4
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
and dword [ebp - 0x10], 0
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
lea esi, [eax + ecx*4]
mov ecx, dword [esi]
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 0xc], al
mov eax, ecx
shr eax, 8
mov byte [ebp - 8], al
mov al, cl
mov ebx, ecx
mov byte [ebp - 4], al
push dword [ebp - 4]
shr ebx, 0x18
mov byte [ebp - 0x14], bl
call fcn.004641e9
push dword [ebp - 8]
movzx edi, al
call fcn.00464260
push dword [ebp - 0xc]
movzx eax, al
xor edi, eax
call fcn.00464221
movzx eax, al
xor edi, eax
mov al, bl
call fcn.004642a2
push dword [ebp - 4]
movzx eax, al
xor edi, eax
shl edi, 8
call fcn.00464260
push dword [ebp - 8]
movzx ebx, al
call fcn.00464221
movzx eax, al
xor ebx, eax
mov al, byte [ebp - 0xc]
call fcn.004642a2
push dword [ebp - 0x14]
movzx eax, al
xor ebx, eax
call fcn.004641e9
push dword [ebp - 4]
movzx eax, al
xor ebx, eax
or edi, ebx
shl edi, 8
call fcn.00464221
movzx ebx, al
mov al, byte [ebp - 8]
call fcn.004642a2
push dword [ebp - 0xc]
movzx eax, al
xor ebx, eax
call fcn.004641e9
push dword [ebp - 0x14]
movzx eax, al
xor ebx, eax
call fcn.00464260
movzx eax, al
xor ebx, eax
mov al, byte [ebp - 4]
or edi, ebx
shl edi, 8
call fcn.004642a2
push dword [ebp - 8]
movzx ebx, al
call fcn.004641e9
push dword [ebp - 0xc]
movzx eax, al
xor ebx, eax
call fcn.00464260
push dword [ebp - 0x14]
movzx eax, al
xor ebx, eax
call fcn.00464221
movzx eax, al
xor ebx, eax
or edi, ebx
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
mov dword [esi], edi
jl 0x4643d3
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4644ec
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push esi
push 4
add eax, 4
pop esi
mov dl, byte [ecx + 3]
xor byte [eax - 4], dl
mov dl, byte [ecx + 2]
xor byte [eax], dl
mov edx, dword [ecx]
shr edx, 8
xor byte [eax + 4], dl
mov dl, byte [ecx]
xor byte [eax + 8], dl
inc eax
add ecx, 4
dec esi
jne 0x4644f5
pop esi
ret
Function at 0x46451b
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push esi
xor ecx, ecx
add eax, 2
push edi
movzx esi, byte [eax - 2]
movzx edi, byte [eax - 1]
shl esi, 8
add esi, edi
movzx edi, byte [eax]
shl esi, 8
add esi, edi
movzx edi, byte [eax + 1]
shl esi, 8
add esi, edi
mov dword [edx + ecx*4], esi
inc ecx
add eax, 4
cmp ecx, 4
jl 0x46452a
push 4
pop ecx
mov esi, edx
mov edi, 0xff
push ebx
test cl, 3
mov eax, dword [esi + 0xc]
jne 0x4645b7
rol eax, 8
mov edx, eax
shr edx, 0x10
and edx, edi
movzx ebx, byte [edx + 0x4958c8]
mov edx, eax
shr edx, 0x18
mov bh, byte [edx + 0x4958c8]
movzx edx, ah
movzx edx, byte [edx + 0x4958c8]
and eax, edi
movzx eax, byte [eax + 0x4958c8]
shl ebx, 8
or ebx, edx
shl ebx, 8
or ebx, eax
mov eax, ecx
cdq
and edx, 3
add eax, edx
mov edx, dword [ebp + 8]
sar eax, 2
xor ebx, dword [eax*4 + 0x495ac8]
mov eax, ebx
mov ebx, dword [esi]
xor ebx, eax
mov dword [esi + 0x10], ebx
inc ecx
add esi, 4
cmp ecx, 0x2c
jl 0x46455f
push 9
pop edi
lea esi, [edx + 0x10]
pop ebx
push esi
call fcn.004643c4
add esi, 0x10
dec edi
jne 0x4645ce
pop edi
pop esi
pop ebp
ret 4

Function at 0x4645e5
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
push edi
lea ebx, [esi + 0xb4]
push 4
mov ecx, ebx
add eax, 2
pop edi
mov dl, byte [eax - 2]
mov byte [ecx - 4], dl
mov dl, byte [eax - 1]
mov byte [ecx], dl
mov dl, byte [eax]
mov byte [ecx + 4], dl
mov dl, byte [eax + 1]
mov byte [ecx + 8], dl
inc ecx
add eax, 4
dec edi
jne 0x4645ff
lea edi, [esi + 0xb0]
lea ecx, [esi + 0xa0]
mov eax, edi
call fcn.004644ec
lea eax, [esi + 0x90]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 9
push edi
call fcn.00464175
mov eax, edi
call fcn.0046419b
call fcn.004642dd
mov ecx, dword [ebp - 4]
mov eax, edi
call fcn.004644ec
sub dword [ebp - 4], 0x10
dec dword [ebp - 8]
jne 0x46463f
push edi
call fcn.00464175
mov eax, edi
call fcn.0046419b
mov ecx, esi
call fcn.004644ec
lea edi, [esi + 0xd0]
push 4
mov ecx, ebx
mov eax, edi
pop edx
mov bl, byte [eax - 0x10]
xor bl, byte [ecx - 4]
mov byte [eax], bl
mov bl, byte [eax - 0xf]
xor bl, byte [ecx]
add eax, 4
mov byte [eax - 3], bl
mov bl, byte [eax - 0x12]
xor bl, byte [ecx + 4]
mov byte [eax - 2], bl
mov bl, byte [eax - 0x11]
xor bl, byte [ecx + 8]
inc ecx
dec edx
mov byte [eax - 1], bl
jne 0x464685
xor eax, eax
mov ecx, dword [ebp + 8]
mov cl, byte [eax + ecx]
mov byte [esi + eax + 0xc0], cl
inc eax
cmp eax, 0x10
jl 0x4646b0
and dword [esi + 0xe0], 0
cmp dword [ebp + 0xc], 0
je 0x4646f8
movzx ecx, byte [esi + 0xdf]
push 0xf
pop edx
cmp ecx, edx
jg 0x4646f2
mov eax, esi
sub eax, ecx
add eax, 0xdf
mov bl, byte [eax]
mov byte [edi + edx], bl
dec edx
dec eax
cmp edx, ecx
jge 0x4646e7
mov dword [esi + 0xe0], ecx
pop edi
pop ebx
leave
ret 8
Function at 0x47323f
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push edi
mov dword [edi + 4], ebx
call fcn.0045f64b
push 0x54
push edi
mov dword [ebp - 4], eax
call fcn.00473c82
mov esi, eax
cmp esi, ebx
jne 0x473280
push edi
call fcn.004251c0
mov eax, dword [edi]
mov dword [eax + 0x14], 0x36
mov eax, dword [edi]
mov dword [eax + 0x18], ebx
mov eax, dword [edi]
push edi
call dword [eax]
mov dword [esi], fcn.0047287d
mov dword [esi + 4], fcn.0047299f
mov dword [esi + 8], fcn.00472a52
mov dword [esi + 0xc], fcn.00472ae6
mov dword [esi + 0x10], 0x472b86
mov dword [esi + 0x14], 0x472bec
mov dword [esi + 0x18], 0x472c52
mov dword [esi + 0x1c], 0x472eea
mov dword [esi + 0x20], 0x473007
mov dword [esi + 0x24], fcn.00473129
mov dword [esi + 0x28], 0x473208
mov dword [esi + 0x30], 0x3b9aca00
mov eax, dword [ebp - 4]
xor ecx, ecx
mov dword [esi + 0x2c], eax
inc ecx
lea eax, [esi + 0x40]
mov dword [eax - 8], ebx
mov dword [eax], ebx
dec ecx
sub eax, 4
cmp ecx, ebx
jge 0x4732df
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], 0x54
push 0x416a38
mov dword [edi + 4], esi
call dword [sym.imp.msvcrt.dll_getenv]
cmp eax, ebx
pop ecx
je 0x47334e
lea ecx, [ebp + 0xb]
push ecx
lea ecx, [ebp - 4]
push ecx
push 0x416a30
push eax
mov byte [ebp + 0xb], 0x78
call dword [sym.imp.msvcrt.dll_sscanf]
add esp, 0x10
test eax, eax
jle 0x47334e
cmp byte [ebp + 0xb], 0x6d
je 0x473337
cmp byte [ebp + 0xb], 0x4d
jne 0x473342
mov eax, dword [ebp - 4]
imul eax, eax, 0x3e8
jmp 0x473345
mov eax, dword [ebp - 4]
imul eax, eax, 0x3e8
mov dword [esi + 0x2c], eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4e5902
Capabilities:
Encode data using xor

Disassembly:
jmp fcn.004d5d2e
pushfd
jmp loc.004a2077
or edx, eax
jmp 0x4cff55
mov dword [ebx], edx
jno 0x4ae854
pushfd
pop edi
jmp loc.004a5da8
jmp 0x4e592e
call fcn.004a763e
jmp 0x4e1bf2
ror esi, 0x10
and dl, al
jmp 0x4ae0f5
jno 0x4ae854
pushfd
call fcn.004b28ee
jmp loc.004a1fed
xor edi, 0x4aaf17ce
jae 0x4e3b91
adc ebp, 0xd6b8412d
rol eax, 0x13
jmp 0x4b7a9c
sub ebp, ebx
jmp 0x4d6357
xchg dword [esp], ebx
mov ebx, dword [esp]
push 0xb9f0432a
mov dword [esp], ecx
pushfd
mov dword [esp], edx
jmp 0x4d1956
jae 0x4ce2a7
mov dword [ebx], edx
jmp 0x4dc8eb
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x40e2c4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040a2ac
xor eax, eax
push ebp
push 0x40e4e9
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40e304
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40e31e
mov eax, dword [ebp - 4]
call fcn.0040b278
mov ecx, eax
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040daf8
cmp word [ebp - 0x21a], 0
je 0x40e4d3
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40e4f8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e3ed
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40e4f8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e3ed
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40e534
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e3ed
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40e534
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e3ed
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40e568
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e3ed
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40e59c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40e4d3
xor eax, eax
push ebp
push 0x40e4cc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040e0d4
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40e45c
mov eax, dword [ebp - 0x10]
call fcn.00406f0c
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
invalid
Function at 0x4309e4
Capabilities:
Hash data using murmur3

Disassembly:
xchg ecx, eax
pop es
xchg eax, esi
sub ecx, 0x472d15e1
rol edx, 0xd
inc eax
add edi, ebp
call fcn.0044a512
add edx, 0xcb366795
or edi, dword [0x6cec84]
add eax, dword [0x6ce9c4]
neg esi
xor esi, ebx
xor ebx, eax
dec eax
call fcn.00592738
mov dword [0x6ce43d], 0x9672e85b
rol edx, 2
xor ecx, eax
or ebx, dword [0x6ceb77]
not esi
call fcn.0061c677
not edx
xchg ecx, esi
add dword [0x6ce246], edi
cmp eax, 0x6ce246

Function at 0x430a38
Capabilities:
Hash data using murmur3

Disassembly:
cmp eax, 0x6ce246
ror edi, 6
rol edi, 6
sub dword [0x6ce3bf], eax
xchg ecx, esi
not edx
call fcn.004eefab
not esi
xor ecx, eax
ror edx, 2
mov dword [0x6ce84b], 0xd9d5ecc7
call fcn.00489f90
inc eax
xor ebx, eax
xor esi, ebx
neg esi
push edx
or edi, dword [0x6ceb18]
ror eax, 0x18
sub dword [0x6ce585], 0x39246f18
add edi, 0x58c514d0
not edi
or ebx, dword [0x6ceea2]
call fcn.005fa375
dec ebx
rol edi, 7
call fcn.00592738
call fcn.00413204
ror edi, 7
inc ebx
call fcn.00585a9c
not edi
sub edi, 0x58c514d0
mov dword [0x6ce4ec], 0x27d812e2
rol eax, 0x18
push esp
rol ebx, 2
xor ebx, dword [0x6ceb2e]
inc eax
xor ecx, edi
xor esi, 0x7d1d0e1c
sub ebx, dword [0x6ce912]
or esi, dword [0x6cee30]
xor eax, 0x6cee30
ror eax, 0xf
xor ebx, dword [0x6cef27]
sub ecx, 0xd099e5e2
add ecx, 0xd099e5e2
rol eax, 0xf
xor esi, 0x7d1d0e1c
xor ecx, edi
dec eax
ror ebx, 2
push eax
or ebx, dword [0x6ce8fa]
xor ebx, edx
neg edi
rol eax, 8
add edi, ebp
ror ecx, 0xb
not eax
ror edx, 3
inc edi
inc edi
xor ecx, edx
or ecx, dword [0x6cee2f]
neg edi
inc ebx
ror edi, 0x1a
dec esi
invalid
invalid

Function at 0x430adc
Capabilities:
Hash data using murmur3

Disassembly:
cmp eax, 0x6ce246
ror edi, 6
rol edi, 6
sub dword [0x6ce3bf], eax
xchg ecx, esi
not edx
call fcn.004eefab
not esi
xor ecx, eax
ror edx, 2
mov dword [0x6ce84b], 0xd9d5ecc7
call fcn.00489f90
inc eax
xor ebx, eax
xor esi, ebx
neg esi
push edx
or edi, dword [0x6ceb18]
ror eax, 0x18
sub dword [0x6ce585], 0x39246f18
add edi, 0x58c514d0
not edi
or ebx, dword [0x6ceea2]
call fcn.005fa375
dec ebx
rol edi, 7
call fcn.00592738
call fcn.00413204
ror edi, 7
inc ebx
call fcn.00585a9c
not edi
sub edi, 0x58c514d0
mov dword [0x6ce4ec], 0x27d812e2
rol eax, 0x18
push esp
rol ebx, 2
xor ebx, dword [0x6ceb2e]
inc eax
xor ecx, edi
xor esi, 0x7d1d0e1c
sub ebx, dword [0x6ce912]
or esi, dword [0x6cee30]
xor eax, 0x6cee30
ror eax, 0xf
xor ebx, dword [0x6cef27]
sub ecx, 0xd099e5e2
add ecx, 0xd099e5e2
rol eax, 0xf
xor esi, 0x7d1d0e1c
xor ecx, edi
dec eax
ror ebx, 2
push eax
or ebx, dword [0x6ce8fa]
xor ebx, edx
neg edi
rol eax, 8
add edi, ebp
ror ecx, 0xb
not eax
ror edx, 3
inc edi
inc edi
xor ecx, edx
or ecx, dword [0x6cee2f]
neg edi
inc ebx
ror edi, 0x1a
dec esi
invalid
invalid

Function at 0x430b30
Capabilities:
Hash data using murmur3

Disassembly:
mov eax, dword [0xf7006cee]
rol cl, cl
retf 0x8109
Function at 0x475c1c
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x475c6a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.0047555c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x475c83
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x475c8c
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0047555c
dec esi
jne 0x475cae
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret

Function at 0x47845c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x6d4ff8
cmp dword [edi], 0
jne 0x4784d8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc
mov esi, eax
mov eax, dword [0x6d4ff4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x6c7a94
mov ecx, 2
call fcn.0040714c
mov edx, 0x478434
lea eax, [esi + 5]
call fcn.00478454
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00478454
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x4784ad
mov dword [0x6d4ff4], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x5c89a4
Capabilities:
Check if file exists
Move file

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x5c8a41
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00429d18
cmp eax, 2
jne 0x5c89e7
push 1
mov eax, esi
call fcn.0040b278
push eax
mov eax, edi
call fcn.0040b278
push eax
call sub.kernel32.dll_MoveFileExW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x5c8a2b
mov eax, esi
call fcn.0040b278
mov edx, eax
lea eax, [ebp - 4]
call fcn.0040b2dc
mov eax, dword [ebp - 4]
call fcn.00423a20
mov ebx, eax
test bl, bl
jne 0x5c8a10
call sub.kernel32.dll_GetLastError
cmp eax, 2
jne 0x5c8a2b
mov eax, esi
call fcn.0040b278
push eax
mov eax, edi
call fcn.0040b278
push eax
call sub.kernel32.dll_MoveFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c8a48
lea eax, [ebp - 4]
call fcn.0040a1c8
ret

Function at 0x5c99b0
Capabilities:
Hash data using sha1

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret
xor edx, edx
mov dword [eax + 0x14], edx
xor edx, edx
mov dword [eax + 0x18], edx
ret
Function at 0x5fd1e8
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
xor ebx, ebx
mov dword [ebp - 0x114], 0x114
lea eax, [ebp - 0x114]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x5fd234
cmp dword [ebp - 0x104], 2
jne 0x5fd234
cmp dword [ebp - 0x110], 5
ja 0x5fd232
cmp dword [ebp - 0x110], 5
jne 0x5fd234
cmp dword [ebp - 0x10c], 1
jb 0x5fd234
mov bl, 1
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5fd23c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf8
push ebx
mov ebx, eax
push 0x104
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov edx, ebx
lea eax, [ebp - 0x208]
call fcn.00424310
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x6003a8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf8
push ebx
mov ebx, eax
push 0x104
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov edx, ebx
lea eax, [ebp - 0x208]
call fcn.00424310
pop ebx
mov esp, ebp
pop ebp

Function at 0x605358
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda4
push ebx
xor edx, edx
mov dword [ebp - 0x25c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x60542a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
lea eax, [ebp - 0x258]
push eax
lea edx, [ebp - 0x25c]
mov eax, ebx
call fcn.005c4ea4
lea eax, [ebp - 0x25c]
mov edx, 0x605448
call fcn.0040b470
mov eax, dword [ebp - 0x25c]
call fcn.0040b278
push eax
call sub.kernel32.dll_FindFirstFileW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x605411
xor eax, eax
push ebp
push 0x60540a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x258]
call fcn.00605308
test al, al
je 0x6053df
mov byte [ebp - 1], 1
jmp 0x6053f3
lea eax, [ebp - 0x258]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x6053ca
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x605411
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindClose
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x605431
lea eax, [ebp - 0x25c]
call fcn.0040a1c8
ret

Function at 0x60544c
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffd4c
mov ebx, edx
mov esi, eax
push 0x200
push 0x2b4
lea eax, [esp + 8]
push eax
push 0
mov eax, esi
call fcn.0040b278
push eax
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x60548c
mov eax, ebx
lea edx, [esp + 0xc]
mov ecx, 0x104
call fcn.0040b318
jmp 0x605493
mov eax, ebx
call fcn.0040a1c8
add esp, 0x2b4
pop esi
pop ebx
ret

Function at 0x60549c
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffd4c
mov ebx, edx
mov esi, eax
movzx eax, bl
mov eax, dword [eax*4 + 0x6ccf50]
or eax, 0x4001
push eax
push 0x2b4
lea eax, [esp + 8]
push eax
push 0
mov eax, esi
call fcn.0040b278
push eax
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x6054db
mov eax, dword [esp + 4]
jmp 0x6054dd
xor eax, eax
add esp, 0x2b4
pop esi
pop ebx
ret
Function at 0x403ad0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
xor eax, 0xffffffff
test ecx, ecx
mov esi, dword [ebp + 8]
je 0x403af9
xor al, byte [esi]
movzx edx, al
shr eax, 8
mov edx, dword [edx*4 + section..data]
inc esi
xor eax, edx
dec ecx
jne 0x403ae4
xor eax, 0xffffffff
pop esi
leave
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x510a71ca
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..rsrc
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x37e12e75
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x4061e0
Capabilities:
Terminate thread
Write file on windows

Disassembly:
sub esp, 0x14
push ebx
push edi
xor edi, edi
mov eax, dword [0x445b0c]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, edi
je 0x406260
push esi
push edi
push edi
push 3
push edi
push edi
push 0x40000000
push edi
push 0x445a04
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], 0x1f40
mov dword [esp + 0x3c], edi
call fcn.00406450
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40624d
lea eax, [esp + 0xc]
push edi
push eax
lea ecx, [esp + 0x18]
push 0x10
push ecx
push esi
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call ebx
push 0x3e8
mov edx, dword [0x445b0c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
mov eax, dword [0x445b08]
cmp eax, edi
je 0x406281
mov eax, dword [0x445b08]
cmp eax, 0xffffffff
je 0x406281
mov eax, dword [0x445b08]
push eax
call ebx
mov dword [0x445b08], edi
mov eax, dword [0x445b0c]
cmp eax, edi
je 0x4062a9
mov eax, dword [0x445b0c]
cmp eax, 0xffffffff
je 0x4062a9
push 0xffffffffffffffff
mov ecx, dword [0x445b0c]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [0x445b0c], edi
call fcn.004063b0
mov dword [0x445b14], edi
pop edi
pop ebx
add esp, 0x14
ret

Function at 0x439373
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.004393f2
jae 0x43937f
xor ecx, ecx
call fcn.004393f2
jae 0x4393a9
xor eax, eax
call fcn.004393f2
jae 0x4393ba
mov al, 0x10
call fcn.004393f2
adc al, al
jae 0x43939b
jne 0x4393e7
stosb byte es:[edi], al
jmp 0x439380
call fcn.004393fe
dec ecx
loop 0x4393c6
mov eax, ebp
call fcn.004393fc
jmp 0x4393e8
lodsb al, byte [esi]
shr eax, 1
je 0x43940e
adc ecx, 2
mov ebp, eax
jmp 0x4393e8
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.004393fc
cmp eax, 0x7d00
jae 0x4393e6
cmp eax, 0x500
jae 0x4393e7
cmp eax, 0x7f
ja 0x4393e8
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x439380
pop ebp
ret 8