joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445b00
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8763
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x641490]
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 - 0x80], 0
lea ecx, [ebp - 0x6c]
call fcn.00410490
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x7c]
movzx ecx, byte [eax + 0x2a]
test ecx, ecx
je 0x445b5b
mov dword [ebp - 0x84], 1
jmp 0x445b65
mov dword [ebp - 0x84], 0
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x20], edx
push 4
lea eax, [ebp - 0x20]
push eax
push 1
push 6
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, dword [ebp - 0x7c]
cmp dword [eax + 0x3c], 0
je 0x445ba9
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx + 0x3c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 0x40]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], 1
jmp 0x445bbe
mov dword [ebp - 0x18], 0x124f80
mov dword [ebp - 0x14], 0x7d0
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x24], 0
push 0
push 0
lea edx, [ebp - 0x24]
push edx
push 0xc
lea eax, [ebp - 0x78]
push eax
push 0xc
lea ecx, [ebp - 0x1c]
push ecx
push 0x98000004
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_WSAIoctl]
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0xffffffff
jne 0x445ca1
mov byte [ebp - 0x6c], 0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
lea ecx, [ebp - 0xc4]
push ecx
call fcn.00408770
add esp, 8
mov dword [ebp - 0x88], eax
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0x8c], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x8c]
push eax
push 0x615420
lea ecx, [ebp - 0xac]
push ecx
call fcn.00408b50
add esp, 0xc
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x90]
push edx
lea ecx, [ebp - 0x68]
call fcn.0040f5d0
lea ecx, [ebp - 0xac]
call fcn.004066a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc4]
call fcn.004066a0
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041b490
mov ecx, dword [ebp - 0x80]
or ecx, 1
mov dword [ebp - 0x80], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.00409a10
mov eax, dword [ebp + 8]
jmp 0x445cd9
mov byte [ebp - 0x6c], 1
push 0x614092
lea ecx, [ebp - 0x68]
call fcn.00408b30
lea edx, [ebp - 0x6c]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041b490
mov eax, dword [ebp - 0x80]
or eax, 1
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.00409a10
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.00587de5
mov esp, ebp
pop ebp
ret 4
Function at 0x445d00
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8798
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x641490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x5c]
call fcn.00410490
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x64]
movzx ecx, byte [eax + 0x2a]
test ecx, ecx
je 0x445d55
mov dword [ebp - 0x68], 1
jmp 0x445d5c
mov dword [ebp - 0x68], 0
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x14], edx
push 4
lea eax, [ebp - 0x14]
push eax
push 1
push 6
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov byte [ebp - 0x5c], 1
push 0x614093
lea ecx, [ebp - 0x58]
call fcn.00408b30
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041b490
mov ecx, dword [ebp - 0x60]
or ecx, 1
mov dword [ebp - 0x60], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00409a10
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.00587de5
mov esp, ebp
pop ebp
ret 4
Function at 0x44b2c0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov byte [eax], 0
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp - 4]
mov dword [eax + edx + 0x44], 0
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 0x44], 0
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 0x4c], 0x67452301
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x4c], 0xefcdab89
mov edx, 4
shl edx, 1
mov eax, dword [ebp - 4]
mov dword [eax + edx + 0x4c], 0x98badcfe
mov ecx, 4
imul edx, ecx, 3
mov eax, dword [ebp - 4]
mov dword [eax + edx + 0x4c], 0x10325476
mov esp, ebp
pop ebp
ret

Function at 0x450200
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x641490]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x18]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4502bd
mov dword [ebp - 0x14], 1
mov ecx, 0xc
imul edx, ecx, 0
lea eax, [ebp + edx - 0x10]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
cmp dword [ebp + 8], 0
je 0x450265
mov dword [ebp - 0x24], 2
jmp 0x45026c
mov dword [ebp - 0x24], 0
mov ecx, 0xc
imul edx, ecx, 0
mov eax, dword [ebp - 0x24]
mov dword [ebp + edx - 8], eax
push 0
push 0
push 0x10
lea ecx, [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4502a4
mov dword [ebp - 0x20], 1
jmp 0x4502ab
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4502c1
xor eax, eax
jmp 0x4502c4
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00587de5
mov esp, ebp
pop ebp
ret 4
Function at 0x451290
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x641490]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x228], 0
push 0x104
lea eax, [ebp - 0x20c]
push eax
push str.APPDATA
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x224]
push edx
call fcn.0042ff80
add esp, 8
lea eax, [ebp - 0x224]
push eax
mov ecx, dword [ebp + 8]
call fcn.00406650
mov ecx, dword [ebp - 0x228]
or ecx, 1
mov dword [ebp - 0x228], ecx
lea ecx, [ebp - 0x224]
call fcn.004066a0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00587de5
mov esp, ebp
pop ebp
ret
Function at 0x451820
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c935b
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x641490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
push 0x6141b9
lea ecx, [ebp - 0x234]
call fcn.00406610
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
jne 0x45189b
jmp 0x45192e
xor ecx, ecx
mov word [ebp - 0x21c], cx
push 0x208
push 0
lea edx, [ebp - 0x21a]
push edx
call fcn.0058c1f0
add esp, 0xc
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x248], 0
push 0x104
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x238]
push ecx
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
jne 0x4518ed
jmp 0x45192e
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x260]
push eax
call fcn.00451540
add esp, 8
mov dword [ebp - 0x240], eax
mov ecx, dword [ebp - 0x240]
push ecx
lea ecx, [ebp - 0x234]
call fcn.0040f5d0
lea ecx, [ebp - 0x260]
call fcn.004066a0
xor edx, edx
jne 0x45188d
cmp dword [ebp - 0x238], 0
je 0x45194e
mov eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x238], 0
lea ecx, [ebp - 0x234]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00406650
mov edx, dword [ebp - 0x23c]
or edx, 1
mov dword [ebp - 0x23c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.004066a0
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.00587de5
mov esp, ebp
pop ebp
ret
Function at 0x4519a0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c93b6
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x641490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0x20]
call fcn.00452930
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x25c], eax
push 0x6141bb
lea ecx, [ebp - 0x28]
call fcn.00406610
mov byte [ebp - 4], 1
cmp dword [ebp - 0x25c], 0xffffffff
je 0x451b33
mov dword [ebp - 0x254], 0x22c
lea eax, [ebp - 0x254]
push eax
mov ecx, dword [ebp - 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x451b26
mov edx, dword [ebp - 0x24c]
push edx
lea eax, [ebp - 0x288]
push eax
call fcn.00451820
add esp, 8
mov dword [ebp - 0x270], eax
mov ecx, dword [ebp - 0x270]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040f5d0
lea ecx, [ebp - 0x288]
call fcn.004066a0
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x2a0]
push eax
call fcn.00430030
add esp, 8
mov dword [ebp - 0x268], eax
mov ecx, dword [ebp - 0x268]
mov dword [ebp - 0x260], ecx
mov byte [ebp - 4], 2
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x2b8]
push eax
call fcn.00430030
add esp, 8
mov dword [ebp - 0x26c], eax
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x264], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x260]
push edx
mov eax, dword [ebp - 0x264]
push eax
call fcn.0040fe80
add esp, 8
mov byte [ebp - 0x255], al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2b8]
call fcn.004066a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2a0]
call fcn.004066a0
movzx ecx, byte [ebp - 0x255]
test ecx, ecx
je 0x451b0a
lea edx, [ebp - 0x24c]
push edx
mov ecx, dword [ebp + 0x20]
call fcn.0040b8b0
lea eax, [ebp - 0x254]
push eax
mov ecx, dword [ebp - 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x451a2e
mov edx, dword [ebp - 0x25c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004066a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004066a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00587de5
mov esp, ebp
pop ebp
ret
Function at 0x451b70
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c9400
mov eax, dword fs:[0]
push eax
sub esp, 0x4a0
mov eax, dword [0x641490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0x20]
call fcn.00452930
mov dword [ebp - 0x2a0], 0xffffffff
mov byte [ebp - 0x285], 1
push 0x6141ba
lea eax, [ebp + 8]
push eax
call fcn.0040a120
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x451be7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004066a0
jmp 0x451d29
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.00430030
add esp, 8
mov byte [ebp - 4], 1
mov dword [ebp - 0x29c], 0
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x28c], eax
mov dword [ebp - 0x284], 0x22c
lea ecx, [ebp - 0x284]
push ecx
mov edx, dword [ebp - 0x28c]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov dword [ebp - 0x290], eax
xor eax, eax
mov word [ebp - 0x4ac], ax
push 0x208
push 0
lea ecx, [ebp - 0x4aa]
push ecx
call fcn.0058c1f0
add esp, 0xc
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x298], 0
cmp dword [ebp - 0x290], 0
je 0x451d01
lea edx, [ebp - 0x260]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.0042ff80
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.00430030
add esp, 8
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.0040fe80
add esp, 8
movzx edx, al
test edx, edx
je 0x451cca
lea eax, [ebp - 0x27c]
push eax
mov ecx, dword [ebp + 0x20]
call fcn.0040b8b0
lea ecx, [ebp - 0x284]
push ecx
mov edx, dword [ebp - 0x28c]
push edx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [ebp - 0x290], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.004066a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.004066a0
jmp 0x451c6c
mov eax, dword [ebp - 0x28c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004066a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004066a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00587de5
mov esp, ebp
pop ebp
ret

Function at 0x451e80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x452040
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c94f3
mov eax, dword fs:[0]
push eax
sub esp, 0x484
mov eax, dword [0x641490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x490], esp
lea eax, [ebp + 8]
push eax
call fcn.00406580
mov dword [ebp - 0x48c], eax
call fcn.0043cd60
add esp, 0x18
mov byte [ebp - 0x475], al
movzx ecx, byte [ebp - 0x475]
test ecx, ecx
jne 0x4520b9
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004066a0
jmp 0x4521ae
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp + 8]
call fcn.00406720
push eax
call fcn.0042fee0
add esp, 8
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x480], esp
lea eax, [ebp + 8]
push eax
call fcn.00406580
mov dword [ebp - 0x488], eax
lea ecx, [ebp - 0x438]
push ecx
call fcn.0043dd70
add esp, 0x1c
mov dword [ebp - 0x47c], eax
mov byte [ebp - 4], 1
lea edx, [ebp - 0x420]
push edx
lea ecx, [ebp - 0x438]
call fcn.00406720
push eax
call fcn.0042fee0
add esp, 8
mov dword [ebp - 0x474], 0x3c
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 0
mov dword [ebp - 0x468], 0
lea eax, [ebp - 0x218]
mov dword [ebp - 0x464], eax
mov dword [ebp - 0x460], 0
lea ecx, [ebp - 0x420]
mov dword [ebp - 0x45c], ecx
mov dword [ebp - 0x458], 5
mov dword [ebp - 0x454], 0
lea edx, [ebp - 0x474]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0x484], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x438]
call fcn.004066a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004066a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00587de5
mov esp, ebp
pop ebp
ret
Function at 0x4521d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c953b
mov eax, dword fs:[0]
push eax
sub esp, 0xc80
mov eax, dword [0x641490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc84], esp
lea eax, [ebp + 8]
push eax
call fcn.00406580
mov dword [ebp - 0xc8c], eax
call fcn.0043cd60
add esp, 0x18
mov byte [ebp - 0xc75], al
movzx ecx, byte [ebp - 0xc75]
test ecx, ecx
jne 0x452255
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004066a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.004066a0
jmp 0x45236a
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp + 8]
call fcn.00406720
push eax
call fcn.0042fee0
add esp, 8
lea eax, [ebp - 0xc20]
push eax
lea ecx, [ebp + 0x20]
call fcn.00406720
push eax
call fcn.0042fee0
add esp, 8
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc88], esp
lea edx, [ebp + 8]
push edx
call fcn.00406580
mov dword [ebp - 0xc80], eax
lea eax, [ebp - 0xc38]
push eax
call fcn.0043dd70
add esp, 0x1c
mov dword [ebp - 0xc7c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp - 0xc38]
call fcn.00406720
push eax
call fcn.0042fee0
add esp, 8
mov dword [ebp - 0xc74], 0x3c
mov dword [ebp - 0xc70], 0
mov dword [ebp - 0xc6c], 0
mov dword [ebp - 0xc68], 0
lea edx, [ebp - 0x218]
mov dword [ebp - 0xc64], edx
lea eax, [ebp - 0xc20]
mov dword [ebp - 0xc60], eax
lea ecx, [ebp - 0x420]
mov dword [ebp - 0xc5c], ecx
mov dword [ebp - 0xc58], 5
mov dword [ebp - 0xc54], 0
lea edx, [ebp - 0xc74]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc38]
call fcn.004066a0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004066a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.004066a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00587de5
mov esp, ebp
pop ebp
ret
Function at 0x452570
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c95bb
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
mov eax, dword [0x641490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1cc], 0
push 0x6141de
lea ecx, [ebp - 0x1c8]
call fcn.00406610
mov dword [ebp - 4], 0
movzx eax, byte [ebp + 8]
push eax
lea ecx, [ebp - 0x1c8]
call fcn.00433380
push 0x615954
lea ecx, [ebp - 0x1c8]
call fcn.0040dec0
lea ecx, [ebp - 0x1a0]
push ecx
lea ecx, [ebp - 0x1c8]
call fcn.00406720
push eax
call fcn.0042fee0
add esp, 8
lea edx, [ebp - 0x1ac]
push edx
lea eax, [ebp - 0x1b0]
push eax
lea ecx, [ebp - 0x1a4]
push ecx
lea edx, [ebp - 0x1a8]
push edx
lea ecx, [ebp - 0x1c8]
call fcn.00406720
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov dword [eax + 4], 0
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x1a8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1a4]
xor eax, eax
mov ecx, dword [ebp + 0xc]
push eax
push edx
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ecx]
push eax
call fcn.005902a0
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x1ac]
xor eax, eax
mov ecx, dword [ebp + 0xc]
push eax
push edx
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ecx]
push eax
call fcn.005902a0
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x1a8]
xor eax, eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1a4]
xor eax, eax
mov ecx, dword [ebp + 0x10]
push eax
push edx
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ecx]
push eax
call fcn.005902a0
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x1b0]
xor eax, eax
mov ecx, dword [ebp + 0x10]
push eax
push edx
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ecx]
push eax
call fcn.005902a0
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x1cc]
mov dword [ebp - 0x1d0], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c8]
call fcn.004066a0
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.00587de5
mov esp, ebp
pop ebp
ret
Function at 0x452730
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c9606
mov eax, dword fs:[0]
push eax
sub esp, 0x1e8
mov eax, dword [0x641490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1ec], 0
xorpd xmm0, xmm0
movlpd qword [ebp - 0x1b0], xmm0
xorpd xmm0, xmm0
movlpd qword [ebp - 0x1a8], xmm0
push 0x614219
lea ecx, [ebp - 0x1e0]
call fcn.00406610
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov dword [eax + 4], 0
mov byte [ebp - 0x1e1], 0x41
jmp 0x4527bc
mov cl, byte [ebp - 0x1e1]
add cl, 1
mov byte [ebp - 0x1e1], cl
movsx edx, byte [ebp - 0x1e1]
cmp edx, 0x5a
jg 0x4528d9
push 0x6141df
lea ecx, [ebp - 0x1c8]
call fcn.00406610
mov byte [ebp - 4], 1
movzx eax, byte [ebp - 0x1e1]
push eax
lea ecx, [ebp - 0x1c8]
call fcn.00433380
push 0x615958
lea ecx, [ebp - 0x1c8]
call fcn.0040dec0
lea ecx, [ebp - 0x1a0]
push ecx
lea ecx, [ebp - 0x1c8]
call fcn.00406720
push eax
call fcn.0042fee0
add esp, 8
lea edx, [ebp - 0x1a0]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0x1e8], eax
cmp dword [ebp - 0x1e8], 1
je 0x4528c5
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x1f4], eax
cmp dword [ebp - 0x1f4], 3
je 0x452855
jmp 0x4528c5
lea ecx, [ebp - 0x1a8]
push ecx
lea edx, [ebp - 0x1b0]
push edx
movzx eax, byte [ebp - 0x1e1]
push eax
call fcn.00452570
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x1f0], ecx
mov edx, dword [ebp - 0x1f0]
mov eax, dword [ebp - 0x1a4]
cmp eax, dword [edx + 4]
jl 0x4528c5
jg 0x45289f
mov ecx, dword [ebp - 0x1f0]
mov edx, dword [ebp - 0x1a8]
cmp edx, dword [ecx]
jbe 0x4528c5
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1a8]
mov dword [eax], ecx
mov edx, dword [ebp - 0x1a4]
mov dword [eax + 4], edx
lea eax, [ebp - 0x1c8]
push eax
lea ecx, [ebp - 0x1e0]
call fcn.004070c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c8]
call fcn.004066a0
jmp 0x4527ad
lea ecx, [ebp - 0x1e0]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00406650
mov edx, dword [ebp - 0x1ec]
or edx, 1
mov dword [ebp - 0x1ec], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.004066a0
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.00587de5
mov esp, ebp
pop ebp
ret
Function at 0x458630
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x641490]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x240], 0x615a7c
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp - 0x238]
mov dword [ebp - 0x24c], ecx
mov edx, dword [ebp - 0x240]
mov ax, word [edx]
mov word [ebp - 0x22a], ax
mov ecx, dword [ebp - 0x238]
mov dx, word [ebp - 0x22a]
mov word [ecx], dx
mov eax, dword [ebp - 0x240]
add eax, 2
mov dword [ebp - 0x240], eax
mov ecx, dword [ebp - 0x238]
add ecx, 2
mov dword [ebp - 0x238], ecx
cmp word [ebp - 0x22a], 0
jne 0x45866f
lea edx, [ebp - 0x228]
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0
je 0x4586fb
push 0x614265
mov ecx, dword [ebp + 8]
call fcn.00406610
mov eax, dword [ebp - 0x234]
or eax, 1
mov dword [ebp - 0x234], eax
mov eax, dword [ebp + 8]
jmp 0x4587cc
lea ecx, [ebp - 0x20c]
push ecx
mov edx, dword [ebp - 0x228]
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x45877d
mov dword [ebp - 0x23c], 0x615a80
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x230], eax
mov ecx, dword [ebp - 0x230]
mov dword [ebp - 0x248], ecx
mov edx, dword [ebp - 0x23c]
mov ax, word [edx]
mov word [ebp - 0x22c], ax
mov ecx, dword [ebp - 0x230]
mov dx, word [ebp - 0x22c]
mov word [ecx], dx
mov eax, dword [ebp - 0x23c]
add eax, 2
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp - 0x230]
add ecx, 2
mov dword [ebp - 0x230], ecx
cmp word [ebp - 0x22c], 0
jne 0x458735
mov edx, dword [ebp - 0x228]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x224]
push ecx
call fcn.0042ff80
add esp, 8
lea edx, [ebp - 0x224]
push edx
mov ecx, dword [ebp + 8]
call fcn.00406650
mov eax, dword [ebp - 0x234]
or eax, 1
mov dword [ebp - 0x234], eax
lea ecx, [ebp - 0x224]
call fcn.004066a0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00587de5
mov esp, ebp
pop ebp
ret