joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800231a0
Capabilities:
Write file on windows

Disassembly:
push rdi
push r14
push r15
sub rsp, 0x20
mov rdi, qword [0x18016d238]
xor r15d, r15d
mov r14, rcx
mov dword [rdi + 0x2fd4], r15d
test rcx, rcx
je 0x1800232cb
mov qword [rsp + 0x40], rbx
lea rbx, [rdi + 0x2fd8]
mov dword [rdi + 0x2fd4], r15d
mov r8d, dword [rbx + 4]
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rsi
test r8d, r8d
jns 0x180023208
mov eax, r8d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, r8d
test eax, eax
cmovg edx, eax
call fcn.180024030
mov eax, r15d
mov dword [rbx], r15d
cmp dword [rbx + 4], eax
jne 0x180023222
mov edx, 8
mov rcx, rbx
call fcn.180024030
mov eax, dword [rbx]
movsxd rcx, eax
mov ebp, r15d
mov rax, qword [rbx + 8]
mov byte [rcx + rax], r15b
inc dword [rbx]
mov ecx, dword [rbx]
cmp dword [rdi + 0x2fe8], r15d
jle 0x180023267
mov rsi, r15
mov r9, qword [rdi + 0x2ff0]
mov r8, rbx
add r9, rsi
mov rcx, rdi
mov rdx, r9
call qword [r9 + 0x20]
inc ebp
add rsi, 0x30
cmp ebp, dword [rdi + 0x2fe8]
jl 0x180023240
mov ecx, dword [rbx]
test ecx, ecx
lea eax, [rcx - 1]
lea rdx, [0x18004ae64]
mov rcx, r14
cmove eax, r15d
movsxd rsi, eax
mov rax, qword [rdi + 0x2fe0]
lea rdi, [0x18016d224]
test rax, rax
cmovne rdi, rax
call fcn.1800135c0
mov rbp, qword [rsp + 0x48]
mov rbx, rax
test rax, rax
je 0x1800232c1
mov r9, rax
mov r8, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x18002d210
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, 0xff000000
je 0x18002d3a1
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movss xmm3, dword [rsp + 0x70]
xorps xmm0, xmm0
comiss xmm3, xmm0
mov edi, r9d
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
jbe 0x18002d280
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.18002cc00
mov r8d, dword [rbx + 0x80]
mov r9d, edi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.18002c330
mov dword [rbx + 0x80], 0
jmp 0x18002d38d
mov edx, 6
movaps xmmword [rsp + 0x30], xmm6
lea r8d, [rdx - 2]
call fcn.18002b380
movzx edx, word [rbx + 0x4c]
mov rax, qword [rbx + 0x38]
movss xmm1, dword [rsi]
movss xmm2, dword [rbp + 4]
movss xmm3, dword [rbp]
lea ecx, [rdx + 1]
movss xmm6, dword [rax + 4]
movss xmm5, dword [rax]
movss xmm4, dword [rsi + 4]
mov rax, qword [rbx + 0x58]
mov word [rax], dx
mov rax, qword [rbx + 0x58]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rbx + 0x58]
mov word [rax + 4], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rbx + 0x58]
mov word [rax + 8], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 0xa], dx
movsd xmm0, qword [rbp]
mov rax, qword [rbx + 0x50]
movsd qword [rax], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], edi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm2
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x1c], xmm5
movss dword [rax + 0x20], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x24], edi
movsd xmm0, qword [rsi]
mov rax, qword [rbx + 0x50]
movsd qword [rax + 0x28], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x30], xmm5
movss dword [rax + 0x34], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x38], edi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x3c], xmm3
movss dword [rax + 0x40], xmm4
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm6
mov rax, qword [rbx + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
mov dword [rax + 0x4c], edi
add qword [rbx + 0x50], 0x50
add dword [rbx + 0x4c], 4
add qword [rbx + 0x58], 0xc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x18003ca00
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x28]
cmp rdi, 0x40000000
jbe 0x18003ca3b
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x18016d248]
lea r15, [rdi + 0x40000000]
cmp qword [rsp + 0x30], r15
cmovbe r15, qword [rsp + 0x30]
sub r15, 0xfff
test rsi, rsi
je 0x18003ca7d
cmp rsi, r14
jb 0x18003ca75
cmp rsi, r15
jae 0x18003ca75
cmp qword [rsi + 8], 0
jne 0x18003cc3d
mov rsi, qword [rsi]
test rsi, rsi
jne 0x18003ca60
mov qword [rsp + 0xa0], rbx
mov rbx, rdi
mov qword [rsp + 0xa8], rbp
cmp rdi, r14
jb 0x18003cb02
nop word [rax + rax]
mov ebp, dword [rsp + 0x48]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x18003caf9
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18003caf9
cmp dword [rsp + 0x70], 0x10000
je 0x18003cb7b
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x18003caf9
sub rbx, rbp
cmp rbx, r14
jae 0x18003cac0
test rsi, rsi
jne 0x18003cbe6
cmp rdi, r15
ja 0x18003cc2d
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x18003cc2d
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18003cc2d
cmp dword [rsp + 0x70], 0x10000
je 0x18003cbb4
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x68]
add rdi, qword [rsp + 0x50]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x18003cb32
jmp 0x18003cc2d
test rbx, rbx
je 0x18003caf9
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x18003cbe6
cmp rbx, r14
jae 0x18003caa0
jmp 0x18003cb02
test rdi, rdi
je 0x18003cc2d
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x18003cbe6
cmp rdi, r15
jbe 0x18003cb10
jmp 0x18003cc2d
xor eax, eax
lea rcx, [rsi + 0x40]
mov rdx, rcx
mov qword [rsi + 8], rax
sub rdx, rsi
mov dword [rsi + 0x10], eax
nop dword [rax]
mov rax, qword [rsi + 8]
add rdx, 0x40
mov qword [rcx], rax
mov qword [rsi + 8], rcx
add rcx, 0x40
cmp rdx, 0xfc0
jbe 0x18003cc00
mov rax, qword [0x18016d248]
mov qword [rsi], rax
mov qword [0x18016d248], rsi
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rax, rsi
mov rsi, qword [rsp + 0xb0]
add rsp, 0x80
pop r15
pop r14
pop rdi
ret
Function at 0x18003d740
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
xor esi, esi
mov r14d, edx
mov rbx, rcx
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
xor edx, edx
mov ebp, r8d
lea ecx, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18003d864
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x18003d85b
cmp dword [rsp + 0x20], 0x10
jb 0x18003d83d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x18003d83d
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x18003d83d
mov rdx, qword [rbx]
test rdx, rdx
jne 0x18003d7f8
mov rcx, qword [0x18016d260]
mov r8d, 0x200
mov dword [rbx + 8], 0x80
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x18003d85b
jmp 0x18003d82d
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x18003d82d
mov rcx, qword [0x18016d260]
lea r9d, [rax + rax]
mov r8, rdx
shl r9, 2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x18003d85b
mov eax, dword [rbx + 8]
add eax, eax
mov qword [rbx], rdx
mov dword [rbx + 8], eax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
lea eax, [rcx + 1]
mov dword [rbx + 0xc], eax
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x18003d7a2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x18003d8b3
cmp dword [rbx + 0xc], esi
jbe 0x18003d8b3
nop
mov rax, qword [rbx]
xor edx, edx
mov ecx, esi
mov r8d, dword [rax + rcx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x18003d8ac
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.18003d5b0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x18003d870
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x18003d8d0
Capabilities:
Resume thread

Disassembly:
push rdi
sub rsp, 0x20
mov r8, qword [rcx]
mov rdi, rcx
test r8, r8
je 0x18003d941
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rcx + 0xc], ebx
jbe 0x18003d92d
mov qword [rsp + 0x38], rsi
mov rax, qword [rdi]
xor edx, edx
mov r8d, dword [rax + rbx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18003d91e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x18003d8f2
mov r8, qword [rdi]
mov rsi, qword [rsp + 0x38]
mov rcx, qword [0x18016d260]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x18003d950
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
mov eax, ecx
lea r9, [rsp + 0x38]
imul rbx, rax, 0x38
mov r8d, 0x40
add rbx, qword [0x18016d250]
mov rdx, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [rdx - 5]
cmove rdi, rdx
lea rsi, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18003d9bc
mov eax, 0xa
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x18003d9d8
mov rax, qword [rbx]
mov word [rax], 0xf9eb
mov r8d, dword [rsp + 0x38]
lea r9, [rsp + 0x38]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [rbx + 0x20], 6
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x18003da20
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov eax, dword [0x18016d25c]
xor edi, edi
mov ebx, edi
test eax, eax
je 0x18003db30
mov rcx, qword [0x18016d250]
add rcx, 0x20
test byte [rcx], 2
je 0x18003da63
inc ebx
add rcx, 0x38
cmp ebx, eax
jb 0x18003da47
mov eax, edi
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x18003db30
mov edx, 0xffffffff
lea rcx, [rsp + 0x20]
mov r8d, 1
call fcn.18003d740
mov edx, dword [0x18016d25c]
cmp ebx, edx
jae 0x18003dabd
nop dword [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x18016d250]
test byte [rcx + rax + 0x20], 2
jne 0x18003dab7
mov ecx, ebx
call fcn.18003d950
mov edi, eax
test eax, eax
jne 0x18003dabd
mov edx, dword [0x18016d25c]
inc ebx
cmp ebx, edx
jb 0x18003da90
cmp qword [rsp + 0x20], 0
je 0x18003db30
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x18003db1c
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
mov qword [rsp + 0x48], rsi
nop
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18003db08
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x18003dae0
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x18016d260]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x50]
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x18003f2e0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.18003f500
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x18003f3e7
mov rax, qword [0x180052030]
cmp qword [rsp + 0x20], rax
jb 0x18003f344
mov rax, qword [0x180052038]
cmp qword [rsp + 0x20], rax
ja 0x18003f344
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18003f306
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18003f373
jmp 0x18003f3e7
cmp dword [rsp + 0x50], 0x10000
jne 0x18003f3ca
cmp qword [rsp + 0x48], 0x10000
jb 0x18003f3ca
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18003f3b8
mov rax, qword [rsp + 0x28]
jmp 0x18003f3e9
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18003f3e2
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.18003f500
mov qword [rsp + 0x20], rax
jmp 0x18003f306
xor eax, eax
add rsp, 0x68
ret

Function at 0x18003f3f0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.18003f540
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x18003f4f3
mov rax, qword [0x180052030]
cmp qword [rsp + 0x20], rax
jb 0x18003f44b
mov rax, qword [0x180052038]
cmp qword [rsp + 0x20], rax
ja 0x18003f44b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18003f40d
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18003f47a
jmp 0x18003f4f3
cmp dword [rsp + 0x50], 0x10000
jne 0x18003f4d1
cmp qword [rsp + 0x48], 0x10000
jb 0x18003f4d1
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18003f4bf
mov rax, qword [rsp + 0x28]
jmp 0x18003f4f5
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18003f4ee
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.18003f540
mov qword [rsp + 0x20], rax
jmp 0x18003f40d
xor eax, eax
add rsp, 0x68
ret
Function at 0x18003f590
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.18003fb20
mov qword [rsp + 0x28], 0
cmp qword [0x18016ca38], 0
jne 0x18003f5d8
cmp qword [0x18016ca30], 0
je 0x18003f5d8
mov rax, qword [0x18016ca30]
mov qword [0x18016ca38], rax
cmp qword [0x18016ca38], 0
je 0x18003f67e
mov rax, qword [0x18016ca38]
cmp qword [rax + 0x10], 0
je 0x18003f67e
mov rax, qword [0x18016ca38]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18003f67e
mov rax, qword [0x18016ca38]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18003f67e
mov rax, qword [0x18016ca38]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x18003f644
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x18003f64b
xor eax, eax
jmp 0x18003f7f9
mov rax, qword [0x18016ca38]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x28]
jmp 0x18003f7f9
mov rax, qword [0x18016ca30]
mov qword [0x18016ca38], rax
jmp 0x18003f6a0
mov rax, qword [0x18016ca38]
mov rax, qword [rax + 8]
mov qword [0x18016ca38], rax
cmp qword [0x18016ca38], 0
je 0x18003f6ed
cmp qword [0x18016ca38], 0
je 0x18003f6eb
mov rax, qword [0x18016ca38]
cmp qword [rax + 0x10], 0
je 0x18003f6eb
mov rax, qword [0x18016ca38]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18003f6eb
mov rax, qword [0x18016ca38]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18003f6eb
jmp 0x18003f61c
jmp 0x18003f68e
mov rcx, qword [rsp + 0x60]
call fcn.1800419a0
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.18003f800
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x18003f7f7
mov rax, qword [rsp + 0x48]
mov qword [0x18016ca38], rax
mov rax, qword [0x18016ca38]
mov dword [rax], 0x52727464
mov rax, qword [0x18016ca38]
mov qword [rax + 0x10], 0
mov rax, qword [0x18016ca38]
mov rcx, qword [0x18016ca30]
mov qword [rax + 8], rcx
mov rax, qword [0x18016ca38]
mov qword [0x18016ca30], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x18016ca38]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x18003f7a8
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x18003f7e2
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x18003f79e
mov rax, qword [0x18016ca38]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x18003f61c
xor eax, eax
add rsp, 0x58
ret
Function at 0x140002100
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x280
mov rax, qword [0x140043040]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x28], rax
xor ebp, ebp
mov dword [rsp + 0x20], ebp
lea r14, [0x140045940]
mov qword [rsp + 0x28], r14
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
mov qword [0x140045940], rbp
mov qword [0x140045948], rbp
lea ecx, [rbp + 0x60]
call fcn.14002e3f8
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x140045940], rax
mov dword [rsp + 0x20], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rbp
lea r8d, [rbp + 2]
lea rdx, [0x140031de4]
lea rcx, [rsp + 0x40]
call fcn.140003b50
nop
mov esi, 0x41
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rax, qword [rsp + 0x40]
mov word [rax], si
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
mov r8d, 0x104
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x140002267
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
call fcn.140003890
mov rcx, qword [rax]
add rcx, 0x40
lea rax, [rsp + 0x60]
mov rdx, 0xffffffffffffffff
nop dword [rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x140002220
mov rax, qword [rcx + 0x18]
cmp rdx, rax
ja 0x14000225d
mov rdi, rcx
cmp rax, 7
jbe 0x14000223f
mov rdi, qword [rcx]
mov qword [rcx + 0x10], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rsp + 0x60]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi], bp
jmp 0x140002267
lea r9, [rsp + 0x60]
call fcn.140003d70
inc si
cmp si, 0x5a
jbe 0x1400021c0
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x1400022b9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400022b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400022b4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002e2d0
mov rax, r14
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14002e2b0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x140002320
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x140043040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, rdx
mov rbp, rcx
mov qword [rsp + 0x38], rcx
xor r12d, r12d
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax]
mov ecx, dword [rcx + rax]
cmp dword [0x140045938], ecx
jg 0x140002541
mov rbx, qword [0x140045940]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
jne 0x140002429
mov r14, qword [rsi + 0x10]
mov r15, qword [rsi + 0x18]
nop
lea rdi, [rbx + 0x20]
lea r9, [rdi + 0x20]
mov rax, qword [r9 + 0x10]
cmp qword [r9 + 0x18], 7
jbe 0x1400023a6
mov r9, qword [r9]
mov rcx, rsi
cmp r15, 7
jbe 0x1400023b2
mov rcx, qword [rsi]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, r14
call fcn.140003a60
test rax, rax
je 0x14000245d
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x1400023f8
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1400023f3
nop
cmp rbx, qword [rax + 0x10]
jne 0x1400023f3
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1400023e0
mov rbx, rax
jmp 0x14000241f
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x14000241f
nop dword [rax]
nop dword [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x140002410
cmp byte [rbx + 0x19], 0
je 0x140002390
mov rdx, rsi
mov rcx, rbp
call fcn.140003010
mov rax, rbp
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14002e2b0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov rax, qword [rdi + 0x30]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
cmp r14, rax
jb 0x14000253b
sub r14, rax
mov r8, 0xffffffffffffffff
cmp r14, r8
cmovb r8, r14
cmp r15, 7
jbe 0x140002495
mov rsi, qword [rsi]
lea rdx, [rsi + rax*2]
lea rcx, [rsp + 0x40]
call fcn.140003b50
nop
mov r9, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 7
jbe 0x1400024b2
mov rdi, qword [rdi]
mov r8, rdi
lea rcx, [rsp + 0x40]
call fcn.140004190
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140002434
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002531
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002531
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002e2d0
jmp 0x140002434
call fcn.140003270
int3
lea rcx, [0x140045938]
call fcn.14002e380
cmp dword [0x140045938], 0xffffffff
jne 0x140002373
call fcn.140002100
lea rcx, [0x140030cf0]
call fcn.14002e65c
nop
lea rcx, [0x140045938]
call fcn.14002e314
jmp 0x140002373