Function at 0x14003d360
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x580]
sub rsp, 0x680
mov r12, rcx
xor edi, edi
mov dword [rsp + 0x40], edi
mov qword [rcx], rdi
mov qword [rcx + 8], rdi
mov qword [rcx + 0x10], rdi
mov r14d, 1
mov dword [rsp + 0x40], r14d
mov r13d, edi
lea rsi, [0x1400f3320]
lea rbx, [0x1400f3338]
nop dword [rax]
nop dword [rax + rax]
mov r9d, r13d
lea r8, str..PhysicalDrive_d
mov edx, 0x100
lea rcx, [rbp + 0x480]
call fcn.14003d300
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
mov r8d, 3
lea rcx, [rbp + 0x480]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x14003e65b
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
mov qword [rbp + 0x18], rdi
mov qword [rbp + 0x20], reloc.WS2_32.dll_ntohs
mov byte [rbp + 8], 0
mov qword [rbp + 0x4c], 0
mov dword [rbp + 0x48], edi
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x80]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0x5d0], edi
mov qword [rsp + 0x38], rdi
lea rax, [rbp + 0x5d0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x200
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, ntohl
lea r8, [rbp + 0x48]
mov edx, 0x2d1400
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14003d4e1
mov eax, dword [rbp + 0x90]
test eax, eax
je 0x14003d4e1
lea rdx, [rbp + 0x80]
add rdx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x40], rdi
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14003d4c0
lea rcx, [rbp - 0x58]
call fcn.14003ed00
mov rcx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x58]
jmp 0x14003d510
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov r8d, 8
mov qword [rbp - 0x48], r8
mov ecx, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x40], rcx
movabs rax, 0x3030303030303030
mov rdx, rax
mov qword [rbp - 0x58], rax
mov byte [rbp - 0x50], 0
or r14d, 2
mov dword [rsp + 0x40], r14d
mov rax, rcx
sub rax, r8
cmp rax, 0x14
jb 0x14003d5a9
lea rax, [r8 + 0x14]
mov qword [rbp - 0x48], rax
lea rbx, [rbp - 0x58]
cmp rcx, 0xf
cmova rbx, rdx
lea rax, [0x1400f3334]
cmp rax, rbx
jbe 0x14003d55f
lea rax, [rbx + r8]
cmp rsi, rax
ja 0x14003d55f
cmp rbx, rsi
jbe 0x14003d564
mov rdi, rbx
sub rdi, rsi
jmp 0x14003d564
mov edi, reloc.WS2_32.dll_sendto
lea rcx, [rbx + 0x14]
inc r8
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + rdi]
mov r8d, reloc.WS2_32.dll_sendto
sub r8, rdi
lea rdx, [rdi + 0x14]
add rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x58]
xor edi, edi
lea rbx, [0x1400f3338]
jmp 0x14003d5c5
mov qword [rsp + 0x28], reloc.WS2_32.dll_sendto
mov qword [rsp + 0x20], rsi
mov edx, reloc.WS2_32.dll_sendto
lea rcx, [rbp - 0x58]
call fcn.14003f160
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
or r14d, 4
mov dword [rsp + 0x40], r14d
mov r8d, 1
lea rdx, reloc.WS2_32.dll_ioctlsocket
lea rcx, [rsp + 0x48]
call fcn.14003aee0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
or r14d, 8
mov dword [rsp + 0x40], r14d
lea rdx, [rsp + 0x68]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0xf
cmova rdx, rcx
movq r8, xmm1
lea rcx, [rbp + 8]
call fcn.14003aee0
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x14003d6ac
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003d6a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003e686
call fcn.140084f34
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14003d6e9
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003d6e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003e68d
call fcn.140084f34
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x14003d737
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003d732
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003e694
call fcn.140084f34
mov qword [rbp + 0x5c], 0
mov dword [rbp + 0x58], edi
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x80]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0x5d0], edi
mov qword [rsp + 0x38], rdi
lea rax, [rbp + 0x5d0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x200
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, ntohl
lea r8, [rbp + 0x58]
mov edx, 0x2d1400
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14003d7f1
mov eax, dword [rbp + 0x98]
test eax, eax
je 0x14003d7f1
lea rdx, [rbp + 0x80]
add rdx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x20], rdi
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14003d7d0
lea rcx, [rbp - 0x38]
call fcn.14003ed00
mov rcx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x38]
jmp 0x14003d820
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov r8d, 8
mov qword [rbp - 0x28], r8
mov ecx, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x20], rcx
movabs rax, 0x3030303030303030
mov rdx, rax
mov qword [rbp - 0x38], rax
mov byte [rbp - 0x30], 0
or r14d, 0x20
mov dword [rsp + 0x40], r14d
mov rax, rcx
sub rax, r8
cmp rax, 0x18
jb 0x14003d8b9
lea rax, [r8 + 0x18]
mov qword [rbp - 0x28], rax
lea rbx, [rbp - 0x38]
cmp rcx, 0xf
cmova rbx, rdx
lea rax, [0x1400f3350]
lea rsi, [0x1400f3338]
cmp rax, rbx
jbe 0x14003d876
lea rax, [rbx + r8]
cmp rsi, rax
ja 0x14003d876
cmp rbx, rsi
jbe 0x14003d87b
mov rdi, rbx
sub rdi, rsi
jmp 0x14003d87b
mov edi, Ordinal_26
lea rcx, [rbx + 0x18]
inc r8
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + rdi]
mov r8d, Ordinal_26
sub r8, rdi
lea rdx, [rdi + 0x18]
add rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x38]
xor edi, edi
jmp 0x14003d8d5
mov qword [rsp + 0x28], Ordinal_30
mov qword [rsp + 0x20], rbx
mov edx, Ordinal_26
lea rcx, [rbp - 0x38]
call fcn.14003f160
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
or r14d, 0x40
mov dword [rsp + 0x40], r14d
mov r8d, 1
lea rdx, reloc.WS2_32.dll_ioctlsocket
lea rcx, [rsp + 0x48]
call fcn.14003aee0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
or r14d, 0x10
mov dword [rsp + 0x40], r14d
lea rdx, [rsp + 0x68]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0xf
cmova rdx, rcx
movq r8, xmm1
lea rcx, [rbp + 8]
call fcn.14003aee0
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x14003d9bc
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003d9b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003e69b
call fcn.140084f34
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14003d9f9
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003d9f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003e6a2
call fcn.140084f34
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x14003da47
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003da42
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003e6a9
call fcn.140084f34
mov qword [rbp + 0x6c], 0
mov dword [rbp + 0x68], 2
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x80]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0x5d0], edi
mov qword [rsp + 0x38], rdi
lea rax, [rbp + 0x5d0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x400
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, ntohl
lea r8, [rbp + 0x68]
mov edx, 0x2d1400
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14003dba6
cmp dword [rbp + 0x88], 0
jbe 0x14003dba6
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x80], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x68], 0
mov ebx, edi
cmp di, word [rbp + 0x94]
jae 0x14003db70
nop dword [rax + rax]
mov eax, ebx
movzx r8d, byte [rbp + rax + 0x9c]
lea rdx, str._02X
lea rcx, [rbp + 0x5c8]
call fcn.14003eca0
lea rax, [rbp + 0x5c8]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14003db20
lea rdx, [rbp + 0x5c8]
lea rcx, [rsp + 0x68]
call fcn.14003aee0
movzx ecx, word [rbp + 0x94]
lea eax, [rcx - 1]
cmp ebx, eax
jae 0x14003db67
mov r8d, 1
lea rdx, [0x1400f33cc]
lea rcx, [rsp + 0x68]
call fcn.14003aee0
movzx ecx, word [rbp + 0x94]
inc ebx
movzx eax, cx
cmp ebx, eax
jb 0x14003daf0
movups xmm2, xmmword [rsp + 0x68]
movups xmmword [rbp + 0x28], xmm2
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rbp + 0x38], xmm1
bts r14d, 7
mov dword [rsp + 0x40], r14d
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rcx, xmm0
movq r8, xmm1
movq rdx, xmm2
jmp 0x14003dbdf
xorps xmm0, xmm0
movups xmmword [rbp + 0x28], xmm0
mov r8d, 8
mov qword [rbp + 0x38], r8
mov ecx, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x40], rcx
movabs rax, 0x3030303030303030
mov rdx, rax
mov qword [rbp + 0x28], rax
mov byte [rbp + 0x30], 0
bts r14d, 7
mov dword [rsp + 0x40], r14d
mov rax, rcx
sub rax, r8
cmp rax, 0x13
jb 0x14003dc6f
lea rax, [r8 + 0x13]
mov qword [rbp + 0x38], rax
lea rbx, [rbp + 0x28]
cmp rcx, 0xf
cmova rbx, rdx
lea rax, [0x1400f336b]
lea rsi, str.STORAGE_QUERY_WWN:
cmp rax, rbx
jbe 0x14003dc2c
lea rax, [rbx + r8]
cmp rsi, rax
ja 0x14003dc2c
cmp rbx, rsi
jbe 0x14003dc31
mov rdi, rbx
sub rdi, rsi
jmp 0x14003dc31
mov edi, reloc.WS2_32.dll_send
lea rcx, [rbx + 0x13]
inc r8
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + rdi]
mov r8d, reloc.WS2_32.dll_send
sub r8, rdi
lea rdx, [rdi + 0x13]
add rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp + 0x28]
xor edi, edi
jmp 0x14003dc92
mov qword [rsp + 0x28], reloc.WS2_32.dll_send
lea rax, str.STORAGE_QUERY_WWN:
mov qword [rsp + 0x20], rax
mov edx, reloc.WS2_32.dll_send
lea rcx, [rbp + 0x28]
call fcn.14003f160
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
bts r14d, 8
mov dword [rsp + 0x40], r14d
mov r8d, 1
lea rdx, reloc.WS2_32.dll_ioctlsocket
lea rcx, [rsp + 0x48]
call fcn.14003aee0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
bts r14d, 9
mov dword [rsp + 0x40], r14d
lea rdx, [rbp - 0x78]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0xf
cmova rdx, rcx
movq r8, xmm1
lea rcx, [rbp + 8]
call fcn.14003aee0
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x14003dd77
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003dd71
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003e6b0
call fcn.140084f34
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14003ddb4
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ddaf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003e6b7
call fcn.140084f34
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp + 0x40]
cmp rdx, 0xf
jbe 0x14003de02
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ddfd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003e6be
call fcn.140084f34
mov rdx, r15
lea rcx, [rsp + 0x68]
call fcn.14003e710
mov rsi, rax
mov r8, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, rcx
sub rax, r8
cmp rax, 0x1a
jb 0x14003deb1
lea rax, [r8 + 0x1a]
mov qword [rsi + 0x10], rax
mov rbx, rsi
cmp rcx, 0xf
jbe 0x14003de3e
mov rbx, qword [rsi]
lea rax, [0x1400f338a]
cmp rax, rbx
jbe 0x14003de67
lea rax, [rbx + r8]
lea rcx, [0x1400f3370]
cmp rcx, rax
ja 0x14003de67
cmp rbx, rcx
jbe 0x14003de6c
mov rdi, rbx
sub rdi, rcx
jmp 0x14003de6c
mov edi, reloc.WLDAP32.dll_Ordinal_26
lea rcx, [rbx + 0x1a]
inc r8
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rdi
lea rdx, [0x1400f3370]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + rdi]
mov r8d, reloc.WLDAP32.dll_Ordinal_26
sub r8, rdi
lea rdx, [0x1400f3370]
add rdx, 0x1a
add rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
xor edi, edi
jmp 0x14003ded6
mov qword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_26
lea rax, [0x1400f3370]
mov qword [rsp + 0x20], rax
mov edx, reloc.WLDAP32.dll_Ordinal_26
mov rcx, rsi
call fcn.14003f160
mov rsi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
bts r14d, 0xa
mov dword [rsp + 0x40], r14d
mov r8d, 1
lea rdx, reloc.WS2_32.dll_ioctlsocket
lea rcx, [rsp + 0x48]
call fcn.14003aee0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
bts r14d, 0xb
mov dword [rsp + 0x40], r14d
lea rdx, [rbp - 0x78]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0xf
cmova rdx, rcx
movq r8, xmm1
lea rcx, [rbp + 8]
call fcn.14003aee0
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x14003dfbb
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003dfb5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003e6c5
call fcn.140084f34
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14003dff8
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003dff3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003e6cc
call fcn.140084f34
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x14003e047
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003e042
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003e6d3
call fcn.140084f34
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp + 0x80]
call sub.VCRUNTIME140.dll_memset
mov eax, Ordinal_60
mov word [rbp + 0x80], ax
mov word [rbp + 0x86], 0x2006
mov byte [rbp + 0x88], 1
mov dword [rbp + 0x8c], Ordinal_200
mov dword [rbp + 0x90], 2
mov qword [rbp + 0x98], 0x58
mov dword [rbp + 0xa0], eax
mov word [rbp + 0xa4], 0x112
mov byte [rbp + 0xa6], 0x80
mov byte [rbp + 0xa8], 0xc0
mov dword [rbp + 0x5d0], edi
mov qword [rsp + 0x38], rdi
lea rax, [rbp + 0x5d0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], pe_nt_image_headers64
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, pe_nt_image_headers64
lea r8, [rbp + 0x80]
mov edx, 0x4d004
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14003e138
movzx eax, byte [rbp + 0xdb]
test eax, eax
je 0x14003e138
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], rdi
mov qword [rbp], rdi
mov r8d, eax
lea rdx, [rbp + 0xdc]
lea rcx, [rbp - 0x18]
call fcn.14003ed00
mov rcx, qword [rbp]
mov r8, qword [rbp - 8]
mov rdx, qword [rbp - 0x18]
jmp 0x14003e167
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov r8d, 8
mov qword [rbp - 8], r8
mov ecx, reloc.WS2_32.dll_ntohs
mov qword [rbp], rcx
movabs rax, 0x3030303030303030
mov rdx, rax
mov qword [rbp - 0x18], rax
mov byte [rbp - 0x10], 0
bts r14d, 0xc
mov dword [rsp + 0x40], r14d
mov rax, rcx
sub rax, r8
cmp rax, 0x13
jb 0x14003e201
lea rax, [r8 + 0x13]
mov qword [rbp - 8], rax
lea rbx, [rbp - 0x18]
cmp rcx, 0xf
cmova rbx, rdx
lea rax, [0x1400f33a3]
lea rsi, [0x1400f3390]
cmp rax, rbx
jbe 0x14003e1be
lea rax, [rbx + r8]
cmp rsi, rax
ja 0x14003e1be
cmp rbx, rsi
jbe 0x14003e1c3
mov rdi, rbx
sub rdi, rsi
jmp 0x14003e1c3
mov edi, reloc.WS2_32.dll_send
lea rcx, [rbx + 0x13]
inc r8
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + rdi]
mov r8d, reloc.WS2_32.dll_send
sub r8, rdi
lea rdx, [rdi + 0x13]
add rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x18]
xor edi, edi
jmp 0x14003e224
mov qword [rsp + 0x28], reloc.WS2_32.dll_send
lea rax, [0x1400f3390]
mov qword [rsp + 0x20], rax
mov edx, reloc.WS2_32.dll_send
lea rcx, [rbp - 0x18]
call fcn.14003f160
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
bts r14d, 0xd
mov dword [rsp + 0x40], r14d
mov r8d, 1
lea rdx, reloc.WS2_32.dll_ioctlsocket
lea rcx, [rsp + 0x48]
call fcn.14003aee0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
bts r14d, 0xe
mov dword [rsp + 0x40], r14d
lea rdx, [rbp - 0x78]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0xf
cmova rdx, rcx
movq r8, xmm1
lea rcx, [rbp + 8]
call fcn.14003aee0
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x14003e309
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003e303
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003e6da
call fcn.140084f34
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14003e346
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003e341
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003e6e1
call fcn.140084f34
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp]
cmp rdx, 0xf
jbe 0x14003e394
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003e38f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003e6e8
call fcn.140084f34
mov rdx, r15
lea rcx, [rsp + 0x68]
call fcn.14003e8c0
mov rsi, rax
mov r8, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, rcx
sub rax, r8
cmp rax, 0x19
jb 0x14003e443
lea rax, [r8 + 0x19]
mov qword [rsi + 0x10], rax
mov rbx, rsi
cmp rcx, 0xf
jbe 0x14003e3d0
mov rbx, qword [rsi]
lea rax, [0x1400f33c1]
cmp rax, rbx
jbe 0x14003e3f9
lea rax, [rbx + r8]
lea rcx, [0x1400f33a8]
cmp rcx, rax
ja 0x14003e3f9
cmp rbx, rcx
jbe 0x14003e3fe
mov rdi, rbx
sub rdi, rcx
jmp 0x14003e3fe
mov edi, Ordinal_26
lea rcx, [rbx + 0x19]
inc r8
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rdi
lea rdx, [0x1400f33a8]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + rdi]
mov r8d, Ordinal_30
sub r8, rdi
lea rdx, [0x1400f33a8]
add rdx, 0x19
add rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
xor edi, edi
jmp 0x14003e468
mov qword [rsp + 0x28], Ordinal_30
lea rax, [0x1400f33a8]
mov qword [rsp + 0x20], rax
mov edx, Ordinal_26
mov rcx, rsi
call fcn.14003f160
mov rsi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
bts r14d, 0xf
mov dword [rsp + 0x40], r14d
mov r8d, 1
lea rdx, reloc.WS2_32.dll_ioctlsocket
lea rcx, [rsp + 0x48]
call fcn.14003aee0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
bts r14d, 0x10
mov dword [rsp + 0x40], r14d
lea rdx, [rbp - 0x78]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0xf
cmova rdx, rcx
movq r8, xmm1
lea rcx, [rbp + 8]
call fcn.14003aee0
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x14003e54d
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003e547
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003e6ef
call fcn.140084f34
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14003e58a
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003e585
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003e6f6
call fcn.140084f34
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x14003e5d9
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003e5d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003e6fd
call fcn.140084f34
mov rax, qword [r12 + 8]
cmp rax, qword [r12 + 0x10]
je 0x14003e5f9
lea rdx, [rbp + 8]
mov rcx, rax
call fcn.14003a900
add qword [r12 + 8], 0x20
jmp 0x14003e608
lea r8, [rbp + 8]
mov rdx, rax
mov rcx, r12
call fcn.14003eea0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp + 0x20]
cmp rdx, 0xf
jbe 0x14003e64d
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003e648
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003e704
call fcn.140084f34
lea rbx, [0x1400f3338]
lea rsi, [0x1400f3320]
inc r13d
cmp r13d, 0x10
jl 0x14003d3c0
mov rax, r12
mov rbx, qword [rsp + 0x6d8]
add rsp, 0x680
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3