joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426410
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x42642a
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 4], 0xffffffff
je 0x426434
mov eax, 0x1000000
jmp 0x42650c
mov edx, dword [ebp - 0x18]
add edx, 0x140
push edx
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryA]
mov eax, dword [ebp - 0x18]
add eax, 0x140
push eax
call fcn.00464e80
add esp, 4
mov ecx, dword [ebp - 0x18]
mov dl, byte [ecx + eax + 0x13f]
mov byte [ebp - 5], dl
movsx eax, byte [ebp - 5]
cmp eax, 0x5c
je 0x426490
movsx ecx, byte [ebp - 5]
cmp ecx, 0x2f
je 0x426490
push 0x48c2d8
mov edx, dword [ebp - 0x18]
add edx, 0x140
push edx
call fcn.00468800
add esp, 8
cmp dword [ebp + 0x10], 1
jne 0x4264c4
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
mov dword [ebp - 0x10], eax
xor ecx, ecx
cmp dword [ebp - 0x10], 0xffffffff
setne cl
mov byte [ebp - 0x11], cl
movzx edx, byte [ebp - 0x11]
test edx, edx
jne 0x4264c4
mov eax, 0x2000000
jmp 0x42650c
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004245b0
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4264ea
mov eax, dword [ebp - 0xc]
jmp 0x42650c
mov ecx, dword [ebp - 4]
push ecx
call fcn.00424d60
add esp, 4
mov edx, dword [ebp - 0x18]
mov dword [edx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x42650a
mov eax, 0x200
jmp 0x42650c
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x426f90
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x4a2e84]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0
je 0x426fc4
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x426fc4
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx]
test eax, eax
jne 0x426fd3
jmp 0x4270d4
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x118], edx
mov eax, dword [ebp - 0x118]
movsx ecx, byte [eax]
test ecx, ecx
je 0x427025
mov edx, dword [ebp - 0x118]
movsx eax, byte [edx]
cmp eax, 0x2f
je 0x42700b
mov ecx, dword [ebp - 0x118]
movsx edx, byte [ecx]
cmp edx, 0x5c
jne 0x427014
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x118]
add ecx, 1
mov dword [ebp - 0x118], ecx
jmp 0x426fe2
mov edx, dword [ebp - 4]
mov dword [ebp - 0x114], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
je 0x427080
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x220]
push eax
call fcn.004688f0
add esp, 0xc
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp + 0xc]
mov byte [ebp + ecx - 0x220], 0
lea edx, [ebp - 0x220]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00426f90
add esp, 8
mov ecx, dword [ebp - 0x114]
add ecx, 1
mov dword [ebp - 0x114], ecx
mov byte [ebp - 0x110], 0
cmp dword [ebp + 8], 0
je 0x4270a0
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x110]
push eax
call fcn.004687f0
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x110]
push edx
call fcn.00468800
add esp, 8
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4270d4
push 0
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004644d6
mov esp, ebp
pop ebp
ret
Function at 0x42a5d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0xc], 1
jl 0x42a5e8
cmp dword [ebp + 0xc], 8
jg 0x42a5e8
mov byte [ebp - 5], 1
jmp 0x42a5ec
mov byte [ebp - 5], 0
push 0x48ca7c
movzx eax, byte [ebp - 5]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00428160
add esp, 0xc
mov edx, dword [ebp + 8]
mov dword [edx + 0x6af78], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x6af70], 0
jne 0x42a635
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af78], 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x6af70], 0x10000
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af6c], 0
push 0x1fffc
push 0
mov ecx, dword [ebp + 8]
add ecx, 0x4af70
push ecx
call fcn.00466b00
add esp, 0xc
mov edx, dword [ebp + 0xc]
movzx eax, word [edx*8 + 0x48c7c2]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af98], eax
mov edx, dword [ebp + 0xc]
movzx eax, word [edx*8 + 0x48c7c0]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af9c], eax
mov edx, dword [ebp + 0xc]
movzx eax, word [edx*8 + 0x48c7c4]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6afa0], eax
mov edx, dword [ebp + 0xc]
movzx eax, word [edx*8 + 0x48c7c6]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af94], eax
cmp dword [ebp + 0xc], 2
jg 0x42a6c2
mov edx, dword [ebp + 0x10]
movzx eax, word [edx]
or eax, 4
mov ecx, dword [ebp + 0x10]
mov word [ecx], ax
jmp 0x42a6d7
cmp dword [ebp + 0xc], 8
jl 0x42a6d7
mov edx, dword [ebp + 0x10]
movzx eax, word [edx]
or eax, 2
mov ecx, dword [ebp + 0x10]
mov word [ecx], ax
mov edx, dword [ebp + 8]
mov dword [edx + 0x6af84], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af74], 0
mov dword [ebp - 4], 0x8000
mov ecx, dword [ebp - 4]
shl ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
add eax, 0x1af70
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
call eax
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af90], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x6af90], 0
je 0x42a73d
mov eax, dword [ebp + 8]
cmp dword [eax + 0x6af90], 0xffffffff
jne 0x42a759
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af8c], 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x6af90], 0
jmp 0x42a7d1
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af8c], 0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x6af90], 0x106
jae 0x42a781
mov edx, dword [ebp + 8]
push edx
call fcn.0042ab60
add esp, 4
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af7c], 0
mov dword [ebp - 4], 0
jmp 0x42a7a0
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 2
jae 0x42a7d1
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x6af7c]
shl eax, 5
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x1af70]
xor eax, edx
and eax, 0x7fff
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af7c], eax
jmp 0x42a797
mov esp, ebp
pop ebp
ret
Function at 0x42c550
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x42c560
xor eax, eax
jmp 0x42c6fd
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x42c6be
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x48cb08]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x48cb08]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x48cb08]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x48cb08]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x48cb08]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x48cb08]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x48cb08]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x48cb08]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x42c569
cmp dword [ebp + 0x10], 0
je 0x42c6f7
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x48cb08]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x42c6c4
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x42c700
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
movsx eax, byte [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor eax, dword [ecx]
and eax, 0xff
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
shr ecx, 8
xor ecx, dword [eax*4 + 0x48cb08]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
and ecx, 0xff
mov edx, dword [ebp + 8]
add ecx, dword [edx + 4]
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
imul edx, edx, 0x8088405
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shr edx, 0x18
mov eax, dword [ebp + 8]
xor edx, dword [eax + 8]
and edx, 0xff
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x48cb08]
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
pop ebp
ret
Function at 0x42cee0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + 0x2d]
test edx, edx
je 0x42cfc2
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x3c], 0
je 0x42cf31
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x40]
cmp edx, dword [ebp + 0xc]
jae 0x42cf31
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.00446dae
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x3c], 0
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x3c], 0
jne 0x42cf5d
mov edx, dword [ebp + 0xc]
shl edx, 1
push edx
call fcn.00446d74
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x3c], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x40], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x3c]
push ecx
call fcn.004688f0
add esp, 0xc
mov dword [ebp - 8], 0
jmp 0x42cf86
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
jae 0x42cfb9
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x3c]
mov eax, dword [ebp - 8]
movzx ecx, byte [edx + eax]
push ecx
mov edx, dword [ebp - 0x18]
add edx, 0x30
push edx
call fcn.0042c7b0
add esp, 8
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x3c]
mov ecx, dword [ebp - 8]
mov byte [edx + ecx], al
jmp 0x42cf7d
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x3c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x20], 0
je 0x42d01d
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x24]
add eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
cmp eax, dword [ecx + 0x28]
jb 0x42cfea
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x14], 0x30000
xor eax, eax
jmp 0x42d052
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x20]
mov ecx, dword [ebp - 0x18]
add eax, dword [ecx + 0x24]
push eax
call fcn.004688f0
add esp, 0xc
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x24]
add eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp + 0xc]
jmp 0x42d052
mov edx, dword [ebp - 0x18]
cmp dword [edx + 4], 0
je 0x42d046
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, dword [ebp - 0xc]
jmp 0x42d052
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x14], 0x1000000
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x42d6d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x84], 0
je 0x42d792
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x8c]
cmp eax, dword [edx + 0x88]
jb 0x42d704
xor eax, eax
jmp 0x42d802
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x88]
sub eax, dword [edx + 0x8c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jbe 0x42d727
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x84]
mov eax, dword [ebp - 0x10]
add edx, dword [eax + 0x8c]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.004688f0
add esp, 0xc
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x8c]
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x8c], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x74]
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x74], eax
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x78]
push edx
call fcn.0042c550
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x78], eax
mov eax, dword [ebp - 4]
jmp 0x42d802
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x7c], 0
je 0x42d7f6
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x7c]
push ecx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x42d7c3
xor eax, eax
jmp 0x42d802
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x74]
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x74], eax
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x78]
push edx
call fcn.0042c550
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x78], eax
mov eax, dword [ebp - 0xc]
jmp 0x42d802
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x14], 0x1000000
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x42fcf0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 4], ecx
cmp dword [ebp + 0xc], 0
jne 0x42fd0f
xor al, al
jmp 0x42fdeb
mov ecx, dword [ebp + 0xc]
call fcn.00430430
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x42fd27
xor al, al
jmp 0x42fdeb
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov dword [edx + 0x1e4], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0046aef2
add esp, 4
mov edx, dword [ebp - 8]
mov dword [edx + 0x1f0], eax
mov eax, dword [ebp + 8]
add eax, 0x134
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x1d8], eax
push 0
mov edx, dword [ebp + 8]
xor eax, eax
push eax
push edx
mov ecx, dword [ebp - 4]
push ecx
call fcn.0046b295
add esp, 0x10
mov edx, dword [ebp - 4]
push edx
push 1
push 0xe4
mov eax, dword [ebp - 8]
add eax, 8
push eax
call fcn.0046b1dc
add esp, 0x10
push 0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x28]
xor eax, eax
push eax
push edx
mov ecx, dword [ebp - 4]
push ecx
call fcn.0046b295
add esp, 0x10
mov edx, dword [ebp - 4]
push edx
push 1
push 0xec
mov eax, dword [ebp - 8]
add eax, 0xec
push eax
call fcn.0046b1dc
add esp, 0x10
push 0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x1d8]
xor eax, eax
push eax
push edx
mov ecx, dword [ebp - 4]
push ecx
call fcn.0046b295
add esp, 0x10
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x1d8]
mov dword [edx + 0x1dc], ecx
mov al, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x437040
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483764
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
mov eax, dword [0x4a2e84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1d0], ecx
push 0x48d4e2
lea ecx, [ebp - 0x2c]
call fcn.00403a10
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jne 0x43714b
push 0x48d7d4
call fcn.00443190
add esp, 4
movzx eax, al
test eax, eax
jne 0x437102
push 0
push 0x48d7dc
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0
jne 0x437102
lea ecx, [ebp - 0x1c4]
push ecx
push 0x100
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryA]
push 0x48d7e4
call fcn.00442ec0
add esp, 4
mov dword [ebp - 0x1c8], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00403a90
mov eax, dword [ebp - 0x1c8]
jmp 0x437190
lea edx, [ebp - 0x34]
push edx
call fcn.004371d0
add esp, 4
lea eax, [ebp - 0x34]
push eax
call fcn.004371b0
add esp, 4
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
push ecx
push 0x48d7f8
push pe_nt_image_headers32
lea edx, [ebp - 0xbc]
push edx
call fcn.00467807
add esp, 0x10
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00406bb0
jmp 0x437157
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00406bb0
lea ecx, [ebp - 0x2c]
call fcn.00403c40
push eax
mov ecx, dword [ebp - 0x1d0]
add ecx, 0xb0
call fcn.00443ef0
mov dword [ebp - 0x1cc], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00403a90
mov eax, dword [ebp - 0x1cc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004644d6
mov esp, ebp
pop ebp
ret 4
Function at 0x439510
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4839b9
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
mov eax, dword [0x4a2e84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x190], 0xffffffff
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x18c]
call fcn.00403a10
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x18c]
push edx
call fcn.00439480
add esp, 8
lea eax, [ebp - 0x16c]
push eax
lea ecx, [ebp - 0x18c]
call fcn.00403c40
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov dword [ebp - 0x190], eax
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00403a10
mov byte [ebp - 4], 1
cmp dword [ebp - 0x190], 0xffffffff
jne 0x4395de
mov dword [ebp - 0x194], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00403a90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18c]
call fcn.00403a90
mov eax, dword [ebp - 0x194]
jmp 0x439701
lea edx, [ebp - 0x140]
push edx
call fcn.00464e80
add esp, 4
cmp eax, 4
jbe 0x439643
mov eax, dword [ebp - 0x16c]
and eax, 0x10
jne 0x439643
lea ecx, [ebp - 0x140]
push ecx
lea ecx, [ebp - 0x1b0]
call fcn.00403a10
mov dword [ebp - 0x1d4], eax
mov edx, dword [ebp - 0x1d4]
mov dword [ebp - 0x1d8], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1d8]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.00403f80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1b0]
call fcn.00403a90
lea ecx, [ebp - 0x16c]
push ecx
mov edx, dword [ebp - 0x190]
push edx
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
je 0x4396ba
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00406bb0
mov ecx, dword [ebp - 0x16c]
and ecx, 0x10
jne 0x4396b8
lea edx, [ebp - 0x140]
push edx
lea ecx, [ebp - 0x1cc]
call fcn.00403a10
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x1e0], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1e0]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.00403f80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1cc]
call fcn.00403a90
jmp 0x439643
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x170], eax
mov edx, dword [ebp - 0x190]
push edx
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov dword [ebp - 0x1d0], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00403a90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18c]
call fcn.00403a90
mov eax, dword [ebp - 0x1d0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004644d6
mov esp, ebp
pop ebp
ret

Function at 0x43ac60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00467cb8
add esp, 0x10
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.004684f7
add esp, 4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x43adf0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov dword [ebp - 0x80], ecx
mov eax, dword [ebp - 0x80]
mov dword [eax + 0x1e8], 0
mov ecx, dword [ebp - 0x80]
call fcn.0043c700
push 0x48d8e8
mov ecx, dword [ebp + 8]
push ecx
call fcn.0046942d
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x43ae32
xor al, al
jmp 0x43afc7
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x80]
call fcn.00406bb0
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x5c], ecx
mov edx, dword [ebp - 0x18]
push edx
push 1
push 0xf0
mov eax, dword [ebp - 0x80]
add eax, 0x60
push eax
call fcn.0046b1dc
add esp, 0x10
test eax, eax
jne 0x43ae6c
xor al, al
jmp 0x43afc7
mov ecx, dword [ebp - 0x80]
add ecx, 0x90
push ecx
call fcn.00480a72
add esp, 4
lea edx, [ebp - 0x10]
push edx
push 0
mov eax, dword [ebp - 0x80]
add eax, 0x90
push eax
mov ecx, dword [ebp - 0x80]
call fcn.00403c40
push eax
call fcn.00442c40
add esp, 0xc
push eax
call fcn.00442e20
add esp, 8
mov byte [ebp - 0x11], 0
mov ecx, dword [ebp - 0x80]
cmp dword [ecx + 0x60], 1
jne 0x43af62
push 0
push 0x48d8ec
mov ecx, dword [ebp - 0x80]
call fcn.00416dc0
mov dword [ebp - 0x20], eax
push 0
push 0x48d8f4
mov ecx, dword [ebp - 0x80]
call fcn.00416dc0
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x20]
cmp edx, dword [0x486938]
jne 0x43aefe
mov eax, dword [ebp - 0x24]
cmp eax, dword [0x486938]
jne 0x43aefe
mov dword [ebp - 0x84], 0
jmp 0x43af08
mov dword [ebp - 0x84], 1
mov cl, byte [ebp - 0x84]
mov byte [ebp - 0x19], cl
movzx edx, byte [ebp - 0x19]
test edx, edx
je 0x43af62
push 0
push 0
push 0xf0
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax + 0x5c]
push ecx
call fcn.0046b295
add esp, 0x10
lea ecx, [ebp - 0x78]
call fcn.004406d0
mov edx, dword [ebp - 0x80]
mov eax, dword [edx + 0x5c]
push eax
push 1
push 0x4c
lea ecx, [ebp - 0x78]
push ecx
call fcn.0046b1dc
add esp, 0x10
test eax, eax
jne 0x43af58
xor al, al
jmp 0x43afc7
cmp dword [ebp - 0x70], 0
je 0x43af62
mov byte [ebp - 0x11], 1
movzx edx, byte [ebp - 0x11]
test edx, edx
jne 0x43af79
push 0xf0
mov ecx, dword [ebp - 0x80]
call fcn.0043afd0
jmp 0x43afc5
call fcn.00408bc0
add eax, 0xd0
mov ecx, eax
call fcn.00440730
mov byte [ebp - 0x79], al
movzx eax, byte [ebp - 0x79]
test eax, eax
je 0x43afa3
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x80]
call fcn.0043b170
jmp 0x43afc5
call fcn.00408bc0
add eax, 0xd0
mov ecx, eax
call fcn.00440750
push 0xf0
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x80]
call fcn.0043b580
mov al, 1
mov esp, ebp
pop ebp
ret 4