joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a8310
Capabilities:
Get common file path

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0xa0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x98], rax
cmp dword [0x1402c1e30], 0
jne 0x1400a850c
mov byte [rsp + 0x40], 0
xor esi, esi
mov qword [r11 - 0x60], rsi
mov qword [r11 - 0x58], rsi
mov qword [r11 - 0x50], rsi
lea r8, [r11 - 0x68]
mov edx, 0x104
lea rcx, [r11 - 0x60]
call fcn.1400a7e90
nop
mov edx, dword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
sub edx, ebx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov qword [rsp + 0x88], SafeArrayGetElement
mov qword [rsp + 0x80], rsi
mov byte [rsp + 0x70], sil
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.140015af0
nop
mov rax, qword [rsp + 0x80]
lea rcx, [rax - 1]
cmp rax, rcx
ja 0x1400a83db
lea rcx, str.invalid_string_position
call fcn.140109fac
lea rax, [rsp + 0x70]
cmp qword [rsp + 0x88], 0x10
cmovae rax, qword [rsp + 0x70]
cmp byte [rax + rcx], 0x5c
je 0x1400a840c
mov r8d, 1
lea rdx, [0x1401eb638]
lea rcx, [rsp + 0x70]
call fcn.140015860
mov r8d, VariantTimeToDosDateTime
lea rdx, str.wsock32.dll
lea rcx, [rsp + 0x70]
call fcn.140015860
call fcn.1400a67a0
lea rcx, [rsp + 0x70]
cmp qword [rsp + 0x88], 0x10
cmovae rcx, qword [rsp + 0x70]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 3]
call qword [0x1402c1e50]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400a84c2
lea r9, [0x1402c1e48]
lea r8, [0x1402c1e40]
lea rdx, [0x1402c1e38]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x1400a84b8
mov rcx, qword [0x1402c1e38]
test ecx, ecx
jne 0x1400a84ae
cmp dword [0x1402c1e3c], ecx
cmove rcx, qword [0x1402c1e48]
mov qword [0x1402c1e38], rcx
mov dword [0x1402c1e30], 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rsp + 0x88], 0x10
jb 0x1400a84d7
mov rcx, qword [rsp + 0x70]
call fcn.140085540
mov qword [rsp + 0x88], SafeArrayGetElement
mov qword [rsp + 0x80], rsi
mov byte [rsp + 0x70], 0
test rbx, rbx
je 0x1400a84fd
mov rcx, rbx
call fcn.140085540
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14010d170
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1400a8930
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 8], rcx
push r12
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
mov rdi, rcx
add rcx, 0x278
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
call fcn.1400a67a0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
lea rcx, [rdi + 0x170]
call qword [0x1402c1e50]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400a89e5
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, dword [rdi + 0x2c8]
cmp ebx, r8d
jbe 0x1400a89e5
mov rcx, rdi
cmp byte [rdi + 0x6c], 0
je 0x1400a89d5
call fcn.1400a6860
jmp 0x1400a89e5
shr r8d, 1
lea rdx, [rdi + 0x170]
call fcn.1400a8660
nop
jmp 0x1400a89ec
lea rcx, [rdi + 0x278]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400a8a10
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x70
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rbx, rcx
lea rax, str.LogFile::WriteStringArg
mov qword [rsp + 0x50], rax
cmp dword [rcx + 0x5c], 0
je 0x1400a8ca1
mov rax, qword [0x1402b9cc8]
mov qword [r11 - 0x30], rax
mov rax, qword [rsp + 0xa8]
mov qword [r11 - 0x48], rax
mov rax, qword [rsp + 0xa0]
mov qword [r11 - 0x50], rax
mov qword [r11 - 0x58], r9
mov r9, r8
mov r8d, edx
lea rdx, [r11 - 0x30]
call fcn.1400a71a0
test eax, eax
je 0x1400a8c6a
cmp dword [rbx + 0xc], 1
jne 0x1400a8b52
cmp qword [rbx + 0x20], 0
je 0x1400a8b52
cmp qword [rbx + 0x10], 0
je 0x1400a8b52
lea rcx, [rbx + 0x2a0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
lea rdx, [0x1402065d0]
lea rcx, [rsp + 0x48]
call fcn.1400ca830
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax - 0x10]
inc rcx
call fcn.14010a204
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x48]
nop
movzx ecx, byte [rdx]
mov byte [rax], cl
inc rdx
inc rax
test cl, cl
jne 0x1400a8ae0
lea rcx, [rbx + 0x28]
lea rdx, [rsp + 0x40]
call fcn.1400a7d10
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_SetEvent]
nop
jmp 0x1400a8b12
lea rcx, [rbx + 0x2a0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [rbx + 0x278]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov rax, qword [rbx + 0x2d0]
test rax, rax
je 0x1400a8b48
mov rdx, qword [rsp + 0x48]
lea rcx, [0x14021ec64]
call rax
nop
jmp 0x1400a8c5c
lea rcx, [rbx + 0x278]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
call fcn.1400a67a0
lea rcx, [rbx + 0x170]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 3]
call qword [0x1402c1e50]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400a8c40
mov rcx, qword [rsp + 0x48]
mov rsi, qword [rcx - 0x10]
lea rdx, [0x1402065d0]
lea rcx, [rsp + 0x48]
call fcn.1400ca830
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rdx, qword [rsp + 0x48]
mov rax, qword [rdx - 0x10]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r8d, 2
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.1400cb630
cmp dword [rbx + 0x60], 0
je 0x1400a8c1b
mov rcx, rdi
call fcn.1400a8540
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbx + 0x2d0]
test rax, rax
je 0x1400a8c52
mov rdx, qword [rsp + 0x48]
lea rcx, [0x14021ec64]
call rax
jmp 0x1400a8c52
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x1400a8c52
mov dword [rbx + 0x64], 1
jmp 0x1400a8c5c
lea rcx, [rbx + 0x278]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
lea rcx, [rsp + 0x48]
call fcn.1400ca400
nop
jmp 0x1400a8c7f
inc dword [rbx + 0x2cc]
cmp dword [rbx + 0x2cc], 0xa
jbe 0x1400a8ca1
mov dword [rbx + 0x2cc], 0
mov rcx, rbx
call fcn.1400a8930
nop
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400a8cc0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rdi
push r12
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov r12, rdx
mov rbx, rcx
add rcx, 0x278
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
call fcn.1400a67a0
lea rcx, [rbx + 0x170]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 3]
call qword [0x1402c1e50]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400a8d84
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rdx, qword [r12]
mov rcx, qword [rdx - 0x10]
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x80]
mov r8d, ecx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [rbx + 0x60], 0
je 0x1400a8d79
mov rcx, rdi
call fcn.1400a8540
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400a8d96
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x1400a8d96
mov dword [rbx + 0x64], 1
jmp 0x1400a8d9d
lea rcx, [rbx + 0x278]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
inc dword [rbx + 0x2cc]
cmp dword [rbx + 0x2cc], 0xa
jbe 0x1400a8dcd
mov dword [rbx + 0x2cc], 0
mov rcx, rbx
call fcn.1400a8930
nop
add rsp, 0x50
pop r12
pop rdi
pop rbx
ret

Function at 0x1400a8fe0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
xor edi, edi
mov rbx, rcx
cmp dword [rcx + 8], edi
jne 0x1400a906b
mov dword [rcx + 8], 1
mov dword [rcx + 0xc], edx
cmp edx, 1
jne 0x1400a906b
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
lea r8, [0x1400a8fc0]
mov r9, rbx
mov qword [rbx + 0x20], rax
lea rax, [rbx + 0x18]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], edi
call fcn.14010f7a8
mov qword [rbx + 0x10], rax
test rax, rax
je 0x1400a904c
lea eax, [rdi + 1]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
call fcn.140114960
mov ecx, dword [rax]
mov dword [rbx + 0xc], edi
mov dword [rbx + 0x1c], ecx
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x20], rdi
mov eax, edi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400acff0
Capabilities:
Get hostname

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov rbx, rdx
mov dword [rsp + 0x58], r8d
mov r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.14010da60
lea rdx, [rsp + 0x58]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
dec rcx
jne 0x1400ad047
movabs rax, 0x746c7561666564
mov qword [rbx], rax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400ad5f0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
push rsi
push rdi
push r12
sub rsp, 0x50
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rdi, r8
mov rax, rdx
xor r12d, r12d
mov ebx, r12d
mov dword [r8], r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r12 + 1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400ad6c8
mov dword [rsp + 0x88], r12d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rdi], eax
lea ecx, [rax + 1]
call fcn.14010a204
mov rbx, rax
mov qword [rsp + 0x40], rax
mov r8d, dword [rdi]
inc r8d
xor edx, edx
mov rcx, rax
call fcn.14010da60
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x88]
mov r8d, dword [rdi]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400ad6ab
mov eax, dword [rdi]
cmp dword [rsp + 0x88], eax
je 0x1400ad6be
mov rcx, rbx
call fcn.140085540
mov rbx, r12
mov qword [rsp + 0x40], rbx
mov dword [rdi], r12d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, rbx
jmp 0x1400ad6d2
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop r12
pop rdi
pop rsi
ret
Function at 0x1400b8660
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x70
mov qword [rsp + 0x60], 0xfffffffffffffffe
xor ebx, ebx
mov dword [rsp + 0x50], ebx
lea rax, [r11 + 0x20]
mov qword [r11 - 0x48], rax
lea rax, [r11 - 0x30]
mov qword [r11 - 0x50], rax
mov qword [r11 - 0x58], rbx
mov dword [rsp + 0x28], 0x20019
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1400b87bf
mov dword [rsp + 0xa0], 3
mov dword [rsp + 0x98], ebx
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0xa0]
xor r8d, r8d
lea rdx, str.EnableAutodial
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400b87b3
mov eax, dword [rsp + 0x98]
test eax, eax
je 0x1400b87b3
mov ecx, eax
call fcn.14010a204
mov rdi, rax
mov ecx, dword [rsp + 0x98]
call fcn.14010a204
mov rsi, rax
mov r8d, dword [rsp + 0x98]
xor edx, edx
mov rcx, rdi
call fcn.14010da60
mov r8d, dword [rsp + 0x98]
xor edx, edx
mov rcx, rsi
call fcn.14010da60
lea r11, [rsp + 0x98]
mov qword [rsp + 0x28], r11
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0xa0]
xor r8d, r8d
lea rdx, str.EnableAutodial
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400b87a3
mov r8d, dword [rsp + 0x98]
mov rdx, rsi
mov rcx, rdi
call fcn.14010fbe0
test eax, eax
setne bl
mov dword [rsp + 0x50], ebx
mov rcx, rdi
call fcn.140085540
mov rcx, rsi
call fcn.140085540
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov eax, ebx
jmp 0x1400b87c7
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400b87d0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rbx
push rsi
push rdi
push r12
sub rsp, 0x68
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rdi, rcx
xor r12d, r12d
mov ebx, r12d
mov dword [rsp + 0x50], ebx
dec dword [rcx + 0xc0]
jne 0x1400b894b
cmp dword [rcx + 0x8c], 1
jne 0x1400b894b
lea rax, [r11 + 0x10]
mov qword [r11 - 0x48], rax
lea rax, [r11 + 0x20]
mov qword [r11 - 0x50], rax
mov qword [r11 - 0x58], r12
mov dword [rsp + 0x28], 0xf003f
mov dword [r11 - 0x68], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1400b8928
mov esi, dword [rdi + 0x9c]
mov dword [rsp + 0x28], esi
mov rax, qword [rdi + 0x168]
mov qword [rsp + 0x20], rax
lea r9d, [r12 + 3]
xor r8d, r8d
lea rdx, str.EnableAutodial
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1400b891a
lea rax, [rsp + 0x98]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
mov rcx, 0xffffffff80000005
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1400b8911
mov dword [rsp + 0x28], esi
mov rax, qword [rdi + 0x168]
mov qword [rsp + 0x20], rax
lea r9d, [r12 + 3]
xor r8d, r8d
lea rdx, str.EnableAutodial
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, 1
mov dword [rsp + 0x50], ebx
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rdi + 0x8c], r12d
mov dword [rdi + 0x9c], r12d
mov rcx, qword [rdi + 0x168]
call fcn.140085540
mov qword [rdi + 0x168], r12
jmp 0x1400b8954
mov ebx, 1
mov dword [rsp + 0x50], ebx
mov eax, ebx
jmp 0x1400b895c
add rsp, 0x68
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400b9a50
Capabilities:
Get disk size

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
sub rsp, 0x68
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rsi, rcx
lea rcx, [rsp + 0x98]
call fcn.1401c3610
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov r8d, 8
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x98]
call fcn.1401c33d0
mov dword [rsp + 0x38], 0x5c3a63
xor r12d, r12d
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0xa8], r12d
mov dword [rsp + 0xa0], r12d
mov dword [rsp + 0x34], r12d
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xa0]
lea r8, [rsp + 0xa8]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x1400b9b1c
mov eax, dword [rsp + 0xa0]
imul eax, dword [rsp + 0xa8]
imul eax, dword [rsp + 0x30]
mov dword [rsp + 0x3c], eax
lea r8d, [r12 + 4]
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x98]
call fcn.1401c33d0
xor ecx, ecx
call fcn.14010d57c
mov qword [rsp + 0x48], rax
mov r8d, 8
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x98]
call fcn.1401c33d0
lea rdx, [rsi + 0x10c8]
mov r8d, 0x10
lea rcx, [rsp + 0x98]
call fcn.1401c33d0
mov r8d, 0x100
lea rdx, [rsi + 0x910]
lea rcx, [rsp + 0x98]
call fcn.1401c34d0
mov ecx, 0x10c
call fcn.14010a204
mov rdi, rax
xor edx, edx
mov r8d, 0x10c
mov rcx, rax
call fcn.14010da60
mov dword [rdi], 1
mov dword [rdi + 4], 0x10c
mov dword [rdi + 8], 0x20000
lea rcx, [rdi + 0xc]
lea rdx, [rsi + 0x910]
mov r8d, 0x100
call fcn.14010c9b0
mov r11, qword [rsi]
mov dword [rsp + 0x20], r12d
xor r9d, r9d
mov r8d, 0x10c
mov rdx, rdi
mov rcx, rsi
call qword [r11 + reloc.OLEAUT32.dll_VariantClear]
mov rcx, rdi
call fcn.14010d304
nop
add rsp, 0x68
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400ba230
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x70
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rdi, rcx
xor ebx, ebx
mov dword [rsp + 0x50], ebx
inc dword [rcx + 0xc0]
call fcn.1400b8660
cmp eax, 1
jne 0x1400ba480
cmp dword [rdi + 0x8c], ebx
jne 0x1400ba480
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1400ba489
mov dword [rsp + 0xa0], 3
mov dword [rsp + 0x98], ebx
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0xa0]
xor r8d, r8d
lea rdx, str.EnableAutodial
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400ba473
mov eax, dword [rsp + 0x98]
test eax, eax
je 0x1400ba473
mov ecx, eax
call fcn.14010a204
mov qword [rdi + 0x168], rax
mov ecx, dword [rsp + 0x98]
call fcn.14010a204
mov rsi, rax
mov r8d, dword [rsp + 0x98]
xor edx, edx
mov rcx, rax
call fcn.14010da60
mov ecx, dword [rsp + 0x98]
mov dword [rdi + 0x9c], ecx
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
mov rcx, qword [rdi + 0x168]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0xa0]
xor r8d, r8d
lea rdx, str.EnableAutodial
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400ba452
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov r9d, dword [rsp + 0xa0]
xor r8d, r8d
lea rdx, str.EnableAutodial
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1400ba46b
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
mov rcx, 0xffffffff80000005
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1400ba43d
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov r9d, dword [rsp + 0xa0]
xor r8d, r8d
lea rdx, str.EnableAutodial
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rdi + 0x8c], 1
mov ebx, 1
mov dword [rsp + 0x50], ebx
jmp 0x1400ba46b
mov rcx, qword [rdi + 0x168]
call fcn.140085540
mov qword [rdi + 0x168], rbx
mov dword [rdi + 0x9c], ebx
mov rcx, rsi
call fcn.140085540
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400ba489
mov ebx, 1
mov dword [rsp + 0x50], ebx
mov eax, ebx
jmp 0x1400ba491
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400bb2e0
Capabilities:
Get disk size

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
sub rsp, 0x210
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x200], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x60], rcx
lea rcx, [rsp + 0x30]
call fcn.1401c3610
mov ecx, 0x321
call fcn.14010a204
mov rsi, rax
xor edx, edx
mov r8d, 0x321
mov rcx, rax
call fcn.14010da60
mov rax, qword [rbx]
lea rdx, [rsi + 0xc]
mov rcx, rbx
call qword [rax + 0x88]
cmp dword [rbx + 0x40], 0
jne 0x1400bb54c
mov rax, qword [rbx]
lea r8, [rsp + 0xf0]
lea rdx, [rsi + 0xc]
mov rcx, rbx
call qword [rax + 0x80]
lea rcx, [rsi + 0x121]
lea rdx, [rdi + 0xc]
mov r8d, 0x100
call fcn.14010c9b0
lea rcx, [rsp + 0x70]
call fcn.1401c39c0
mov r8d, 0x100
lea rdx, [rdi + 0xc]
lea rcx, [rsp + 0x70]
call fcn.1401c3b70
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsi + 0xc]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsi + 0xc]
lea rcx, [rsp + 0x70]
call fcn.1401c3b70
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xf0]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x70]
call fcn.1401c3b70
lea rcx, [rsp + 0x70]
call fcn.1401c3a20
movaps xmm0, xmmword [rsp + 0xd0]
movups xmmword [rsi + 0x10d], xmm0
mov eax, dword [rsp + 0xe0]
mov dword [rsi + 0x11d], eax
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov r8d, 8
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x30]
call fcn.1401c33d0
mov dword [rsp + 0x44], 0x5c3a63
xor r13d, r13d
mov dword [rsp + 0x3c], r13d
mov dword [rsp + 0x38], r13d
mov dword [rsp + 0x34], r13d
mov dword [rsp + 0x48], r13d
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x44]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x1400bb4a6
mov eax, dword [rsp + 0x34]
imul eax, dword [rsp + 0x38]
imul eax, dword [rsp + 0x3c]
mov dword [rsp + 0x40], eax
lea r8d, [r13 + 4]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.1401c33d0
xor ecx, ecx
call fcn.14010d57c
mov qword [rsp + 0x50], rax
mov r8d, 8
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.1401c33d0
lea rdx, [rbx + 0x10c8]
mov r8d, 0x10
lea rcx, [rsp + 0x30]
call fcn.1401c33d0
mov dword [rsi], 2
mov dword [rsi + 4], 0x321
mov dword [rsi + 8], 0x20000
mov r8d, 0x100
lea rdx, [rsi + 0x221]
lea rcx, [rsp + 0x30]
call fcn.1401c34d0
mov rax, qword [rbx]
mov r8d, dword [rsi + 4]
mov dword [rsp + 0x20], r13d
xor r9d, r9d
mov rdx, rsi
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r11, [rsp + 0xf0]
mov qword [rsp + 0x20], r11
lea r9, [rsi + 0xc]
lea r8, [rsi + 0x221]
xor edx, edx
mov rcx, rbx
call fcn.1400b9bf0
mov rcx, rsi
call fcn.14010d304
nop
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.14010d170
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
Function at 0x1400bd450
Capabilities:
Create thread
Resume thread

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x68], rsi
mov rdi, rdx
mov rbx, rcx
lea rax, [0x14022cab0]
mov qword [rcx], rax
add rcx, 0xc8
xor edx, edx
call fcn.1400a3e30
nop
lea rcx, [rbx + 0xf0]
xor edx, edx
call fcn.1400a3e30
nop
lea rcx, [rbx + 0xc]
xor edx, edx
lea r8d, [rdx + 0x64]
call fcn.14010da60
lea rcx, [rbx + 0x78]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov qword [rbx + 0x118], rdi
mov eax, dword [rdi + 0x90]
mov dword [rbx + 0xa0], eax
xor esi, esi
mov qword [rbx + 0x70], rsi
mov qword [rbx + 0xa8], rsi
mov qword [rbx + 0xc0], rsi
mov rax, qword [rdi + 0xb0]
mov qword [rbx + 0xb8], rax
mov qword [rbx + 0xb0], rsi
mov dword [rbx + 8], esi
mov dword [rsp + 0x60], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0xb0], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
mov r9, rbx
lea r8, [0x1400bd440]
xor edx, edx
xor ecx, ecx
call fcn.14010f7a8
mov qword [rbx + 0xa8], rax
test rax, rax
je 0x1400bd55f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
or edx, 0xffffffff
mov rcx, qword [rbx + 0xb0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1400bd55f
mov dword [rbx + 0x70], 1
mov rcx, qword [rbx + 0xb0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, rbx
jmp 0x1400bd577
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret