joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4567e4
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff344
push dword [ebp + 0xc]
lea eax, [ebp - 0x560]
push eax
call fcn.0066ce08
add esp, 8
lea edx, [ebp - 0x560]
push edx
call fcn.0066ce38
pop ecx
cmp eax, 0x104
jb 0x456846
lea ecx, [ebp - 0x560]
push ecx
push str.Error___UNC_Path_too_long__n_s
lea eax, [ebp - 0x8ac]
push eax
call fcn.006712b0
add esp, 0xc
lea edx, [ebp - 0x8ac]
push edx
push 0
call fcn.00462ac8
add esp, 8
xor eax, eax
jmp 0x456a32
lea edx, [ebp - 0x560]
push edx
lea ecx, [ebp - 0x664]
push ecx
call fcn.0066ce08
add esp, 8
push 0x5c
lea eax, [ebp - 0x664]
push eax
call fcn.0066cf51
add esp, 8
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
test edx, edx
jne 0x45687e
xor eax, eax
jmp 0x456a32
mov edx, dword [ebp - 0xc]
mov byte [edx], 0
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x4c], eax
lea edx, [ebp - 0x150]
push edx
lea ecx, [ebp - 0x560]
push ecx
call sub.KERNEL32.DLL_FindFirstFileA
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x456a2d
mov dword [ebp - 0x10], 1
mov edx, dword [ebp - 0x10]
test edx, edx
jne 0x4568ed
push 0x140
push 1
lea ecx, [ebp - 0x150]
push ecx
call fcn.0066cc88
add esp, 0xc
lea eax, [ebp - 0x150]
push eax
push dword [ebp - 4]
call sub.KERNEL32.DLL_FindNextFileA
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
cmp edx, 0x12
je 0x456a25
mov ecx, dword [ebp - 0x10]
test ecx, ecx
jne 0x45693e
mov eax, dword [ebp - 0x150]
cmp eax, 0x20
jne 0x456a25
mov edx, dword [0x6eb990]
test edx, edx
je 0x4568b2
lea ecx, [ebp - 0x124]
push ecx
push 0x760cee
lea eax, [ebp - 0xcbc]
push eax
call fcn.006712b0
add esp, 0xc
push 2
lea edx, [ebp - 0xcbc]
push edx
call fcn.004f9088
add esp, 8
jmp 0x4568b2
xor ecx, ecx
mov dword [ebp - 0x10], ecx
push 0x760d04
lea eax, [ebp - 0x124]
push eax
call fcn.0066cdbc
add esp, 8
test eax, eax
je 0x4568b2
push 0x760d06
lea edx, [ebp - 0x124]
push edx
call fcn.0066cdbc
add esp, 8
test eax, eax
je 0x4568b2
lea ecx, [ebp - 0x664]
push ecx
lea eax, [ebp - 0x358]
push eax
call fcn.0066ce08
add esp, 8
push 0x760d09
lea edx, [ebp - 0x358]
push edx
call fcn.0066cd2c
add esp, 8
lea ecx, [ebp - 0x124]
push ecx
lea eax, [ebp - 0x358]
push eax
call fcn.0066cd2c
add esp, 8
test byte [ebp - 0x150], 0x10
je 0x4569cb
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x4569fe
mov eax, dword [ebp - 0x134]
xor edx, edx
mov edx, eax
xor eax, eax
push edx
push eax
mov eax, dword [ebp - 0x130]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [0x900934], eax
mov dword [0x900938], edx
mov dword [ebp - 8], 1
push dword [ebp - 8]
push 0
push 1
lea ecx, [ebp - 0x124]
push ecx
lea eax, [ebp - 0x358]
push eax
push dword [ebp + 8]
call fcn.00456a38
add esp, 0x18
test eax, eax
jmp 0x4568b2
push dword [ebp - 4]
call sub.KERNEL32.DLL_FindClose
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x45a5c8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
imul eax, dword [0x760de0], 0x25
mov edx, dword [eax*8 + 0x947cc4]
mov ecx, dword [ebp + 8]
cmp edx, ecx
ja 0x45a5f8
imul eax, dword [0x760de0], 0x25
mov edx, dword [eax*8 + 0x947cc8]
mov ecx, dword [ebp + 8]
cmp edx, ecx
jae 0x45a60c
push dword [ebp + 8]
call fcn.0045a514
pop ecx
test eax, eax
jne 0x45a60c
xor eax, eax
jmp 0x45a784
imul edx, dword [0x760de0], 0x25
mov eax, dword [ebp + 8]
mov edx, dword [edx*8 + 0x947cc4]
sub eax, edx
xor edx, edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
push 0
push 0x800
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
call fcn.00674900
push edx
push eax
imul ecx, dword [0x760de0], 0x25
mov eax, dword [ecx*8 + 0x947cd0]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
push 0
lea ecx, [ebp - 8]
push ecx
push dword [ebp - 0xc]
push dword [0x760db4]
call sub.KERNEL32.DLL_SetFilePointer
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, 0xffffffff
jne 0x45a68a
call sub.KERNEL32.DLL_GetLastError
test eax, eax
je 0x45a68a
xor eax, eax
jmp 0x45a784
imul edx, dword [0x760de0], 0x25
mov ecx, dword [edx*8 + 0x947cc8]
mov eax, dword [ebp + 8]
sub ecx, eax
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp + 0x10]
cmp edx, ecx
jl 0x45a6df
mov eax, dword [ebp + 0x10]
shl eax, 0xb
mov dword [ebp - 0x14], eax
push 0
lea edx, [ebp - 0x18]
push edx
push dword [ebp - 0x14]
push dword [ebp + 0xc]
push dword [0x760db4]
call sub.KERNEL32.DLL_ReadFile
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
cmp ecx, eax
je 0x45a77b
xor eax, eax
jmp 0x45a784
mov edx, dword [ebp - 0x28]
shl edx, 0xb
imul ecx, dword [0x760de0], 0x25
mov eax, dword [ecx*8 + 0x947ce0]
add edx, eax
mov dword [ebp - 0x14], edx
push 0
lea edx, [ebp - 0x18]
push edx
push dword [ebp - 0x14]
push dword [ebp + 0xc]
push dword [0x760db4]
call sub.KERNEL32.DLL_ReadFile
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
cmp ecx, eax
je 0x45a71d
xor eax, eax
jmp 0x45a784
call fcn.0045a58c
test eax, eax
jne 0x45a72a
xor eax, eax
jmp 0x45a784
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x28]
sub edx, ecx
dec edx
shl edx, 0xb
imul eax, dword [0x760de0], 0x25
mov ecx, dword [eax*8 + 0x947cd0]
add edx, ecx
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x1c]
test edx, edx
jbe 0x45a77b
push 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
add edx, ecx
push edx
push dword [0x760db4]
call sub.KERNEL32.DLL_ReadFile
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
cmp eax, edx
je 0x45a77b
xor eax, eax
jmp 0x45a784
mov eax, dword [ebp + 0x10]
imul dword [0x760dc8]
mov esp, ebp
pop ebp
ret
Function at 0x45a9a4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push 8
push 0
lea eax, [ebp - 8]
push eax
call fcn.0066cc88
add esp, 0xc
mov eax, dword [ebp + 8]
cdq
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
push 0
push pe_nt_image_headers32
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
call fcn.00674900
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 8]
mov dword [0x949e78], ecx
mov eax, dword [ebp - 4]
mov dword [0x949e7c], eax
push 0
push 0x949e7c
push dword [0x949e78]
push dword [0x760db4]
call sub.KERNEL32.DLL_SetFilePointer
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
cmp edx, 0xffffffff
jne 0x45aa1d
call sub.KERNEL32.DLL_GetLastError
test eax, eax
je 0x45aa1d
xor eax, eax
jmp 0x45aa4e
mov edx, dword [ebp + 0x10]
shl edx, 9
mov dword [ebp - 0x10], edx
push 0
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [0x760db4]
call sub.KERNEL32.DLL_ReadFile
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
cmp eax, edx
je 0x45aa4b
xor eax, eax
jmp 0x45aa4e
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x45b1c8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
mov eax, dword [ebp + 8]
cdq
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov eax, dword [0x760dbc]
cdq
push edx
push eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
call fcn.00674900
push edx
push eax
mov eax, dword [0x760dcc]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
push 0
lea ecx, [ebp - 8]
push ecx
push dword [ebp - 0xc]
push dword [0x760db4]
call sub.KERNEL32.DLL_SetFilePointer
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, 0xffffffff
jne 0x45b232
call sub.KERNEL32.DLL_GetLastError
test eax, eax
je 0x45b232
xor eax, eax
jmp 0x45b3c7
mov edx, dword [ebp + 0x10]
imul edx, dword [0x760dbc]
mov dword [ebp - 0x14], edx
mov ecx, dword [0x760dbc]
cmp ecx, 0x930
jne 0x45b279
push 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
push dword [ebp + 0xc]
push dword [0x760db4]
call sub.KERNEL32.DLL_ReadFile
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
cmp edx, ecx
je 0x45b3c0
xor eax, eax
jmp 0x45b3c7
mov edx, dword [0x760dbc]
cmp edx, 0x930
jle 0x45b298
mov ecx, dword [0x760dbc]
add ecx, 0xfffff680
mov dword [ebp - 0x34], ecx
jmp 0x45b2a5
mov eax, dword [0x760dbc]
add eax, 0xfffff6e0
mov dword [ebp - 0x34], eax
push dword [ebp - 0x14]
call fcn.0066c62c
pop ecx
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
test edx, edx
jne 0x45b2d5
push 0x59fa
call fcn.00402b9c
pop ecx
push eax
push 0
call fcn.00462a84
add esp, 8
xor eax, eax
jmp 0x45b3c7
push 0
lea edx, [ebp - 0x18]
push edx
push dword [ebp - 0x14]
push dword [ebp - 0x24]
push dword [0x760db4]
call sub.KERNEL32.DLL_ReadFile
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
cmp ecx, eax
je 0x45b2fd
xor eax, eax
jmp 0x45b3c7
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x28], edx
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
cmp eax, edx
jge 0x45b3b7
push 0xc
push 0x760da8
push dword [ebp - 0x28]
call fcn.0066cc18
add esp, 0xc
lea ecx, [ebp - 0x2f]
push ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
add eax, edx
push eax
call fcn.004ac3cc
add esp, 8
movsx ecx, byte [ebp - 0x2f]
push ecx
call fcn.004ac358
pop ecx
mov edx, dword [ebp - 0x28]
mov byte [edx + 0xc], al
movsx eax, byte [ebp - 0x2e]
push eax
call fcn.004ac358
pop ecx
mov ecx, dword [ebp - 0x28]
mov byte [ecx + 0xd], al
movsx eax, byte [ebp - 0x2d]
push eax
call fcn.004ac358
pop ecx
mov edx, dword [ebp - 0x28]
mov byte [edx + 0xe], al
mov ecx, dword [ebp - 0x28]
mov byte [ecx + 0xf], 2
push 0x920
mov eax, dword [ebp - 4]
imul dword [0x760dbc]
mov edx, dword [ebp - 0x24]
add eax, edx
mov ecx, dword [ebp - 0x34]
add eax, ecx
push eax
mov eax, dword [ebp - 0x28]
add eax, 0x10
push eax
call fcn.0066cc18
add esp, 0xc
add dword [ebp - 0x28], 0x930
inc dword [ebp - 4]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
cmp edx, ecx
jl 0x45b316
push dword [ebp - 0x24]
call fcn.0066c63c
pop ecx
imul eax, dword [ebp + 0x10], 0x930
mov esp, ebp
pop ebp
ret
Function at 0x45bae4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov eax, dword [ebp + 8]
mov edx, dword [eax]
cmp edx, 4
jne 0x45bb1c
push dword [0x6ebc4c]
push dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x238]
mov edx, dword [ebp + 0x10]
add eax, edx
push eax
push dword [ebp + 0xc]
call fcn.0047630c
add esp, 0x10
jmp 0x45bc66
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
cmp eax, 3
jne 0x45bb56
push 0
push 0
push 3
push 0
push 3
push SysReAllocStringLen
mov edx, dword [ebp + 8]
add edx, 0x124
push edx
call sub.KERNEL32.DLL_CreateFileA
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xffffffff
jne 0x45bb5f
xor eax, eax
jmp 0x45bc66
mov edx, dword [0x760db4]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
imul dword [edx + 0xc]
cdq
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 0x228]
adc edx, dword [ecx + 0x22c]
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push dword [ebp - 0x2c]
call sub.KERNEL32.DLL_SetFilePointer
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
cmp edx, 0xffffffff
jne 0x45bbbc
call sub.KERNEL32.DLL_GetLastError
test eax, eax
je 0x45bbbc
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
cmp eax, 3
jne 0x45bbb5
push dword [ebp - 0x2c]
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
jmp 0x45bc66
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
imul edx, dword [ecx + 0xc]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xc]
cmp edx, 0x930
jne 0x45bbed
push 0
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp - 0x20]
push dword [ebp + 0xc]
push dword [ebp - 0x2c]
call sub.KERNEL32.DLL_ReadFile
jmp 0x45bc4f
push 0
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x20]
push 0x8685f8
push dword [ebp - 0x2c]
call sub.KERNEL32.DLL_ReadFile
mov dword [ebp - 0x28], 0x8685f8
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x24], edx
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp + 0x14]
cmp eax, edx
jge 0x45bc4f
push 0x930
push dword [ebp - 0x28]
push dword [ebp - 0x24]
call fcn.0066cc18
add esp, 0xc
add dword [ebp - 0x24], 0x930
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0xc]
add dword [ebp - 0x28], eax
inc dword [ebp - 0x1c]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0x14]
cmp edx, ecx
jl 0x45bc1f
mov eax, dword [ebp + 8]
mov edx, dword [eax]
cmp edx, 3
jne 0x45bc61
push dword [ebp - 0x2c]
call sub.KERNEL32.DLL_CloseHandle
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x45bf64
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
mov eax, dword [ebp + 8]
cdq
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov eax, dword [0x760dbc]
cdq
push edx
push eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
call fcn.00674900
push edx
push eax
mov eax, dword [0x760dcc]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
push 0
lea ecx, [ebp - 8]
push ecx
push dword [ebp - 0xc]
push dword [0x760db4]
call sub.KERNEL32.DLL_SetFilePointer
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, 0xffffffff
jne 0x45bfce
call sub.KERNEL32.DLL_GetLastError
test eax, eax
je 0x45bfce
xor eax, eax
jmp 0x45c113
mov edx, dword [ebp + 0x10]
imul edx, dword [0x760dbc]
mov dword [ebp - 0x14], edx
mov ecx, dword [0x760dbc]
cmp ecx, 0x914
jne 0x45c015
push 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
push dword [ebp + 0xc]
push dword [0x760db4]
call sub.KERNEL32.DLL_ReadFile
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
cmp edx, ecx
je 0x45c10c
xor eax, eax
jmp 0x45c113
mov edx, dword [0x760dbc]
mov dword [ebp - 0x30], edx
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x930
jle 0x45c02d
sub dword [ebp - 0x30], 0x60
mov eax, dword [ebp - 0x30]
cmp eax, 0x930
jne 0x45c040
mov dword [ebp - 0x34], 0x18
jmp 0x45c060
mov edx, dword [ebp - 0x30]
cmp edx, 0x920
jne 0x45c054
mov dword [ebp - 0x34], 8
jmp 0x45c060
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffff6ec
mov dword [ebp - 0x34], ecx
push dword [ebp - 0x14]
call fcn.0066c62c
pop ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x45c090
push 0x59fa
call fcn.00402b9c
pop ecx
push eax
push 0
call fcn.00462a84
add esp, 8
xor eax, eax
jmp 0x45c113
push 0
lea edx, [ebp - 0x18]
push edx
push dword [ebp - 0x14]
push dword [ebp - 0x24]
push dword [0x760db4]
call sub.KERNEL32.DLL_ReadFile
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
cmp ecx, eax
je 0x45c0b5
xor eax, eax
jmp 0x45c113
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x28], edx
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
cmp eax, edx
jge 0x45c103
push 0x914
mov ecx, dword [ebp - 4]
imul ecx, dword [0x760dbc]
mov eax, dword [ebp - 0x24]
add ecx, eax
mov edx, dword [ebp - 0x34]
add ecx, edx
push ecx
push dword [ebp - 0x28]
call fcn.0066cc18
add esp, 0xc
add dword [ebp - 0x28], 0x914
inc dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 0x10]
cmp ecx, eax
jl 0x45c0ca
push dword [ebp - 0x24]
call fcn.0066c63c
pop ecx
imul eax, dword [ebp + 0x10], 0x914
mov esp, ebp
pop ebp
ret

Function at 0x45dce4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [ebp + 0xc]
imul dword [ebp + 0x10]
mov dword [ebp - 4], eax
push 0
lea edx, [ebp - 8]
push edx
push dword [ebp - 4]
push dword [ebp + 8]
push dword [ebp + 0x14]
call sub.KERNEL32.DLL_ReadFile
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
cmp ecx, eax
je 0x45dd1b
mov eax, dword [ebp - 8]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x45dd1e
mov eax, dword [ebp + 0x10]
pop ecx
pop ecx
pop ebp
ret
Function at 0x45dd24
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [ebp + 0xc]
imul dword [ebp + 0x10]
mov dword [ebp - 4], eax
push 0
lea edx, [ebp - 8]
push edx
push dword [ebp - 4]
push dword [ebp + 8]
push dword [ebp + 0x14]
call sub.KERNEL32.DLL_WriteFile
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
cmp ecx, eax
je 0x45dd75
push 0x59fd
call fcn.00402b9c
pop ecx
push eax
push 0
call fcn.00462a84
add esp, 8
mov dword [0x6fb15c], 1
xor eax, eax
jmp 0x45dd78
mov eax, dword [ebp + 0x10]
pop ecx
pop ecx
pop ebp
ret
Function at 0x4626c8
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push dword [ebp + 8]
lea eax, [ebp - 0x124]
push eax
call fcn.0066ce08
add esp, 8
push 0x5c
lea edx, [ebp - 0x124]
push edx
call fcn.0066cf45
add esp, 8
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x462707
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov byte [eax], 0
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x10]
push ecx
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x124]
push edx
call sub.KERNEL32.DLL_GetDiskFreeSpaceExA
test eax, eax
je 0x46273d
push 0
push 0x800
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0067499b
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
jmp 0x46273f
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x462744
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcd4
push dword [ebp + 8]
lea eax, [ebp - 0x11c]
push eax
call fcn.0066ce08
add esp, 8
push 0x5c
lea edx, [ebp - 0x11c]
push edx
call fcn.0066cf45
add esp, 8
mov dword [ebp - 0x18], eax
inc dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov byte [ecx], 0
mov eax, 0x104
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
push dword [ebp - 0x14]
lea edx, [ebp - 0x32c]
push edx
lea ecx, [ebp - 0x10]
push ecx
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 8]
push edx
push dword [ebp - 4]
lea ecx, [ebp - 0x224]
push ecx
lea eax, [ebp - 0x11c]
push eax
call sub.KERNEL32.DLL_GetVolumeInformationA
test eax, eax
je 0x4627d8
push 3
push 0x7613bc
lea edx, [ebp - 0x32c]
push edx
call fcn.0066d09c
add esp, 0xc
test eax, eax
jne 0x4627d8
mov eax, 1
jmp 0x4627da
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4627e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push 0x100
push 0
lea eax, [ebp - 0x124]
push eax
call fcn.0066cc88
add esp, 0xc
push dword [ebp + 8]
lea edx, [ebp - 0x124]
push edx
call fcn.0066ce08
add esp, 8
push 0x1e
push 0
lea ecx, [ebp - 0x24]
push ecx
call fcn.0066cc88
add esp, 0xc
mov eax, dword [0x6eba34]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 3
mov word [ebp - 0x14], 0x50
lea edx, [ebp - 0x124]
mov dword [ebp - 0x1c], edx
xor ecx, ecx
mov dword [ebp - 0x18], ecx
xor eax, eax
mov dword [ebp - 0xe], eax
xor edx, edx
mov dword [ebp - 0xa], edx
lea ecx, [ebp - 0x24]
push ecx
call sub.SHELL32.DLL_SHFileOperationA
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x462865
xor eax, eax
jmp 0x46286a
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x46290c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xa00884
push 0x104
push 0
push dword [ebp - 8]
call fcn.0066cc88
add esp, 0xc
mov edx, dword [ebp + 8]
test edx, edx
jne 0x46293e
xor ecx, ecx
mov dword [ebp + 8], ecx
jmp 0x462954
mov eax, dword [ebp + 8]
dec eax
jne 0x46294d
mov dword [ebp + 8], 5
jmp 0x462954
mov dword [ebp + 8], 0x26
lea edx, [ebp - 4]
push edx
push dword [ebp + 8]
push dword [ebp + 0xc]
call sub.SHELL32.DLL_SHGetSpecialFolderLocation
test eax, eax
jne 0x462977
push dword [ebp - 8]
push dword [ebp - 4]
call sub.SHELL32.DLL_SHGetPathFromIDListA
mov eax, dword [ebp - 8]
jmp 0x462979
xor eax, eax
pop ecx
pop ecx
pop ebp
ret

Function at 0x462cac
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 4], eax
push 0
push 0
push 3
push 0
push 1
push 8
push dword [ebp + 8]
call sub.KERNEL32.DLL_CreateFileA
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
cmp edx, 0xffffffff
je 0x462ceb
push 0
push dword [ebp - 8]
call sub.KERNEL32.DLL_GetFileSize
mov dword [ebp - 4], eax
push dword [ebp - 8]
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [ebp - 4]
pop ecx
pop ecx
pop ebp
ret

Function at 0x462cf4
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff50
xor eax, eax
mov dword [ebp - 4], eax
push 0x94
push 0
lea edx, [ebp - 0xb0]
push edx
call fcn.0066cc88
add esp, 0xc
mov dword [ebp - 0xb0], 0x94
lea ecx, [ebp - 0xb0]
push ecx
call sub.KERNEL32.DLL_GetVersionExA
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x462dc4
mov edx, dword [ebp - 0xac]
cmp edx, 5
jbe 0x462dc4
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], 4
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 4
lea edx, [ebp - 0xc]
push edx
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem_
push SysStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x462dc4
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x10]
push ecx
push 0
push str.EnableLUA
push dword [ebp - 0xc]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x462dbc
mov edx, dword [ebp - 0x14]
cmp edx, 1
jne 0x462db7
mov ecx, 1
jmp 0x462db9
xor ecx, ecx
mov dword [ebp - 4], ecx
push dword [ebp - 0xc]
call sub.ADVAPI32.DLL_RegCloseKey
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x462dcc
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor eax, eax
mov dword [ebp - 4], eax
xor edx, edx
mov dword [ebp - 8], edx
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov eax, dword [0x76139c]
mov dword [ebp - 0x14], eax
mov ax, word [0x7613a0]
mov word [ebp - 0x10], ax
lea edx, [ebp - 0xc]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea ecx, [ebp - 0x14]
push ecx
call sub.ADVAPI32.DLL_AllocateAndInitializeSid
test eax, eax
jne 0x462e25
call sub.KERNEL32.DLL_GetLastError
mov dword [ebp - 8], eax
jmp 0x462e3f
lea eax, [ebp - 4]
push eax
push dword [ebp - 0xc]
push 0
call sub.ADVAPI32.DLL_CheckTokenMembership
test eax, eax
jne 0x462e3f
call sub.KERNEL32.DLL_GetLastError
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0xc]
test edx, edx
je 0x462e53
push dword [ebp - 0xc]
call sub.ADVAPI32.DLL_FreeSid
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 8]
test eax, eax
je 0x462e79
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 8]
push edx
push 0x462e88
call fcn.0067a571
add esp, 0x24
mov ecx, dword [ebp - 4]
test ecx, ecx
setne al
and eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4643d2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 4], 0x11021
cmp word [0xa016ba], 0
jne 0x464440
xor eax, eax
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
shl edx, 8
mov dword [ebp - 0x18], edx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x18]
and eax, 0x8000
mov dword [ebp - 0x1c], eax
shl dword [ebp - 0x18], 1
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x464418
xor dword [ebp - 0x18], 0x11021
inc dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x4643fc
mov eax, dword [ebp - 0x10]
mov dx, word [ebp - 0x18]
mov word [eax*2 + 0xa016b8], dx
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
cmp ecx, 0x100
jb 0x4643ee
xor eax, eax
mov dword [ebp - 8], eax
xor edx, edx
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
cmp ecx, eax
jae 0x46448c
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov al, byte [edx + ecx]
mov edx, dword [ebp - 8]
shr edx, 8
xor eax, edx
and eax, 0xff
movzx ecx, word [eax*2 + 0xa016b8]
mov eax, dword [ebp - 8]
shl eax, 8
xor ecx, eax
mov dword [ebp - 8], ecx
inc dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
cmp edx, ecx
jb 0x464454
mov eax, dword [ebp - 8]
and eax, 0xffff
mov esp, ebp
pop ebp
ret