joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140096b70
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x140096d18
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x140096bd5
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x140096bd5
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x140096bd5
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x140096c0c
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x140096c62
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140096c62
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140096c62
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140096c62
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140096c62
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.140096620
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x140096cc4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.140072d80
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.1400969f0
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x140096d10
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.140072d80
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x140098480
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x14013b080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x140098515
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x140098576
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.140072d80
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400ab610
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x140098631
sub ecx, 1
je 0x1400986a4
sub ecx, 1
je 0x1400985e0
cmp ecx, 1
je 0x1400985c3
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x1400bf048]
call fcn.140072d80
jmp 0x1400986a4
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.1400981b0
test eax, eax
je 0x1400986a4
jmp 0x14009854a
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400986a4
sub rax, rsi
cmp rax, rbp
jae 0x1400986a4
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.140072f00
jmp 0x1400986a4
cmp r8d, 4
jle 0x1400986a4
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x1400986a4
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.140072ca0
mov esi, eax
test eax, eax
je 0x140098683
mov edx, 5
mov rcx, rbx
call fcn.140099170
mov eax, esi
jmp 0x14009854a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.1400815a0
mov rcx, r14
call fcn.140081880
test eax, eax
je 0x140098548
mov edx, 5
mov rcx, rbx
call fcn.140099170
mov eax, Ordinal_46
jmp 0x14009854a
Function at 0x1400ab440
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x1400ab482
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1400ab4c9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1400ab522
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1400ab4e0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400ab563
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1400be382]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400be383]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400ab530
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x1400ac5a8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400ac5f2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400ac5f2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400ac5f2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400ac5f2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400ac5f2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400ac5f4
xor al, al
add rsp, 0x28
ret
Function at 0x1400136e0
Capabilities:
Get memory capacity

Disassembly:
sub rsp, 0x368
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0xd8], rcx
mov byte [rsp + 0xf7], 0
mov qword [rsp + 0xf8], 1
mov byte [rsp + 0x107], 0
mov qword [rsp + 0x108], 1
lea rax, [rsp + 0x150]
mov qword [rsp + 0x1d0], rax
lea rcx, [rsp + 0x150]
xor edx, edx
mov r8d, 0x40
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x110]
lea rdx, [rsp + 0x150]
mov r8d, 0x40
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsp + 0x190]
lea rdx, [rsp + 0x110]
mov r8d, 0x40
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x190]
mov r8d, 0x40
call sub.VCRUNTIME140.dll_memcpy
mov eax, 0x40
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x30]
call sub.KERNEL32.dll_GlobalMemoryStatusEx
mov rcx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x38]
mov qword [rcx + 0xa0], rax
mov rax, qword [rsp + 0x40]
mov qword [rcx + 0xa8], rax
mov byte [rsp + 0x1df], 0
mov qword [rsp + 0x1e0], 1
mov byte [rsp + 0x1ef], 0
mov qword [rsp + 0x1f0], 1
lea rax, [rsp + 0x260]
mov qword [rsp + 0x330], rax
lea rcx, [rsp + 0x260]
xor edx, edx
mov r8d, 0x68
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x1f8]
lea rdx, [rsp + 0x260]
mov r8d, 0x68
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsp + 0x2c8]
lea rdx, [rsp + 0x1f8]
mov r8d, 0x68
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsp + 0x70]
lea rdx, [rsp + 0x2c8]
mov r8d, 0x68
call sub.VCRUNTIME140.dll_memcpy
mov eax, 0x68
mov edx, eax
lea rcx, [rsp + 0x70]
call sub.PSAPI.DLL_GetPerformanceInfo
cmp eax, 1
je 0x140013878
add rsp, 0x368
ret
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rsp + 0x80]
mov r8, qword [rsp + 0x90]
mov qword [rsp + 0x350], rax
mov qword [rsp + 0x358], r8
xor edx, edx
sub rax, r8
cmovb rax, rdx
mov qword [rsp + 0x360], rax
mov rdx, qword [rsp + 0x360]
call fcn.140040030
mov qword [rsp + 0x20], rax
mov qword [rsp + 0xe0], rax
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rsp + 0x78]
mov r8, qword [rsp + 0x90]
mov qword [rsp + 0x338], rax
mov qword [rsp + 0x340], r8
xor edx, edx
sub rax, r8
cmovb rax, rdx
mov qword [rsp + 0x348], rax
mov rdx, qword [rsp + 0x348]
call fcn.140040030
mov rdx, qword [rsp + 0x20]
mov rcx, rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0xe8], rcx
mov qword [rax + 0xb0], rdx
mov qword [rax + 0xb8], rcx
jmp 0x140013870
Function at 0x140014b90
Capabilities:
List groups for user account

Disassembly:
push rbp
sub rsp, 0x140
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xb8], 0xfffffffffffffffe
mov qword [rbp], rdx
mov qword [rbp + 8], rcx
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x88], rdx
mov byte [rbp + 0x87], 0
call fcn.1400147c0
mov qword [rbp + 0x20], rax
mov dword [rbp + 0x28], 0
mov dword [rbp + 0x2c], 0
lea rax, [0x1400a1250]
mov qword [rbp + 0xa8], rax
mov qword [rbp + 0xb0], 1
lea rcx, [rbp + 0x20]
call fcn.140014940
mov qword [rbp + 0x18], rax
jmp 0x140014c04
mov rdx, qword [rbp]
mov rcx, qword [rbp + 0x18]
mov rax, rsp
lea r8, [rbp + 0x2c]
mov qword [rax + 0x38], r8
lea r8, [rbp + 0x28]
mov qword [rax + 0x30], r8
mov qword [rax + 0x20], rcx
mov dword [rax + 0x28], 0xffffffff
lea rcx, [0x1400a1250]
xor r8d, r8d
mov r9d, 1
call sub.NETAPI32.dll_NetUserGetLocalGroups
mov dword [rbp - 4], eax
jmp 0x140014c44
mov eax, dword [rbp - 4]
mov dword [rbp + 0x94], eax
cmp eax, 0
je 0x140014c5d
lea rcx, [rbp + 0x68]
call fcn.140020960
jmp 0x140014c6d
mov eax, dword [rbp + 0x28]
mov edx, eax
lea rcx, [rbp + 0x50]
call fcn.140020770
jmp 0x140014ccb
mov byte [rbp + 0x87], 1
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x70]
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 8]
mov byte [rbp + 0x87], 0
mov rcx, qword [rbp + 0x30]
mov qword [rax], rcx
mov rcx, qword [rbp + 0x38]
mov qword [rax + 8], rcx
mov rcx, qword [rbp + 0x40]
mov qword [rax + 0x10], rcx
mov byte [rbp + 0x87], 0
lea rcx, [rbp + 0x20]
call fcn.14000d570
mov rax, qword [rbp + 0x10]
add rsp, 0x140
pop rbp
ret
mov byte [rbp + 0x87], 1
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0x40], rax
movups xmm0, xmmword [rbp + 0x50]
movaps xmmword [rbp + 0x30], xmm0
mov rcx, qword [rbp + 0x20]
call fcn.140016a60
mov byte [rbp - 5], al
jmp 0x140014cf0
mov al, byte [rbp - 5]
test al, 1
jne 0x140014c8c
jmp 0x140014cf9
mov rcx, qword [rbp + 0x20]
mov eax, dword [rbp + 0x28]
mov edx, eax
call fcn.1400450c0
mov qword [rbp - 0x18], rdx
mov qword [rbp - 0x10], rax
jmp 0x140014d11
mov rdx, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x10]
mov qword [rbp + 0x98], rcx
mov qword [rbp + 0xa0], rdx
call fcn.1400171b0
mov qword [rbp - 0x28], rdx
mov qword [rbp - 0x20], rax
jmp 0x140014d36
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x20]
call fcn.14000a140
mov qword [rbp - 0x38], rdx
mov qword [rbp - 0x30], rax
jmp 0x140014d4d
mov r8, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp + 0x30]
call fcn.140023e10
jmp 0x140014d60
jmp 0x140014c8c
Function at 0x1400253c0
Capabilities:
Check os version

Disassembly:
sub rsp, 0x388
mov qword [rsp + 0x260], rcx
lea rcx, [rsp + 0x144]
call fcn.14000cb60
lea rcx, [rsp + 0x26c]
lea rdx, [rsp + 0x144]
mov r8d, 0x11c
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x26c]
mov r8d, 0x11c
call sub.VCRUNTIME140.dll_memcpy
mov eax, 0x11c
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x28]
call qword [sym.imp.ntdll.dll_RtlGetVersion]
mov ecx, eax
call fcn.1400089a0
test al, 1
jne 0x140025435
mov byte [rsp + 0x27], 1
jmp 0x14002543e
cmp dword [rsp + 0x2c], 6
ja 0x140025458
jmp 0x14002544f
mov al, byte [rsp + 0x27]
and al, 1
movzx eax, al
add rsp, 0x388
ret
cmp dword [rsp + 0x2c], 6
je 0x14002545f
jmp 0x14002546f
mov byte [rsp + 0x27], 1
jmp 0x14002543e
cmp dword [rsp + 0x30], 3
setae al
and al, 1
mov byte [rsp + 0x27], al
jmp 0x14002543e
mov byte [rsp + 0x27], 0
jmp 0x14002543e
Function at 0x140026980
Capabilities:
Accept command line arguments

Disassembly:
push rbp
sub rsp, 0x140
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xb8], 0xfffffffffffffffe
mov qword [rbp - 0x18], rdx
mov rax, rcx
mov rcx, qword [rbp - 0x18]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
mov qword [rbp + 0x58], rcx
mov eax, dword [rbp + 0xb4]
mov dword [rbp + 0xc], eax
lea rax, [rbp + 0xc]
mov qword [rbp + 0xa0], rax
lea rdx, [rbp + 0xc]
call sub.SHELL32.dll_CommandLineToArgvW
mov rcx, rax
mov qword [rbp], rcx
mov qword [rbp + 0x60], rcx
call fcn.14003a9d0
test al, 1
jne 0x140026a31
mov rcx, qword [rbp]
movsxd rdx, dword [rbp + 0xc]
mov eax, edx
mov dword [rbp + 0xac], eax
mov dword [rbp + 0xb0], eax
mov dword [rbp + 0x6c], eax
call fcn.140045100
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rdx
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rdx
lea rcx, [rbp + 0x10]
call fcn.140020960
mov rcx, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x30]
call fcn.14000a3d0
mov qword [rbp - 0x28], rdx
mov qword [rbp - 0x20], rax
jmp 0x140026a3c
mov rcx, qword [rbp - 0x10]
call fcn.140020960
jmp 0x140026ab7
mov rax, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x20]
mov qword [rbp + 0x28], rcx
mov qword [rbp + 0x30], rax
lea rcx, [rbp + 0x28]
call fcn.14000add0
mov qword [rbp - 0x40], rax
jmp 0x140026a5b
mov rax, qword [rbp - 0x40]
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x38]
cmp rax, 0
sete al
test al, 1
jne 0x140026a74
jmp 0x140026a7f
mov rcx, qword [rbp]
call sub.KERNEL32.dll_LocalFree
jmp 0x140026a9c
mov rax, qword [rbp + 0x38]
mov qword [rbp - 0x50], rax
mov qword [rbp + 0x80], rax
mov rcx, qword [rax]
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
mov qword [rbp - 0x48], rax
jmp 0x140026ac4
mov rax, qword [rbp - 0x10]
mov rcx, qword [rbp + 0x10]
mov qword [rax], rcx
mov rcx, qword [rbp + 0x18]
mov qword [rax + 8], rcx
mov rcx, qword [rbp + 0x20]
mov qword [rax + 0x10], rcx
mov rax, qword [rbp - 8]
add rsp, 0x140
pop rbp
ret
mov rdx, qword [rbp - 0x48]
mov rax, qword [rbp - 0x50]
mov qword [rbp + 0x88], rdx
mov rcx, qword [rax]
call fcn.140045040
mov qword [rbp - 0x60], rdx
mov qword [rbp - 0x58], rax
jmp 0x140026ae5
mov r8, qword [rbp - 0x60]
mov rdx, qword [rbp - 0x58]
mov qword [rbp + 0x90], rdx
mov qword [rbp + 0x98], r8
lea rcx, [rbp + 0x40]
call fcn.140040af0
jmp 0x140026b06
lea rcx, [rbp + 0x10]
lea rdx, [rbp + 0x40]
call fcn.140021900
jmp 0x140026b15
jmp 0x140026a4c
Function at 0x14002f720
Capabilities:
Reference wmi statements

Disassembly:
push rbp
sub rsp, 0x170
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xe8], 0xfffffffffffffffe
mov qword [rbp - 0x28], rdx
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x18], rcx
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x90], 0
mov qword [rbp + 0xa0], 0
mov rax, qword [rbp + 0xa0]
mov qword [rbp + 0x98], rax
mov rax, qword [rbp + 0x98]
mov qword [rbp - 0x10], rax
cmp qword [rdx + 0x10], 1
je 0x14002f78a
jmp 0x14002f7ca
mov rax, qword [rbp - 0x28]
add rax, 0x18
mov qword [rbp - 0x38], rax
mov qword [rbp + 0x48], rax
lea rcx, [0x1400a29b8]
mov qword [rbp + 0x50], rcx
mov qword [rbp + 0x58], 4
mov qword [rbp + 0xd8], rcx
mov qword [rbp + 0xe0], 4
call sub.OLEAUT32.dll_SysReAllocString
mov qword [rbp - 0x30], rax
jmp 0x14002f7da
mov rax, qword [rbp - 0x20]
mov qword [rax], 2
jmp 0x14002f95a
mov rax, qword [rbp - 0x30]
mov qword [rbp + 0x60], rax
lea rcx, [0x1400a29c0]
mov qword [rbp + 0x68], rcx
mov qword [rbp + 0x70], 0x2c
mov qword [rbp + 0xc8], rcx
mov qword [rbp + 0xd0], 0x2c
call sub.OLEAUT32.dll_SysReAllocString
mov qword [rbp - 0x40], rax
jmp 0x14002f812
mov rax, qword [rbp - 0x38]
mov rcx, qword [rbp - 0x40]
mov qword [rbp + 0x78], rcx
mov rax, qword [rax]
mov qword [rbp - 0x48], rax
and rax, 7
cmp rax, 0
sete al
test al, 1
jne 0x14002f836
jmp 0x14002f897
mov r8, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x48]
mov qword [rbp + 0xa8], 0
mov qword [rbp + 0xb0], 0
mov qword [rbp + 0xc0], 0
mov rax, qword [rbp + 0xc0]
mov qword [rbp + 0xb8], rax
mov r9, qword [rbp + 0xb8]
mov rax, rsp
lea r10, [rbp - 0x10]
mov qword [rax + 0x28], r10
mov qword [rax + 0x20], r9
mov r9d, 0x30
call fcn.140041280
mov dword [rbp - 0x4c], eax
jmp 0x14002f8ae
mov rdx, qword [rbp - 0x48]
lea r8, [0x1400a2a18]
mov ecx, 8
call fcn.14009f5d0
ud2
mov rcx, qword [rbp - 0x30]
mov eax, dword [rbp - 0x4c]
mov dword [rbp + 0x84], eax
call sub.OLEAUT32.dll_SysStringLen
jmp 0x14002f8c2
mov rcx, qword [rbp - 0x40]
call sub.OLEAUT32.dll_SysStringLen
jmp 0x14002f8cd
mov ecx, dword [rbp - 0x4c]
call fcn.14003d9f0
mov byte [rbp - 0x4d], al
jmp 0x14002f8da
mov al, byte [rbp - 0x4d]
test al, 1
jne 0x14002f90a
jmp 0x14002f8e3
mov rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x10]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp], rax
mov qword [rbp - 8], 1
add rcx, 0x20
call fcn.1400101f0
jmp 0x14002f917
mov rax, qword [rbp - 0x20]
mov qword [rax], 2
jmp 0x14002f95a
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 8]
mov rax, qword [rbp]
mov qword [rdx + 0x20], rcx
mov qword [rdx + 0x28], rax
lea rcx, [rbp + 0x10]
mov r8d, 0x38
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbp - 0x20]
lea rdx, [rbp + 0x10]
mov r8d, 0x38
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbp - 0x18]
add rsp, 0x170
pop rbp
ret
mov rcx, qword [rbp - 0x28]
call fcn.14000f5f0
jmp 0x14002f94d
Function at 0x14004b8e0
Capabilities:
Get disk size

Disassembly:
sub rsp, 0xd8
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x40], rcx
cmp qword [rcx + 0x78], 0
jne 0x14004b902
mov byte [rsp + 0x37], 0
jmp 0x14004ba3b
mov byte [rsp + 0x57], 0
mov qword [rsp + 0x58], 1
mov byte [rsp + 0x67], 0
mov qword [rsp + 0x68], 1
lea rax, [rsp + 0x80]
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x80]
xor edx, edx
mov r8d, 8
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x38], rax
add rcx, 0x48
call fcn.140022160
mov rcx, rax
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0xd0], 0
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xc8], rax
mov rdx, qword [rsp + 0xc8]
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xb0], 0
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xa8], rax
mov r8, qword [rsp + 0xa8]
lea r9, [rsp + 0x38]
call sub.KERNEL32.dll_GetDiskFreeSpaceExW
cmp eax, 0
je 0x14004b8f8
lea rcx, [rsp + 0x38]
call fcn.1400089c0
mov rcx, rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rcx]
mov qword [rax + 0x80], rcx
mov byte [rsp + 0x37], 1
mov al, byte [rsp + 0x37]
and al, 1
movzx eax, al
add rsp, 0xd8
ret
Function at 0x14004bba0
Capabilities:
Get disk size

Disassembly:
sub rsp, 0x148
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x70], r8
mov byte [rsp + 0xd7], 0
mov qword [rsp + 0xd8], 1
mov byte [rsp + 0xe7], 0
mov qword [rsp + 0xe8], 1
lea rax, [rsp + 0x100]
mov qword [rsp + 0x110], rax
lea rcx, [rsp + 0x100]
xor edx, edx
mov r8d, 8
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x8f], 0
mov qword [rsp + 0x90], 1
mov byte [rsp + 0x9f], 0
mov qword [rsp + 0xa0], 1
lea rax, [rsp + 0xb8]
mov qword [rsp + 0xc8], rax
lea rcx, [rsp + 0xb8]
xor edx, edx
mov r8d, 8
call sub.VCRUNTIME140.dll_memset
mov r8, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x138], rcx
mov qword [rsp + 0x140], r8
mov qword [rsp + 0x118], 0
mov qword [rsp + 0x120], 0
mov qword [rsp + 0x130], 0
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x128], rax
mov rdx, qword [rsp + 0x128]
lea r8, [rsp + 0x48]
lea r9, [rsp + 0x50]
call sub.KERNEL32.dll_GetDiskFreeSpaceExW
cmp eax, 0
jne 0x14004bd6b
mov rax, qword [rsp + 0x28]
mov qword [rax], 0
jmp 0x14004bdba
lea rcx, [rsp + 0x48]
call fcn.1400089c0
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x50]
call fcn.1400089c0
mov rdx, qword [rsp + 0x20]
mov rcx, rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rcx]
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], rcx
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
mov qword [rax + 8], rdx
mov qword [rax + 0x10], rcx
mov qword [rax], 1
mov rax, qword [rsp + 0x30]
add rsp, 0x148
ret

Function at 0x14004bdd0
Capabilities:
Get disk information

Disassembly:
sub rsp, 0x68
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rcx
call sub.KERNEL32.dll_GetLogicalDrives
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x14004bdfa
mov rcx, qword [rsp + 0x30]
call fcn.1400209c0
jmp 0x14004be4a
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x5c], 0x20
mov ecx, dword [rsp + 0x58]
mov edx, dword [rsp + 0x5c]
call fcn.140049e80
mov dword [rsp + 0x2c], eax
mov r8d, edx
mov edx, dword [rsp + 0x2c]
lea rax, [rsp + 0x44]
mov qword [rsp + 0x60], rax
mov r9, qword [rsp + 0x60]
lea rcx, [rsp + 0x48]
call fcn.140049a90
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x48]
call fcn.140034e60
mov rax, qword [rsp + 0x38]
add rsp, 0x68
ret