joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401be0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x14], 7
jbe 0x401c0d
mov dword [ebp - 0x10], 1
jmp 0x401c14
mov dword [ebp - 0x10], 0
mov dl, byte [ebp - 0x10]
mov byte [ebp - 1], dl
movzx eax, byte [ebp - 1]
test eax, eax
je 0x401c30
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x14], 7
jbe 0x401c5a
mov dword [ebp - 0x18], 1
jmp 0x401c61
mov dword [ebp - 0x18], 0
mov al, byte [ebp - 0x18]
mov byte [ebp - 2], al
movzx ecx, byte [ebp - 2]
test ecx, ecx
je 0x401c7d
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x30]
shl ecx, 1
push ecx
mov edx, dword [ebp - 0x34]
push edx
push 1
push 0
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x401caf
mov al, 1
jmp 0x401cb1
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x401dd0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov ecx, dword [ebp + 0xc]
call fcn.00405cb0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x14], 7
jbe 0x401e0d
mov dword [ebp - 0xc], 1
jmp 0x401e14
mov dword [ebp - 0xc], 0
mov dl, byte [ebp - 0xc]
mov byte [ebp - 1], dl
movzx eax, byte [ebp - 1]
test eax, eax
je 0x401e30
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, eax
jne 0x401e57
mov dword [ebp - 0x14], 1
jmp 0x401e5e
mov dword [ebp - 0x14], 0
movzx eax, byte [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x405b00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x405b24
xor eax, eax
jmp 0x405ba4
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x405b3b
xor eax, eax
jmp 0x405ba4
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x405b87
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x405b87
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x405b5e
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x405b93
xor eax, eax
jmp 0x405ba4
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x405ba1
xor eax, eax
jmp 0x405ba4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x406a10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5698c0
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x5d2640]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x250], 0
push 0x579374
lea ecx, [ebp - 0x234]
call fcn.00404440
mov dword [ebp - 4], 0
push 0x20a
push 0
lea eax, [ebp - 0x21c]
push eax
call fcn.0051e6d0
add esp, 0xc
push 0
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x21c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x406ac0
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x24c]
call fcn.00404440
mov dword [ebp - 0x254], eax
mov ecx, dword [ebp - 0x254]
push ecx
lea ecx, [ebp - 0x234]
call fcn.004047e0
lea ecx, [ebp - 0x24c]
call fcn.00405e70
lea edx, [ebp - 0x234]
push edx
mov ecx, dword [ebp + 8]
call fcn.004042e0
mov eax, dword [ebp - 0x250]
or eax, 1
mov dword [ebp - 0x250], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.00405e70
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.0050f496
mov esp, ebp
pop ebp
ret
Function at 0x408340
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov ecx, dword [ebp + 8]
call fcn.00405cb0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4083c5
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x14], 7
jbe 0x40837e
mov dword [ebp - 0xc], 1
jmp 0x408385
mov dword [ebp - 0xc], 0
mov cl, byte [ebp - 0xc]
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 1]
test edx, edx
je 0x4083a1
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0x10
je 0x4083c5
mov dword [ebp - 0x14], 1
jmp 0x4083cc
mov dword [ebp - 0x14], 0
movzx eax, byte [ebp - 0x14]
mov esp, ebp
pop ebp
ret

Function at 0x4083e0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov ecx, dword [ebp + 8]
call fcn.00405cb0
mov dword [ebp - 0x14], eax
push 0
mov eax, dword [ebp - 0x14]
push eax
call fcn.005281ec
add esp, 8
cmp eax, 0xffffffff
jne 0x40845d
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x14], 7
jbe 0x408422
mov dword [ebp - 0xc], 1
jmp 0x408429
mov dword [ebp - 0xc], 0
mov cl, byte [ebp - 0xc]
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 1]
test edx, edx
je 0x408445
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.0052a1ac
add esp, 4
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x408470
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x5d2640]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x211], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x230], ecx
cmp dword [ebp - 0x230], 0
je 0x408658
xor edx, edx
mov dword [ebp - 0x264], edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 0x25c], edx
mov dword [ebp - 0x258], edx
mov dword [ebp - 0x254], edx
mov dword [ebp - 0x250], edx
mov dword [ebp - 0x24c], edx
mov word [ebp - 0x248], dx
mov eax, 0x614
mov word [ebp - 0x254], ax
push 0x20a
push 0
lea ecx, [ebp - 0x210]
push ecx
call fcn.0051e6d0
add esp, 0xc
mov edx, dword [ebp + 8]
mov dword [ebp - 0x218], edx
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x220], eax
mov ecx, dword [ebp - 0x218]
cmp dword [ecx + 0x14], 7
jbe 0x408525
mov dword [ebp - 0x21c], 1
jmp 0x40852f
mov dword [ebp - 0x21c], 0
mov dl, byte [ebp - 0x21c]
mov byte [ebp - 0x212], dl
movzx eax, byte [ebp - 0x212]
test eax, eax
je 0x408560
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx]
mov dword [ebp - 0x234], edx
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x220], eax
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x238], ecx
mov edx, dword [ebp - 0x238]
mov dword [ebp - 0x23c], edx
mov eax, dword [ebp - 0x23c]
push eax
push 0x105
lea ecx, [ebp - 0x210]
push ecx
call fcn.0052a148
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x240], eax
mov ecx, dword [ebp - 0x240]
shl ecx, 1
mov dword [ebp - 0x224], ecx
cmp dword [ebp - 0x224], 0x20a
jae 0x4085bb
jmp 0x4085c0
call fcn.0050f5e9
xor edx, edx
mov eax, dword [ebp - 0x224]
mov word [ebp + eax - 0x210], dx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x244], edx
mov eax, dword [ebp - 0x244]
lea ecx, [eax + eax + 2]
mov dword [ebp - 0x228], ecx
cmp dword [ebp - 0x228], 0x20a
jae 0x4085fa
jmp 0x4085ff
call fcn.0050f5e9
xor edx, edx
mov eax, dword [ebp - 0x228]
mov word [ebp + eax - 0x210], dx
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x25c], ecx
mov dword [ebp - 0x260], 3
lea edx, [ebp - 0x264]
push edx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x408642
mov dword [ebp - 0x22c], 1
jmp 0x40864c
mov dword [ebp - 0x22c], 0
mov al, byte [ebp - 0x22c]
mov byte [ebp - 0x211], al
mov al, byte [ebp - 0x211]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050f496
mov esp, ebp
pop ebp
ret
Function at 0x408970
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x569aed
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5d2640]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov dword [edx], 0
mov eax, dword [ebp - 0x18]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 8], 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x14], eax
mov edx, 0x41
mov word [ebp - 0x10], dx
cmp dword [ebp - 0x14], 0
je 0x408a0e
mov eax, dword [ebp - 0x14]
and eax, 1
je 0x4089f8
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00409fa0
mov edx, dword [ebp - 0x14]
shr edx, 1
mov dword [ebp - 0x14], edx
mov ax, word [ebp - 0x10]
add ax, 1
mov word [ebp - 0x10], ax
jmp 0x4089de
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040c4a0
mov edx, dword [ebp - 0x1c]
or edx, 1
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040f420
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x40bdc0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x569e50
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x5d2640]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x14], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1c], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x20], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x24], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x28], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x2c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x30], 0
push 8
call fcn.00495822
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x40bea2
mov dword [ebp - 4], 0
push 1
call fcn.0050e047
add esp, 4
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 4], eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x18], edx
jmp 0x40bea9
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x34], ecx
mov ecx, dword [ebp - 0x10]
call fcn.0040e960
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x412610
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [0x5d2640]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x428], 0
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.0051e6d0
add esp, 0xc
push 0x208
push 0
lea ecx, [ebp - 0x414]
push ecx
call fcn.0051e6d0
add esp, 0xc
lea edx, [ebp - 0x20c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x41c], eax
mov ecx, dword [ebp - 0x41c]
mov dword [ebp - 0x424], ecx
mov edx, dword [ebp - 0x41c]
cmp dword [edx + 0x14], 7
jbe 0x412698
mov dword [ebp - 0x420], 1
jmp 0x4126a2
mov dword [ebp - 0x420], 0
mov al, byte [ebp - 0x420]
mov byte [ebp - 0x415], al
movzx ecx, byte [ebp - 0x415]
test ecx, ecx
je 0x4126d3
mov edx, dword [ebp - 0x41c]
mov eax, dword [edx]
mov dword [ebp - 0x42c], eax
mov ecx, dword [ebp - 0x42c]
mov dword [ebp - 0x424], ecx
mov edx, dword [ebp - 0x424]
mov dword [ebp - 0x430], edx
mov eax, dword [ebp - 0x430]
mov dword [ebp - 0x434], eax
lea ecx, [ebp - 0x414]
push ecx
push 0
mov edx, dword [ebp - 0x434]
push edx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea ecx, [ebp - 0x414]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00404440
mov edx, dword [ebp - 0x428]
or edx, 1
mov dword [ebp - 0x428], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050f496
mov esp, ebp
pop ebp
ret
Function at 0x413420
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56a4cd
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x5d2640]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x54]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov dword [edx], 0
mov eax, dword [ebp - 0x18]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 8], 0
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0xc]
push edx
call fcn.004125b0
add esp, 4
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x48]
or eax, dword [ebp - 0x44]
jne 0x4134c2
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040c4a0
mov edx, dword [ebp - 0x14]
or edx, 1
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00414fb0
mov eax, dword [ebp + 8]
jmp 0x4135be
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x14], 7
jbe 0x4134e0
mov dword [ebp - 0x24], 1
jmp 0x4134e7
mov dword [ebp - 0x24], 0
mov al, byte [ebp - 0x24]
mov byte [ebp - 0xd], al
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
je 0x413503
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
push 0x579634
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.0052aaa4
add esp, 8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x413552
lea edx, [ebp - 0x54]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040c4a0
mov eax, dword [ebp - 0x14]
or eax, 1
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00414fb0
mov eax, dword [ebp + 8]
jmp 0x4135be
lea ecx, [ebp - 0xe]
push ecx
mov edx, dword [ebp - 0x48]
push edx
lea ecx, [ebp - 0x54]
call fcn.004147c0
lea eax, [ebp - 0x54]
mov dword [ebp - 0x3c], eax
xor ecx, ecx
shl ecx, 0
mov edx, dword [ebp - 0x3c]
add ecx, dword [edx]
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x20]
push eax
push 1
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x40]
push edx
call fcn.0052960e
add esp, 0x10
mov eax, dword [ebp - 0x20]
push eax
call fcn.00528d48
add esp, 4
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040c4a0
mov edx, dword [ebp - 0x14]
or edx, 1
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00414fb0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4214d0
Capabilities:
Hash data using sha1

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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x106c
call fcn.0050f7d0
mov eax, dword [0x5d2640]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
jne 0x42473f
push str._nUsage:_n______EXEFILE___FILENAME__n
call fcn.00424b90
add esp, 4
jmp 0x424856
push 0x57a3f4
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1064]
push ecx
call fcn.0052ab0d
add esp, 0xc
cmp dword [ebp - 0x1064], 0
jne 0x424776
mov edx, dword [ebp + 8]
push edx
push 0x57a3f8
call fcn.00424b90
add esp, 8
jmp 0x424856
lea eax, [ebp - 0x1060]
push eax
call fcn.004214d0
add esp, 4
mov ecx, dword [ebp - 0x1064]
push ecx
push 0x1000
push 1
lea edx, [ebp - 0x1004]
push edx
call fcn.0052960e
add esp, 0x10
mov dword [ebp - 0x106c], eax
cmp dword [ebp - 0x106c], 0
je 0x4247d0
mov eax, dword [ebp - 0x106c]
push eax
lea ecx, [ebp - 0x1004]
push ecx
lea edx, [ebp - 0x1060]
push edx
call fcn.00424210
add esp, 0xc
jmp 0x424785
mov eax, dword [ebp - 0x1064]
push eax
call fcn.00533570
add esp, 4
test eax, eax
je 0x4247f6
mov ecx, dword [ebp + 8]
push ecx
push 0x57a40c
call fcn.00424b90
add esp, 8
jmp 0x424856
lea edx, [ebp - 0x1060]
push edx
call fcn.00424350
add esp, 4
mov eax, dword [ebp - 0x1064]
push eax
call fcn.00528d48
add esp, 4
mov dword [ebp - 0x1068], 0
jmp 0x42482f
mov ecx, dword [ebp - 0x1068]
add ecx, 1
mov dword [ebp - 0x1068], ecx
cmp dword [ebp - 0x1068], 0x14
jge 0x424856
mov edx, dword [ebp - 0x1068]
movzx eax, byte [ebp + edx - 0x1048]
push eax
push 0x57a420
call fcn.00424b90
add esp, 8
jmp 0x424820
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050f496
mov esp, ebp
pop ebp
ret
Function at 0x424870
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x106c
call fcn.0050f7d0
mov eax, dword [0x5d2640]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
jne 0x4248b1
cmp dword [ebp + 0x10], 0
je 0x4248a9
push str.FileNameInPut_Is_NULL
push 0x57a440
mov eax, dword [ebp + 0x10]
push eax
call fcn.00424bf0
add esp, 0xc
mov eax, dword [ebp + 0xc]
jmp 0x4249ff
push 0x57a444
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x1068]
push edx
call fcn.0052ab0d
add esp, 0xc
cmp dword [ebp - 0x1068], 0
jne 0x4248f5
cmp dword [ebp + 0x10], 0
je 0x4248ed
mov eax, dword [ebp + 8]
push eax
push 0x57a448
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00424bf0
add esp, 0xc
mov eax, dword [ebp + 0xc]
jmp 0x4249ff
lea edx, [ebp - 0x1060]
push edx
call fcn.004214d0
add esp, 4
mov eax, dword [ebp - 0x1068]
push eax
push 0x1000
push 1
lea ecx, [ebp - 0x1004]
push ecx
call fcn.0052960e
add esp, 0x10
mov dword [ebp - 0x106c], eax
cmp dword [ebp - 0x106c], 0
je 0x42494f
mov edx, dword [ebp - 0x106c]
push edx
lea eax, [ebp - 0x1004]
push eax
lea ecx, [ebp - 0x1060]
push ecx
call fcn.00424210
add esp, 0xc
jmp 0x424904
mov edx, dword [ebp - 0x1068]
push edx
call fcn.00533570
add esp, 4
test eax, eax
je 0x424982
cmp dword [ebp + 0x10], 0
je 0x42497d
mov eax, dword [ebp + 8]
push eax
push 0x57a45c
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00424bf0
add esp, 0xc
mov eax, dword [ebp + 0xc]
jmp 0x4249ff
lea edx, [ebp - 0x1060]
push edx
call fcn.00424350
add esp, 4
mov eax, dword [ebp - 0x1068]
push eax
call fcn.00528d48
add esp, 4
mov dword [ebp - 0x1064], 0
jmp 0x4249bb
mov ecx, dword [ebp - 0x1064]
add ecx, 1
mov dword [ebp - 0x1064], ecx
cmp dword [ebp - 0x1064], 0x14
jge 0x4249ef
mov edx, dword [ebp - 0x1064]
movzx eax, byte [ebp + edx - 0x1048]
push eax
push str._02x
mov ecx, dword [ebp - 0x1064]
mov edx, dword [ebp + 0xc]
lea eax, [edx + ecx*2]
push eax
call fcn.00424bf0
add esp, 0xc
jmp 0x4249ac
mov ecx, dword [ebp - 0x1064]
mov edx, dword [ebp + 0xc]
mov byte [edx + ecx*2], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050f496
mov esp, ebp
pop ebp
ret
Function at 0x431b30
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0x811c9dc5
mov dword [ebp - 8], 0
jmp 0x431b4f
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0xc]
jae 0x431b72
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
movzx eax, byte [edx]
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
imul ecx, dword [ebp - 4], 0x1000193
mov dword [ebp - 4], ecx
jmp 0x431b46
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x43e420
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56c99d
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x5d2640]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.00495e52
mov byte [ebp - 4], 2
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x70]
call fcn.00495b81
mov ecx, dword [ebp - 0x7c]
cmp dword [ecx + 0xc], 0
jne 0x43e47f
mov dword [ebp - 0x80], 0
jmp 0x43e485
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x8c], eax
push 0
mov ecx, dword [ebp - 0x8c]
push ecx
lea edx, [ebp + 0x20]
push edx
lea ecx, [ebp - 0x70]
call fcn.004963f5
test eax, eax
je 0x43e4da
mov byte [ebp - 0x71], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.00495ebd
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00405e70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00405e70
mov al, byte [ebp - 0x71]
jmp 0x43e58b
movzx eax, byte [ebp + 0x38]
test eax, eax
je 0x43e55d
lea ecx, [ebp + 0x20]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x78]
cmp dword [eax + 0x14], 7
jbe 0x43e506
mov dword [ebp - 0x84], 1
jmp 0x43e510
mov dword [ebp - 0x84], 0
mov cl, byte [ebp - 0x84]
mov byte [ebp - 0x72], cl
movzx edx, byte [ebp - 0x72]
test edx, edx
je 0x43e538
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x98], ecx
mov edx, dword [ebp - 0x98]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 0x73], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.00495ebd
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00405e70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00405e70
mov al, byte [ebp - 0x73]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050f496
mov esp, ebp
pop ebp
ret 0x34