joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
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
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x2c9d6202
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x7aba7c8a
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x6dccc0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x286000]
push edi
jmp 0x6dccda
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6dcce1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6dccd0
mov eax, 1
add ebx, ebx
jne 0x6dccf3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6dcd04
jne 0x6dcd23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6dcd23
dec eax
add ebx, ebx
jne 0x6dcd10
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x6dcce8
add ebx, ebx
jne 0x6dcd1f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x6dcd75
xor ecx, ecx
sub eax, 3
jb 0x6dcd3b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6dcdaa
sar eax, 1
mov ebp, eax
jmp 0x6dcd46
add ebx, ebx
jne 0x6dcd46
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6dcd14
inc ecx
add ebx, ebx
jne 0x6dcd54
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6dcd14
add ebx, ebx
jne 0x6dcd61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6dcd56
jne 0x6dcd72
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6dcd56
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6dcd94
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6dcd86
jmp 0x6dccd6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6dcd94
add edi, ecx
jmp 0x6dccd6
pop esi
mov edi, esi
mov ecx, 0x3ee5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x6dcdb2
cmp byte [edi], 0x11
jne 0x6dcdb2
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 0x6dcdb7
lea edi, [esi + 0x2d5000]
mov eax, dword [edi]
or eax, eax
je 0x6dce2f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4dfff8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4e0174]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x6dcde4
mov ecx, edi
jns 0x6dce13
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 + 0x4e0178]
or eax, eax
je 0x6dce29
mov dword [ebx], eax
add ebx, 4
jmp 0x6dce01
call dword [esi + 0x4e0188]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x6dce60
cmp al, 0xef
ja 0x6dce53
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x6dce35
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x6dce42
mov ebp, dword [esi + 0x4e017c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x6dce94
sub esp, 0xffffff80
jmp 0x427f4a
Function at 0x406600
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64bfa8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x6fc0c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x28]
call fcn.004046d0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
add eax, 2
xor edx, edx
mov ecx, 3
div ecx
shl eax, 2
mov dword [ebp - 0x34], eax
mov edx, dword [ebp + 0x14]
and edx, 2
jne 0x40666d
mov eax, dword [ebp - 0x34]
xor edx, edx
mov ecx, 0x4c
div ecx
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
push edx
lea ecx, [ebp - 0x28]
call fcn.00407650
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x2c], 0xfffffffa
mov dword [ebp - 0x38], 0
jmp 0x4066a0
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [ebp + 0x10]
jae 0x40672f
mov edx, dword [ebp - 0x3c]
shl edx, 8
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x38]
movzx ecx, byte [eax]
add edx, ecx
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp - 0x2c]
add edx, 8
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 0
jl 0x40672a
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x2c]
shr eax, cl
and eax, 0x3f
movzx ecx, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00407400
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 0x14]
and eax, 2
jne 0x40671f
mov eax, dword [ebp - 0x30]
xor edx, edx
mov ecx, 0x4c
div ecx
test edx, edx
jne 0x40671f
push 0xd
lea ecx, [ebp - 0x28]
call fcn.00407400
push 0xa
lea ecx, [ebp - 0x28]
call fcn.00407400
mov edx, dword [ebp - 0x2c]
sub edx, 6
mov dword [ebp - 0x2c], edx
jmp 0x4066c9
jmp 0x406697
cmp dword [ebp - 0x2c], 0xfffffffa
jle 0x40678b
mov eax, dword [ebp - 0x3c]
shl eax, 8
mov ecx, dword [ebp - 0x2c]
add ecx, 8
shr eax, cl
and eax, 0x3f
movzx ecx, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00407400
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 0x14]
and eax, 2
jne 0x40678b
mov eax, dword [ebp - 0x30]
xor edx, edx
mov ecx, 0x4c
div ecx
test edx, edx
jne 0x40678b
push 0xd
lea ecx, [ebp - 0x28]
call fcn.00407400
push 0xa
lea ecx, [ebp - 0x28]
call fcn.00407400
mov edx, dword [ebp + 0x14]
and edx, 1
jne 0x4067b4
lea ecx, [ebp - 0x28]
call fcn.004077b0
xor edx, edx
mov ecx, 4
div ecx
test edx, edx
je 0x4067b4
push 0x3d
lea ecx, [ebp - 0x28]
call fcn.00407400
jmp 0x406793
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 8]
call fcn.004044e0
mov eax, dword [ebp - 0x40]
or eax, 1
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004048b0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005bcdb6
mov esp, ebp
pop ebp
ret
Function at 0x406980
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov dword [ebp - 8], 0
mov byte [ebp - 1], 0
lea ecx, [ebp - 8]
push ecx
push 0
push 0
push 0x8003
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x4069bc
jmp 0x406a08
push 0
mov ecx, dword [ebp + 0xc]
call fcn.004077b0
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00406a50
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x4069e0
jmp 0x406a08
mov edx, dword [ebp + 0x10]
push edx
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x406a00
jmp 0x406a08
mov byte [ebp - 1], 1
xor ecx, ecx
jne 0x40699d
cmp dword [ebp - 8], 0
je 0x406a20
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test eax, eax
jne 0x406a20
mov byte [ebp - 1], 0
mov dword [ebp - 8], 0
movzx eax, byte [ebp - 1]
test eax, eax
jne 0x406a3b
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00406bf0
add esp, 4
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x406cc0
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0xc], 1
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp + 8]
push ecx
call fcn.00406900
add esp, 8
movzx edx, al
test edx, edx
jne 0x406cf1
mov byte [ebp - 1], 0
jmp 0x406e31
mov ecx, dword [ebp + 0xc]
call fcn.004077b0
xor edx, edx
div dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0xc]
call fcn.004077b0
xor edx, edx
div dword [ebp - 0xc]
test edx, edx
je 0x406d1b
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0xc]
call fcn.004077b0
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00406f30
mov edx, dword [eax]
mov dword [ebp - 0x24], edx
push 0
mov eax, dword [ebp - 0xc]
imul eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00407100
mov eax, 0x3e8
xor edx, edx
div dword [ebp - 0xc]
mov eax, 0x3e8
sub eax, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], 0
jmp 0x406d81
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
cmp dword [ebp - 0x14], 0
jne 0x406e1d
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x10]
jg 0x406da6
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 1
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
je 0x406de1
mov ecx, dword [ebp + 0xc]
call fcn.004077b0
sub eax, dword [ebp - 8]
push eax
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00406a50
add eax, dword [ebp - 8]
push eax
push 0
mov eax, dword [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov dword [ebp - 0x20], eax
jmp 0x406e06
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00406a50
add eax, dword [ebp - 8]
push eax
push 0
mov eax, dword [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 0
jne 0x406e18
mov byte [ebp - 1], 0
jmp 0x406e1d
jmp 0x406d78
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004076f0
xor ecx, ecx
jne 0x406cd1
lea edx, [ebp + 8]
push edx
call fcn.00406bf0
add esp, 4
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x407ab0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64c0eb
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x6fc0c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2dc], 0
lea eax, [ebp - 0x2d0]
push eax
call fcn.00407d80
add esp, 4
mov dword [ebp - 0x2d8], 0
mov ecx, dword [ebp + 0xc]
push ecx
push 0x200
push 1
lea edx, [ebp - 0x220]
push edx
call fcn.005e3c04
add esp, 0x10
mov dword [ebp - 0x2d8], eax
cmp dword [ebp - 0x2d8], 0
jbe 0x407b46
mov eax, dword [ebp - 0x2d8]
push eax
lea ecx, [ebp - 0x220]
push ecx
lea edx, [ebp - 0x2d0]
push edx
call fcn.00407dc0
add esp, 0xc
jmp 0x407afe
lea eax, [ebp - 0x2d0]
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.00407ee0
add esp, 8
lea ecx, [ebp - 0x238]
call fcn.004046d0
mov dword [ebp - 4], 0
mov dword [ebp - 0x2d4], 0
jmp 0x407b86
mov edx, dword [ebp - 0x2d4]
add edx, 1
mov dword [ebp - 0x2d4], edx
cmp dword [ebp - 0x2d4], 0x10
jae 0x407bda
mov eax, dword [ebp - 0x2d4]
movzx ecx, byte [ebp + eax - 0x20]
sar ecx, 4
push ecx
call fcn.00409850
add esp, 4
movzx edx, al
push edx
lea ecx, [ebp - 0x238]
call fcn.00407400
mov eax, dword [ebp - 0x2d4]
movzx ecx, byte [ebp + eax - 0x20]
push ecx
call fcn.00409850
add esp, 4
movzx edx, al
push edx
lea ecx, [ebp - 0x238]
call fcn.00407400
jmp 0x407b77
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp + 8]
call fcn.004044e0
mov ecx, dword [ebp - 0x2dc]
or ecx, 1
mov dword [ebp - 0x2dc], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call fcn.004048b0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005bcdb6
mov esp, ebp
pop ebp
ret

Function at 0x407d80
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x67452301
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0x10325476
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
mov edx, dword [ebp + 8]
mov dword [edx + 4], 0
pop ebp
ret
Function at 0x43c960
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6502a8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x6fc0c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
je 0x43c9a0
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x43c9ac
mov al, 1
jmp 0x43cb4f
mov dword [ebp - 0x48], 8
call fcn.00435050
push eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x3c], eax
call fcn.00435050
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.004350b0
add esp, 8
movzx eax, al
test eax, eax
je 0x43c9ef
xor al, al
jmp 0x43cb4f
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.00424cd0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x28]
call fcn.00406800
mov ecx, eax
call fcn.00428500
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.004077b0
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x28]
call fcn.00406800
mov ecx, eax
call fcn.00428500
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x40
push ecx
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx + 0x38]
call fcn.0043e480
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x43ca6a
cmp dword [ebp - 0x38], 1
je 0x43ca71
cmp dword [ebp - 0x38], 3
je 0x43cb0b
jmp 0x43cb23
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x3d], 0
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00406800
mov ecx, eax
call fcn.00428500
mov edx, dword [ebp - 0x44]
sub edx, eax
mov dword [ebp - 0x34], edx
je 0x43cad4
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
push 1
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.00406800
mov ecx, eax
call fcn.00428500
push eax
call fcn.00606dbc
add esp, 0x10
cmp dword [ebp - 0x34], eax
je 0x43cad4
mov byte [ebp - 0x2d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004048b0
mov al, byte [ebp - 0x2d]
jmp 0x43cb4f
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x43caf7
mov byte [ebp - 0x2e], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004048b0
mov al, byte [ebp - 0x2e]
jmp 0x43cb4f
cmp dword [ebp - 0x34], 0
jne 0x43cb09
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.00406250
jmp 0x43cb3b
mov byte [ebp - 0x2f], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004048b0
mov al, byte [ebp - 0x2f]
jmp 0x43cb4f
mov byte [ebp - 0x30], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004048b0
mov al, byte [ebp - 0x30]
jmp 0x43cb4f
jmp 0x43ca02
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005bcdb6
mov esp, ebp
pop ebp
ret
Function at 0x43f010
Capabilities:
Convert ip address from string

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, word [ebp + 0x10]
cmp eax, 2
jne 0x43f028
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 4], ecx
jmp 0x43f031
mov edx, dword [ebp + 0xc]
add edx, 8
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
call fcn.00409890
push eax
movzx ecx, word [ebp + 0x10]
push ecx
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jg 0x43f051
xor al, al
jmp 0x43f05d
mov edx, dword [ebp + 0xc]
mov ax, word [ebp + 0x10]
mov word [edx], ax
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x440a40
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 1
push 0x673ddc
mov ecx, dword [ebp - 4]
call fcn.00440a80
mov esp, ebp
pop ebp
ret
Function at 0x4519c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
mov ecx, dword [ebp + 8]
call fcn.0043d1b0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4519ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4519ef
xor al, al
jmp 0x4519f1
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x451c30
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x651aeb
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x6fc0c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x2a9], 1
lea ecx, [ebp - 0x28]
call fcn.00446a90
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00446a90
mov byte [ebp - 4], 1
mov dword [ebp - 0x2b0], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.00462b40
lea ecx, [ebp - 0x28]
call fcn.0044d720
movzx ecx, al
test ecx, ecx
jne 0x451ccd
lea edx, [ebp - 0x2b4]
push edx
lea ecx, [ebp - 0x28]
call fcn.0044ec00
mov ecx, eax
call fcn.00447cf0
movzx eax, word [eax]
cmp eax, 0x5c
je 0x451ccd
push 0x6755d0
lea ecx, [ebp - 0x28]
call fcn.00448000
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x58]
call fcn.00462b40
push 0x6755d4
lea ecx, [ebp - 0x58]
call fcn.00448000
lea edx, [ebp - 0x2a8]
push edx
lea ecx, [ebp - 0x58]
call fcn.0043d1b0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2b0], eax
mov eax, dword [ebp - 0x2a8]
and eax, 0x10
je 0x451db5
push 0x675620
lea ecx, [ebp - 0x27c]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x451d3d
push 0x675624
lea edx, [ebp - 0x27c]
push edx
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x451d3f
jmp 0x451dbe
movzx eax, byte [ebp + 0xc]
test eax, eax
jne 0x451d53
mov byte [ebp - 0x2a9], 0
jmp 0x451dda
lea ecx, [ebp - 0x40]
call fcn.00446a90
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00462b40
lea edx, [ebp - 0x27c]
push edx
lea ecx, [ebp - 0x40]
call fcn.00448000
movzx eax, byte [ebp + 0xc]
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.00451c30
add esp, 8
movzx edx, al
test edx, edx
jne 0x451da7
mov byte [ebp - 0x2a9], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0043c550
jmp 0x451dda
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0043c550
jmp 0x451dbe
mov byte [ebp - 0x2a9], 0
jmp 0x451dda
lea eax, [ebp - 0x2a8]
push eax
mov ecx, dword [ebp - 0x2b0]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x451d02
mov edx, dword [ebp - 0x2b0]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, byte [ebp - 0x2a9]
mov byte [ebp - 0x2aa], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.0043c550
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0043c550
mov al, byte [ebp - 0x2aa]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005bcdb6
mov esp, ebp
pop ebp
ret
Function at 0x452ac0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x651c83
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x6fc0c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x238], 0
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.005d6120
add esp, 0xc
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x452bf3
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp - 0x238]
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [ebp - 0x23c], 0
je 0x452bd2
push 0x675a94
lea ecx, [ebp - 0x230]
call fcn.00446a20
mov dword [ebp - 0x240], eax
mov ecx, dword [ebp - 0x240]
mov dword [ebp - 0x244], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x244]
push edx
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0045fd70
add esp, 0xc
mov edx, dword [ebp - 0x234]
or edx, 1
mov dword [ebp - 0x234], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.0043c550
mov eax, dword [ebp + 8]
jmp 0x452c12
push 0x675b24
mov ecx, dword [ebp + 8]
call fcn.00446a20
mov eax, dword [ebp - 0x234]
or eax, 1
mov dword [ebp - 0x234], eax
mov eax, dword [ebp + 8]
jmp 0x452c12
push 0x675cd0
mov ecx, dword [ebp + 8]
call fcn.00446a20
mov ecx, dword [ebp - 0x234]
or ecx, 1
mov dword [ebp - 0x234], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005bcdb6
mov esp, ebp
pop ebp
ret