joyce8/EMBER2024-capa huggingface dataset:
Function at 0x786a2f
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa0
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x10
call fcn.00405d9c
lea eax, [esp + 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
call fcn.00412f7c
test eax, eax
je 0x786bab
push 0
push 0x786bb4
push 0
push eax
call fcn.00412f04
test eax, eax
je 0x786bab
push 0
push 0x786bd0
push 0
push eax
call fcn.00412f04
test eax, eax
je 0x786bab
push 0
push 0x786bec
push 0
push eax
call fcn.00412f04
test eax, eax
je 0x786bab
push 0
push 0x786c0c
push 0
push eax
call fcn.00412f04
mov esi, eax
test esi, esi
je 0x786bab
push 0
push 0
push 0x418
push esi
call fcn.00413364
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
jle 0x786bab
xor eax, eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push esi
call fcn.0041315c
cmp dword [esp + 8], 0
je 0x786bab
mov eax, dword [esp + 8]
push eax
push 0
push 0x1fffff
call sub.kernel32.dll_OpenProcess
mov ebp, eax
test ebp, ebp
je 0x786bab
push 0x40
push 0x1000
push 0x1000
push 0
push ebp
call sub.kernel32.dll_VirtualAllocEx
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
je 0x786bab
or edi, 0xffffffff
cmp edi, dword [esp + 4]
jge 0x786b93
inc edi
mov eax, dword [esp + 0xc]
push eax
push edi
push 0x417
push esi
call fcn.00413364
test eax, eax
je 0x786b89
lea eax, [esp + 0x14]
push eax
push 0x18
lea eax, [esp + 0x54]
push eax
mov eax, dword [esp + 0x18]
push eax
push ebp
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x786b89
test byte [esp + 0x55], 0xd
jne 0x786b89
movzx eax, byte [esp + 0x54]
and al, 8
cmp al, 8
je 0x786b89
lea eax, [esp + 0x14]
push eax
push 4
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0x64]
push eax
push ebp
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x786b89
cmp dword [esp + 0x14], 0
je 0x786b89
mov eax, dword [0x802ef8]
mov eax, dword [eax]
cmp byte [eax + 0xeb], 0
je 0x786b24
mov eax, dword [0x802ef8]
mov eax, dword [eax]
cmp dword [eax + 0x58], 0
je 0x786b24
mov eax, dword [0x802ef8]
mov eax, dword [eax]
mov eax, dword [eax + 0x58]
call fcn.0051cd60
mov dword [esp + 0x10], eax
jmp 0x786b35
mov eax, dword [0x802ef8]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
mov dword [esp + 0x10], eax
mov eax, dword [esp]
cmp eax, dword [esp + 0x10]
jne 0x786b89
mov eax, dword [esp + 0xc]
push eax
push edi
push 0x41d
push esi
call fcn.00413364
test eax, eax
je 0x786b66
lea eax, [esp + 0x14]
push eax
push 0x10
push ebx
mov eax, dword [esp + 0x18]
push eax
push ebp
call sub.kernel32.dll_ReadProcessMemory
cmp dword [esp + 0x14], 0
je 0x786b93
lea eax, [esp + 0x18]
push eax
push esi
call fcn.0041312c
mov eax, ebx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
call fcn.00410c38
jmp 0x786b93
cmp edi, dword [esp + 4]
jl 0x786a75
push 0x8000
push 0
mov eax, dword [esp + 0x14]
push eax
push ebp
call sub.kernel32.dll_VirtualFreeEx
push ebp
call sub.kernel32.dll_CloseHandle
add esp, 0x60
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x789c6c
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
ret

Function at 0x78aefc
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0078aeb0
test al, al
jne 0x78af1d
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x78af6b
xor eax, eax
push ebp
push 0x78af5b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, esi
call fcn.0040990c
push eax
call sub.kernel32.dll_CreateDirectoryW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x78af62
lea eax, [ebp - 0xc]
call fcn.0078aeec
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x78af74
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0078aeb0
test al, al
jne 0x78af98
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x78affe
xor eax, eax
push ebp
push 0x78afee
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x24]
push eax
push edi
push esi
call sub.kernel32.dll_CreateProcessW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x78aff5
lea eax, [ebp - 0xc]
call fcn.0078aeec
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20

Function at 0x78b00c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0078aeb0
test al, al
jne 0x78b030
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x78b088
xor eax, eax
push ebp
push 0x78b078
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov eax, edi
call fcn.0040990c
push eax
mov eax, esi
call fcn.0040990c
push eax
call sub.kernel32.dll_CopyFileW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x78b07f
lea eax, [ebp - 0xc]
call fcn.0078aeec
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x78b094
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0078aeb0
test al, al
jne 0x78b0b5
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x78b101
xor eax, eax
push ebp
push 0x78b0f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040990c
push eax
call sub.kernel32.dll_DeleteFileW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x78b0f8
lea eax, [ebp - 0xc]
call fcn.0078aeec
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x78b26c
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0078aeb0
test al, al
jne 0x78b28f
mov dword [ebp - 4], 0xffffffff
jmp 0x78b2db
xor eax, eax
push ebp
push 0x78b2cb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040990c
push eax
call sub.kernel32.dll_GetFileAttributesW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x78b2d2
lea eax, [ebp - 0xc]
call fcn.0078aeec
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x78b410
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0078aeb0
test al, al
jne 0x78b434
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x78b488
xor eax, eax
push ebp
push 0x78b478
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.0040990c
push eax
mov eax, esi
call fcn.0040990c
push eax
call sub.kernel32.dll_MoveFileW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x78b47f
lea eax, [ebp - 0xc]
call fcn.0078aeec
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x78b494
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, dword [ebp + 8]
test edi, edi
jne 0x78b4b7
test esi, 4
je 0x78b4b7
xor edi, edi
jmp 0x78b4c0
mov eax, edi
call fcn.0040990c
mov edi, eax
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.0078aeb0
test al, al
jne 0x78b4d5
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x78b524
xor eax, eax
push ebp
push 0x78b514
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
push edi
mov eax, dword [ebp - 4]
call fcn.0040990c
push eax
call sub.kernel32.dll_MoveFileExW
mov dword [ebp - 8], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x78b51b
lea eax, [ebp - 0x10]
call fcn.0078aeec
ret
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x78b5a0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0078aeb0
test al, al
jne 0x78b5c1
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x78b60d
xor eax, eax
push ebp
push 0x78b5fd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040990c
push eax
call sub.kernel32.dll_RemoveDirectoryW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x78b604
lea eax, [ebp - 0xc]
call fcn.0078aeec
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x78b618
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0078aeb0
test al, al
jne 0x78b63c
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x78b689
xor eax, eax
push ebp
push 0x78b679
push dword fs:[eax]
mov dword fs:[eax], esp
push edi
mov eax, esi
call fcn.0040990c
push eax
call sub.kernel32.dll_SetFileAttributesW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x78b680
lea eax, [ebp - 0xc]
call fcn.0078aeec
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x78c458
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x78c460
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x78c54d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.005e21d8
mov edx, dword [ebp - 8]
mov ecx, 0x78c568
xor eax, eax
call fcn.0078c1c0
push 0
mov eax, dword [ebp - 4]
call fcn.0040990c
push eax
call sub.kernel32.dll_CreateDirectoryW
test eax, eax
jne 0x78c51b
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0xb7
je 0x78c47a
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov al, 0x3b
call fcn.005e96a4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.0042127c
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x24]
mov eax, ebx
call fcn.005e3170
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x18]
mov ecx, 2
mov al, 0x70
call fcn.005e9674
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x41a37c]
call fcn.004276dc
call fcn.00407f04
jmp 0x78c47a
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00408c24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x78c554
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.004088a4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004088a4
ret
Function at 0x78dee8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x18]
call fcn.00408928
xor eax, eax
push ebp
push 0x78dfcc
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp + 0x18], 0
jne 0x78df2f
lea edx, [ebp + 0x18]
mov eax, edi
call fcn.005e104c
cmp dword [ebp + 0x18], 0
jne 0x78df2f
lea eax, [ebp + 0x18]
call fcn.005e2050
lea eax, [ebp - 0x40]
xor ecx, ecx
mov edx, 0x3c
call fcn.00405d9c
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x540
test ebx, ebx
je 0x78df5a
mov eax, ebx
call fcn.0040990c
mov dword [ebp - 0x34], eax
mov eax, edi
call fcn.0040990c
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
call fcn.0040990c
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x18]
call fcn.0040990c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
push eax
call sub.shell32.dll_ShellExecuteExW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x78df9c
call sub.kernel32.dll_GetLastError
mov dword [esi], eax
jmp 0x78dfb6
mov dword [esi], 0x103
mov eax, dword [ebp - 8]
test eax, eax
je 0x78dfb6
push esi
movzx edx, byte [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
call fcn.0078db88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x78dfd3
lea eax, [ebp + 0x18]
call fcn.00408844
ret

Function at 0x78e204
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffdc
mov ebx, eax
mov dword [esp], 0x10
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x78e232
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x10
call fcn.004099c4
jmp 0x78e239
mov eax, ebx
call fcn.00408844
add esp, 0x24
pop ebx
ret

Function at 0x78e240
Capabilities:
Get session user name

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, eax
mov dword [esp], 0x101
push esp
lea eax, [esp + 8]
push eax
call sub.advapi32.dll_GetUserNameW
test eax, eax
je 0x78e271
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x101
call fcn.004099c4
jmp 0x78e278
mov eax, ebx
call fcn.00408844
add esp, 0x208
pop ebx
ret

Function at 0x78e32c
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x78e386
inc esi
xor edi, edi
cmp edi, 1
jne 0x78e352
mov eax, dword [ebp + 0xc]
push eax
call sub.kernel32.dll_Sleep
jmp 0x78e360
cmp edi, 1
jle 0x78e360
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_Sleep
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0078b094
test eax, eax
jne 0x78e386
call sub.kernel32.dll_GetLastError
cmp eax, 2
je 0x78e386
call sub.kernel32.dll_GetLastError
cmp eax, 3
je 0x78e386
inc edi
dec esi
jne 0x78e342
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
Function at 0x78ebf0
Capabilities:
Delete registry value

Disassembly:
push ebx
push esi
push ecx
mov ebx, edx
mov esi, eax
push 0
push 2
lea eax, [esp + 8]
push eax
call fcn.005e23dc
and eax, 0x7f
mov ecx, dword [eax*4 + 0x801fb4]
mov edx, 0x80000002
xor eax, eax
call fcn.005e2608
test eax, eax
jne 0x78ec3a
mov eax, esi
call fcn.0040990c
push eax
mov eax, dword [esp + 4]
push eax
call sub.advapi32.dll_RegDeleteValueW
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey
mov eax, ebx
call fcn.0040990c
push eax
call fcn.00412c00
test eax, eax
je 0x78ec5b
push 0
push 0
push 0x1d
push 0xffff
call int.0041338c
pop edx
pop esi
pop ebx
ret

Function at 0x78ec60
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov edi, ecx
mov esi, edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x78eda9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x78edc0
push 0x78ede8
call sub.kernel32.dll_GetModuleHandleW
push eax
call fcn.00412530
mov ebx, eax
lea edx, [ebp - 0xc]
movzx eax, byte [ebp - 1]
call fcn.0078aeb0
test al, al
jne 0x78ecbf
mov byte [ebp - 2], 0
jmp 0x78ed8e
xor eax, eax
push ebp
push 0x78ed87
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x78ed03
push 0
mov eax, dword [ebp + 8]
push eax
push edi
lea edx, [ebp - 0x24]
mov eax, esi
call fcn.005e0f9c
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.005e0b78
mov eax, dword [ebp - 0x20]
call fcn.0040990c
push eax
call ebx
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 2], al
jmp 0x78ed71
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x30]
mov eax, esi
call fcn.005e0f9c
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.005e1074
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.005e0b78
mov eax, dword [ebp - 0x28]
call fcn.0040990c
push eax
call sub.kernel32.dll_GetDiskFreeSpaceW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 2], al
cmp byte [ebp - 2], 0
je 0x78ed71
mov ecx, edi
mov eax, dword [ebp - 0x14]
imul dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
call fcn.005e5978
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
imul dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
call fcn.005e5978
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x78ed8e
lea eax, [ebp - 0xc]
call fcn.0078aeec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x78edb0
lea eax, [ebp - 0x30]
mov edx, 5
call fcn.004088a4
ret

Function at 0x78ef98
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
push 2
lea eax, [ebp - 4]
push eax
push 0x20001004
movzx eax, bx
push eax
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x78efbc
mov eax, dword [ebp - 4]
jmp 0x78efbf
or eax, 0xffffffff
pop ebx
pop ecx
pop ebp
ret
Function at 0x78efc4
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov byte [ebp - 1], dl
mov edi, eax
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
mov byte [ebp - 2], 0
test esi, esi
je 0x78f011
xor ebx, ebx
jmp 0x78f006
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov eax, esi
call fcn.00420588
test eax, eax
jne 0x78f005
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 2
jmp 0x78f0bc
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x78efe7
movzx eax, byte [ebp - 1]
sub al, 1
jb 0x78f01d
je 0x78f026
jmp 0x78f02f
call fcn.005e2be8
mov esi, eax
jmp 0x78f031
call sub.kernel32.dll_GetUserDefaultLangID
mov esi, eax
jmp 0x78f031
xor esi, esi
test si, si
je 0x78f0bc
xor ebx, ebx
jmp 0x78f057
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
movzx edx, si
cmp eax, edx
jne 0x78f056
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 1
jmp 0x78f0bc
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x78f03e
xor ebx, ebx
jmp 0x78f0b1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
and eax, 0x3ff
mov dx, 0x3ff
and dx, si
movzx edx, dx
cmp eax, edx
jne 0x78f0b0
mov ax, 0x3ff
and ax, si
cmp ax, 4
jne 0x78f0a5
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x28]
call fcn.0078ef98
push eax
mov eax, esi
call fcn.0078ef98
pop edx
cmp edx, eax
jne 0x78f0b0
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 1
jmp 0x78f0bc
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x78f066
movzx eax, byte [ebp - 2]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x7972ec
Capabilities:
Get common file path

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

Function at 0x79731c
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
xor eax, eax
push ebp
push 0x797438
push dword fs:[eax]
mov dword fs:[eax], esp
inc dword [0x80bc60]
cmp dword [0x80bc5c], 0
jne 0x797413
call sub.kernel32.dll_GetVersion
and eax, 0xff
cmp ax, 6
jb 0x797413
lea eax, [ebp - 8]
call fcn.007972ec
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.005e0b78
lea eax, [ebp - 4]
mov edx, 0x797454
call fcn.00409b1c
mov eax, dword [ebp - 4]
call fcn.0040990c
push eax
call sub.kernel32.dll_LoadLibraryW
mov dword [0x80bc5c], eax
cmp dword [0x80bc5c], 0
je 0x797413
push 0x797470
mov eax, dword [0x80bc5c]
push eax
call fcn.00412530
mov dword [0x80bc40], eax
push 0x797490
mov eax, dword [0x80bc5c]
push eax
call fcn.00412530
mov dword [0x80bc44], eax
push 0x7974b8
mov eax, dword [0x80bc5c]
push eax
call fcn.00412530
mov dword [0x80bc48], eax
push 0x7974cc
mov eax, dword [0x80bc5c]
push eax
call fcn.00412530
mov dword [0x80bc4c], eax
push 0x7974e4
mov eax, dword [0x80bc5c]
push eax
call fcn.00412530
mov dword [0x80bc50], eax
push 0x7974f8
mov eax, dword [0x80bc5c]
push eax
call fcn.00412530
mov dword [0x80bc54], eax
cmp dword [0x80bc5c], 0
setne bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x79743f
lea eax, [ebp - 8]
mov edx, 2
call fcn.004088a4
ret
Function at 0x79bda8
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd44
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x2bc], eax
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
add ebx, 0xfffffffc
xor eax, eax
push ebp
push 0x79bfa9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx]
mov eax, dword [eax + 0x508]
mov edx, 0x20
call fcn.00513204
mov eax, dword [ebx]
mov eax, dword [eax + 0x508]
mov edx, 0x20
call fcn.00513238
mov eax, dword [ebx]
mov eax, dword [eax + 0x50c]
mov edx, 0x20
call fcn.00513204
mov eax, dword [ebx]
mov eax, dword [eax + 0x50c]
mov edx, 0x20
call fcn.00513238
xor eax, eax
push ebp
push 0x79bf7e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x1010
push 0x2b4
lea eax, [ebp - 0x2b8]
push eax
push 0x10
push 0x79bfb8
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x79be85
cmp word [ebp - 0x2ac], 0
je 0x79be85
mov eax, dword [ebp - 0x2b4]
push eax
lea eax, [ebp - 0x2ac]
push eax
mov eax, dword [0x807634]
push eax
call sub.shell32.dll_ExtractIconW
mov edx, dword [ebx]
mov edx, dword [edx + 0x410]
mov ecx, dword [edx + 0x7c]
mov edx, dword [ebx]
mov edx, dword [edx + 0x508]
call fcn.0079bce4
xor edx, edx
mov al, 6
call fcn.007d2fa4
test al, al
je 0x79beea
push 0x27
lea edx, [ebp - 0x2bc]
mov eax, dword [0x803304]
mov eax, dword [eax]
call fcn.005e0b78
lea eax, [ebp - 0x2bc]
mov edx, 0x79bfe0
call fcn.00409b1c
mov eax, dword [ebp - 0x2bc]
call fcn.0040990c
push eax
mov eax, dword [0x807634]
push eax
call sub.shell32.dll_ExtractIconW
mov edx, dword [ebx]
mov edx, dword [edx + 0x418]
mov ecx, dword [edx + 0x7c]
mov edx, dword [ebx]
mov edx, dword [edx + 0x50c]
call fcn.0079bce4
jmp 0x79bf74
lea eax, [ebp - 4]
push eax
xor ecx, ecx
mov dl, 2
xor eax, eax
call fcn.007d874c
cmp dword [ebp - 4], 0
jne 0x79bf0e
lea eax, [ebp - 4]
push eax
xor ecx, ecx
mov dl, 2
mov al, 1
call fcn.007d874c
cmp dword [ebp - 4], 0
je 0x79bf74
push 0x1000
push 0x2b4
lea eax, [ebp - 0x2b8]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.0040990c
push eax
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x79bf74
cmp word [ebp - 0x2ac], 0
je 0x79bf74
mov eax, dword [ebp - 0x2b4]
push eax
lea eax, [ebp - 0x2ac]
push eax
mov eax, dword [0x807634]
push eax
call sub.shell32.dll_ExtractIconW
mov edx, dword [ebx]
mov edx, dword [edx + 0x418]
mov ecx, dword [edx + 0x7c]
mov edx, dword [ebx]
mov edx, dword [edx + 0x50c]
call fcn.0079bce4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x79bf88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x79bfb0
lea eax, [ebp - 0x2bc]
call fcn.00408844
lea eax, [ebp - 4]
call fcn.00408844
ret