joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49d710
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x49d880
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.00446e20
mov eax, dword [ebp - 8]
call fcn.00408338
test eax, eax
jl 0x49d85c
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [edx + ecx*4]
call fcn.004069b8
cmp dword [ebp - 0xc], 0
je 0x49d850
mov eax, dword [ebp - 0xc]
call fcn.00407200
push eax
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 3
jne 0x49d850
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00407200
push eax
call sub.kernel32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x49d850
mov eax, dword [0x5a99e0]
call fcn.00408330
inc eax
push eax
mov eax, 0x5a99e0
mov ecx, 1
mov edx, dword [0x49a408]
call fcn.004084e4
add esp, 4
mov eax, dword [0x5a99e0]
call fcn.00408338
lea eax, [eax + eax*2]
mov edx, dword [0x5a99e0]
mov ecx, dword [ebp - 0xc]
mov cx, word [ecx]
mov word [edx + eax*8], cx
mov eax, dword [0x5a99e0]
call fcn.00408338
lea eax, [eax + eax*2]
mov edx, dword [0x5a99e0]
mov ecx, dword [ebp - 0x18]
mov dword [edx + eax*8 + 0x10], ecx
mov ecx, dword [ebp - 0x14]
mov dword [edx + eax*8 + 0x14], ecx
mov eax, dword [0x5a99e0]
call fcn.00408338
lea eax, [eax + eax*2]
mov edx, dword [0x5a99e0]
mov ecx, dword [ebp - 0x20]
mov dword [edx + eax*8 + 8], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [edx + eax*8 + 0xc], ecx
inc dword [ebp - 4]
dec dword [ebp - 0x2c]
jne 0x49d74f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d887
lea eax, [ebp - 0xc]
call fcn.004065ac
lea eax, [ebp - 8]
mov edx, dword [0x427538]
call fcn.004084f0
ret
Function at 0x4a9780
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
mov dword [ebp - 4], eax
lea eax, [ebp - 0x50]
mov edx, 0x44
call fcn.0042a660
mov dword [ebp - 0x50], 0x44
lea eax, [ebp - 0x60]
mov edx, 0x10
call fcn.0042a660
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00407200
push eax
push 0
call sub.kernel32.dll_CreateProcessW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
cmp byte [ebp - 5], 0
je 0x4a97f7
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret

Function at 0x4a9800
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x4a9945
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 1], 0
je 0x4a983c
mov eax, dword [0x59eaa8]
mov eax, dword [eax]
cmp byte [eax + 0x1b4], 0
jne 0x4a992a
mov al, byte [ebp - 1]
mov byte [ebp - 9], al
mov ecx, 0xf003f
mov dl, 1
mov eax, dword [0x444630]
call fcn.004449a0
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4a9923
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000001
mov eax, dword [ebp - 8]
call fcn.00445620
mov cl, 1
mov edx, 0x4a995c
mov eax, dword [ebp - 8]
call fcn.00444fe0
test al, al
jne 0x4a988e
call fcn.00405d98
jmp 0x4a992a
mov edx, 0x4a99c4
mov eax, dword [ebp - 8]
call fcn.00444bd0
mov edx, 0x4a99ec
mov eax, dword [ebp - 8]
call fcn.00444bd0
cmp byte [ebp - 9], 0
je 0x4a98ef
lea ecx, [ebp - 0x10]
mov edx, 0x4a9a1c
mov eax, dword [ebp - 8]
call fcn.00445560
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
call fcn.004a96f0
mov edx, dword [ebp - 0x14]
pop eax
call fcn.00407588
je 0x4a990d
lea eax, [ebp - 0x18]
call fcn.004a96f0
mov ecx, dword [ebp - 0x18]
mov edx, 0x4a9a1c
mov eax, dword [ebp - 8]
call fcn.00445680
jmp 0x4a990d
mov edx, 0x4a9a1c
mov eax, dword [ebp - 8]
call fcn.00445650
test al, al
je 0x4a990d
mov edx, 0x4a9a1c
mov eax, dword [ebp - 8]
call fcn.00444bd0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a992a
mov eax, dword [ebp - 8]
call fcn.00404fd4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a994c
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.0040660c
ret
Function at 0x4b3ac0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4b3c02
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetLogicalDrives
mov dword [ebp - 0xb], eax
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, 0x1f
ja 0x4b3af8
bt dword [ebp - 0xb], eax
jae case.0x4b3b55.0
mov ax, word [ebp - 4]
add ax, 0x41
mov word [ebp - 6], ax
lea eax, [ebp - 0x18]
mov dx, word [ebp - 6]
call fcn.00407218
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov ecx, 0x4b3c1c
call fcn.004073f0
lea eax, [ebp - 0x10]
mov ecx, 0x4b3c2c
mov edx, dword [ebp - 0x14]
call fcn.004073f0
mov eax, dword [ebp - 0x10]
call fcn.00407200
push eax
call sub.kernel32.dll_GetDriveTypeW
mov byte [ebp - 7], al
xor eax, eax
mov al, byte [ebp - 7]
cmp eax, 6
ja case.0x4b3b55.0
jmp dword [eax*4 + 0x4b3b5c]
mov eax, dword [ebp + 8]
push eax
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.004b3a10
pop ecx
jmp case.0x4b3b55.0
mov eax, dword [ebp + 8]
push eax
mov dl, 1
mov eax, dword [ebp - 0x14]
call fcn.004b3a10
pop ecx
jmp case.0x4b3b55.0
mov eax, dword [ebp + 8]
push eax
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.004b3a10
pop ecx
jmp case.0x4b3b55.0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x20]
test byte [eax + 0x28], 1
jne case.0x4b3b55.0
mov eax, dword [ebp + 8]
push eax
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.004b3a10
pop ecx
jmp case.0x4b3b55.0
mov eax, dword [ebp + 8]
push eax
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.004b3a10
pop ecx
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x1a
jne 0x4b3aec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b3c09
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.0040660c
ret
Function at 0x4bb2d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4bb477
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
push dword [eax + 8]
mov edx, 0x4bb490
mov eax, dword [ebp - 8]
call fcn.00439f40
call fcn.0043a140
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00409d98
mov eax, dword [ebp - 0xc]
push eax
mov edx, 0x4bb4a4
mov eax, dword [ebp - 8]
call fcn.00439f40
pop edx
call fcn.0043a070
mov edx, 0x4bb4b8
mov eax, dword [ebp - 8]
call fcn.00439f40
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x14]
call fcn.0043a0f0
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.00409d98
mov eax, dword [ebp - 0x10]
push eax
mov edx, 0x4bb4d4
mov eax, dword [ebp - 8]
call fcn.00439f40
pop edx
call fcn.0043a070
mov eax, dword [ebp - 4]
push dword [eax + 0x24]
push dword [eax + 0x20]
mov edx, 0x4bb4f4
mov eax, dword [ebp - 8]
call fcn.00439f40
call fcn.0043a140
mov edx, 0x4bb524
mov eax, dword [ebp - 8]
call fcn.00439f40
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x28]
call fcn.0043a070
mov edx, 0x4bb540
mov eax, dword [ebp - 8]
call fcn.00439f40
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x2c]
call fcn.0043a070
mov edx, 0x4bb558
mov eax, dword [ebp - 8]
call fcn.00439f40
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x30]
call fcn.0043a070
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00409d98
mov eax, dword [ebp - 0x14]
push eax
mov edx, 0x4bb580
mov eax, dword [ebp - 8]
call fcn.00439f40
pop edx
call fcn.0043a070
mov edx, 0x4bb59c
mov eax, dword [ebp - 8]
call fcn.00439f40
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x38]
call fcn.0043a070
mov eax, dword [ebp - 4]
push dword [eax + 0x44]
push dword [eax + 0x40]
mov edx, 0x4bb5c0
mov eax, dword [ebp - 8]
call fcn.00439f40
call fcn.0043a140
mov eax, dword [ebp - 4]
push dword [eax + 0x4c]
push dword [eax + 0x48]
mov edx, 0x4bb5f4
mov eax, dword [ebp - 8]
call fcn.00439f40
call fcn.0043a140
mov eax, dword [ebp - 4]
push dword [eax + 0x54]
push dword [eax + 0x50]
mov edx, 0x4bb648
mov eax, dword [ebp - 8]
call fcn.00439f40
call fcn.0043a140
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bb47e
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.0040660c
ret
Function at 0x4c76a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
xor ebx, ebx
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c7778
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 5], 0
je 0x4c76d6
or dword [ebp - 4], 0x8000
call fcn.004c7260
test al, al
je 0x4c7705
test byte [ebp - 3], 0x80
je 0x4c7705
lea eax, [ebp - 0x218]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
and eax, 0xffff7fff
push eax
push 0
call sub.shell32.dll_SHGetFolderPathW
mov dword [ebp - 0x10], eax
jmp 0x4c770c
mov dword [ebp - 0x10], 0x80004005
cmp dword [ebp - 0x10], 0
je 0x4c772b
lea eax, [ebp - 0x218]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0
call sub.shell32.dll_SHGetFolderPathW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4c7757
lea eax, [ebp - 0x21c]
lea edx, [ebp - 0x218]
mov ecx, 0x104
call fcn.004072ac
mov eax, dword [ebp - 0x21c]
mov edx, dword [ebp - 0xc]
call fcn.00427ba0
jmp 0x4c775f
mov eax, dword [ebp - 0xc]
call fcn.004065ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c777f
lea eax, [ebp - 0x21c]
call fcn.004065ac
ret

Function at 0x4e2630
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x2c
jne 0x4e2657
mov eax, dword [ebp - 8]
mov edx, 0x4e26f0
call fcn.00406970
jmp 0x4e26e0
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_GetKeyboardLayout
push eax
push 0
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_MapVirtualKeyExW
shl eax, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0x21
jbe 0x4e2687
cmp dword [ebp - 4], 0x2f
jae 0x4e2687
or dword [ebp - 0xc], 0x1000000
cmp dword [ebp - 4], 0x90
jne 0x4e2697
mov dword [ebp - 0xc], 0xc1450001
cmp dword [ebp - 4], 0x13
jne 0x4e26a4
mov dword [ebp - 0xc], 0xc0450001
cmp dword [ebp - 0xc], 0
je 0x4e26e0
push pe_nt_image_headers32
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetKeyNameTextW
test eax, eax
je 0x4e26d8
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x20c]
mov ecx, pe_nt_image_headers32
call fcn.004072ac
jmp 0x4e26e0
mov eax, dword [ebp - 8]
call fcn.004065ac
mov esp, ebp
pop ebp
ret
Function at 0x4f06f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 0xc], ecx
mov word [ebp - 6], dx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00406970
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.00406a80
test eax, eax
jle 0x4f0773
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
mov ax, word [eax + edx*2 - 2]
mov word [ebp - 0x16], ax
mov eax, dword [ebp - 0x10]
dec eax
shl eax, 3
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
and ecx, 0x3f
call fcn.004080a0
and ax, word [ebp - 6]
xor word [ebp - 0x16], ax
mov eax, dword [ebp - 0xc]
call fcn.00406b48
mov edx, dword [ebp - 0x10]
mov cx, word [ebp - 0x16]
mov word [eax + edx*2 - 2], cx
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x4f0723
mov esp, ebp
pop ebp
ret 8

Function at 0x4f1880
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4f19e5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00407200
push eax
call sub.kernel32.dll_GetFileAttributesW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x4f19ca
test byte [ebp - 0x10], 1
je 0x4f19ca
push 0x4f1a00
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0041d074
push dword [ebp - 0x18]
push 0x4f1a5c
push dword [ebp - 4]
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00407478
mov eax, dword [ebp - 0x14]
push eax
call fcn.0057c670
xor ecx, ecx
pop edx
call fcn.004363e0
mov eax, dword [ebp - 0x10]
and eax, 0xfffffffe
push eax
mov eax, dword [ebp - 4]
call fcn.00407200
push eax
call sub.kernel32.dll_SetFileAttributesW
mov eax, dword [ebp - 4]
call fcn.00407200
push eax
call sub.kernel32.dll_GetFileAttributesW
mov dword [ebp - 0x10], eax
test byte [ebp - 0x10], 1
jne 0x4f1981
cmp byte [0x59e14a], 0
jne 0x4f195e
mov byte [0x59e14a], 1
push 0
push 0
mov ecx, dword [ebp - 8]
mov eax, dword [0x59ee34]
mov eax, dword [eax]
mov edx, 0x7d
call fcn.004feeb0
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov edx, 0x4f1a78
call fcn.004073f0
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0057c670
xor ecx, ecx
pop edx
call fcn.004368f0
jmp 0x4f19ca
cmp byte [0x59e149], 0
jne 0x4f19a9
mov byte [0x59e149], 1
push 0
push 0
mov ecx, dword [ebp - 8]
mov eax, dword [0x59ee34]
mov eax, dword [eax]
mov edx, 0x7e
call fcn.004feeb0
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 4]
mov edx, 0x4f1ad4
call fcn.004073f0
mov eax, dword [ebp - 0x20]
push eax
call fcn.0057c670
xor ecx, ecx
pop edx
call fcn.004363e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f19ec
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.0040660c
ret
Function at 0x4fd130
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 8], eax
lea eax, [ebp - 0x18]
mov edx, dword [0x4fd05c]
call fcn.004078bc
xor eax, eax
push ebp
push 0x4fd1fe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
push 0
lea eax, [ebp - 0x14]
mov ecx, 1
mov edx, dword [0x4fd010]
call fcn.004084e4
add esp, 4
lea eax, [ebp - 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
push 0x4fd090
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 0x14]
call fcn.00408330
test eax, eax
jne 0x4fd19a
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x4fd1e2
mov eax, dword [ebp - 0x14]
call fcn.00408338
test eax, eax
jl 0x4fd1da
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*4]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4fd1d2
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0xc], eax
jmp 0x4fd1e2
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x4fd1b1
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fd205
lea eax, [ebp - 0x18]
mov edx, dword [0x4fd05c]
call fcn.00407994
ret
Function at 0x5518a0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
xor eax, eax
push ebp
push 0x551959
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
inc dword [eax - 4]
lea ecx, [ebp - 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.0042bf20
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 4]
call fcn.0042b590
lea edx, [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0041d074
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x10]
lea eax, [ebp - 8]
call fcn.004073f0
push 1
mov eax, dword [ebp - 8]
call fcn.00407200
push eax
mov eax, dword [ebp - 4]
call fcn.00407200
push eax
call sub.kernel32.dll_MoveFileExW
test eax, eax
je 0x55192c
push 4
push 0
mov eax, dword [ebp - 8]
call fcn.00407200
push eax
call sub.kernel32.dll_MoveFileExW
jmp 0x55193e
push 4
push 0
mov eax, dword [ebp - 4]
call fcn.00407200
push eax
call sub.kernel32.dll_MoveFileExW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x551960
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.0040660c
ret
Function at 0x559690
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
test dl, dl
je 0x5596a8
add esp, 0xfffffff0
call fcn.00405298
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x559751
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
add eax, 0x20
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x18]
call fcn.00406a0c
mov eax, dword [ebp - 4]
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov ecx, dword [edx + 0x10]
mov dword [eax + 0x30], ecx
mov ecx, dword [edx + 0x14]
mov dword [eax + 0x34], ecx
mov eax, dword [ebp - 4]
add eax, 0x7c
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0xc]
call fcn.00406a0c
mov eax, dword [ebp - 4]
add eax, 0x78
mov edx, dword [ebp + 8]
call fcn.00406a0c
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.0046f360
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.005566d0
mov eax, dword [ebp - 4]
add eax, 0x38
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
call fcn.004072c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x559758
lea eax, [ebp - 0x10]
call fcn.004065d0
ret

Function at 0x55a850
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
test dl, dl
je 0x55a868
add esp, 0xfffffff0
call fcn.00405298
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x55a921
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
add eax, 0x20
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x18]
call fcn.00406a0c
mov eax, dword [ebp - 4]
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov ecx, dword [edx + 0x10]
mov dword [eax + 0x30], ecx
mov ecx, dword [edx + 0x14]
mov dword [eax + 0x34], ecx
mov eax, dword [ebp - 4]
add eax, 0x80
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0xc]
call fcn.00406a0c
mov eax, dword [ebp - 4]
lea edx, [eax + 0x7c]
mov eax, dword [ebp + 8]
call fcn.00409d98
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 4]
call fcn.0055ad00
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.0046f360
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.005566d0
mov eax, dword [ebp - 4]
add eax, 0x38
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
call fcn.004072c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55a928
lea eax, [ebp - 0x10]
call fcn.004065d0
ret
Function at 0x56d5b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x56d6bd
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004282c0
mov eax, dword [0x59e498]
call fcn.0042c130
dec eax
cmp eax, 0
jl 0x56d6a2
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov eax, dword [0x59e498]
call fcn.0042bf20
mov byte [ebp - 0x19], 0
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, dword [ebp - 0x14]
call fcn.0040772c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jl 0x56d695
cmp byte [ebp - 0x19], 0
jne 0x56d66d
mov byte [ebp - 0x19], 1
lea eax, [ebp - 0x18]
mov edx, 0x105
call fcn.00407318
mov eax, dword [ebp - 0x18]
call fcn.00407200
push eax
push 0
push 0
mov edx, dword [ebp - 0xc]
mov eax, dword [0x59e498]
call fcn.0042bfd0
push eax
push 0
call sub.shell32.dll_SHGetFolderPathW
test eax, eax
jne 0x56d665
lea eax, [ebp - 0x18]
call fcn.0042aa50
jmp 0x56d66d
lea eax, [ebp - 0x18]
call fcn.004065ac
mov eax, dword [ebp - 0x14]
call fcn.00406a80
mov ecx, eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.00407608
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
call fcn.0040766c
jmp 0x56d608
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x56d5f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56d6c4
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0040660c
ret

Function at 0x57d880
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
xor edx, edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x14], edx
mov word [ebp - 2], ax
xor eax, eax
push ebp
push 0x57d93f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
lea eax, [ebp - 0x2c]
mov dx, word [ebp - 2]
call fcn.00407218
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x14]
mov ecx, 0x57d95c
call fcn.004073f0
mov eax, dword [ebp - 0x14]
call fcn.00407200
push eax
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 3
jne 0x57d921
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00407200
push eax
call sub.kernel32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x57d921
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57d946
lea eax, [ebp - 0x2c]
call fcn.004065ac
lea eax, [ebp - 0x14]
call fcn.004065ac
ret