Function at 0x14001fcb0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0x90
mov rax, qword [0x1400a8080]
xor rax, rsp
mov qword [rbp - 1], rax
mov r13, rdx
mov rdi, rcx
mov qword [rbp - 0x49], rcx
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x14001fd62
movsxd rsi, dword [rdx + 0x3c]
add rsi, rdx
cmp dword [rsi], 0x4550
jne 0x14001fd62
mov eax, 0x20b
cmp word [rsi + 0x18], ax
jne 0x14001fd62
mov ebx, dword [rsi + 0x50]
mov edx, ebx
xor ecx, ecx
lea r9d, [rcx + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r12, rax
test rax, rax
je 0x14001fd62
movzx ecx, word [rsi + 0x14]
mov eax, dword [rcx + rsi + 0x24]
mov dword [rbp - 0x31], eax
sub ebx, eax
mov edx, ebx
mov qword [rbp - 0x39], rdx
jne 0x14001fd8b
xor r14d, r14d
mov rdi, r14
mov rbx, qword [rbp - 0x49]
xor edx, edx
mov r8d, 0x8000
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, rdi
mov rcx, rbx
call fcn.14001b3a0
xor eax, eax
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.14007f0f0
mov rbx, qword [rsp + 0xe0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r8d, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [r8 + rcx]
cmp dword [0x1400e450c], eax
jle 0x14001fe55
lea rcx, [0x1400e450c]
call fcn.14007f450
cmp dword [0x1400e450c], 0xffffffff
jne 0x14001fe51
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, [0x1400932d8]
lea rcx, [rbp - 0x29]
call fcn.1400199f0
nop
lea r8, [rbp - 0x29]
mov rdx, qword [0x1400ae6e8]
mov rcx, rdi
call fcn.14001b4b0
mov qword [0x1400e4570], rax
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x14001fe45
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001fe3f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001fe3f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007f3a0
nop
lea rcx, [0x1400e450c]
call fcn.14007f3e4
mov rdx, qword [rbp - 0x39]
xor r14d, r14d
cmp qword [0x1400e4570], r14
je 0x14001fd3f
mov qword [rbp - 0x41], r14
mov qword [rsp + 0x20], rdx
lea rdx, [rbp - 0x41]
mov rcx, rdi
call fcn.14001d150
test al, al
je 0x14001fd3f
mov rdi, qword [rbp - 0x41]
test rdi, rdi
je 0x14001fd42
mov r8d, dword [rsi + 0x54]
mov rdx, r13
mov rcx, r12
call sub.VCRUNTIME140.dll_memcpy
movzx ebx, word [rsi + 0x14]
add rbx, 0x28
mov r15d, r14d
cmp r14w, word [rsi + 6]
jae 0x14001fee0
add rbx, rsi
test dword [rbx + 0x14], 0x80
ja 0x14001fed0
mov r8d, dword [rbx]
mov edx, dword [rbx + 4]
add rdx, r13
mov ecx, dword [rbx - 4]
add rcx, r12
call sub.VCRUNTIME140.dll_memcpy
inc r15d
add rbx, 0x28
movzx eax, word [rsi + 6]
cmp r15d, eax
jl 0x14001feb3
mov r13d, dword [rbp - 0x31]
mov r15, rdi
sub r15, r13
mov rbx, r15
sub rbx, qword [rsi + 0x30]
mov rdx, r12
lea rcx, [rbp - 0x29]
call fcn.14001e0c0
mov rdx, rbx
mov rcx, rax
call fcn.14001ffd0
mov rdx, r12
lea rcx, [rbp - 0x29]
call fcn.14001e210
mov rdx, rax
mov rbx, qword [rbp - 0x49]
mov rcx, rbx
call fcn.1400200d0
test al, al
je 0x14001fd46
lea rax, [r12 + r13]
test rax, rax
je 0x14001fd46
mov qword [rbp - 0x21], r14
mov qword [rbp - 0x29], gethostname
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], rdi
mov rax, qword [rbp - 0x39]
mov qword [rbp - 9], rax
mov dword [rbp - 0x31], r14d
mov qword [rsp + 0x38], r14
lea rax, [rbp - 0x31]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
mov r9d, Ordinal_45
lea r8, [rbp - 0x29]
mov edx, 0x80862007
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14001fd46
mov r8d, dword [rsi + 0x28]
add r8, r15
mov dword [rbp - 0x31], r14d
mov qword [rsp + 0x20], r14
xor r9d, r9d
lea rdx, [rbp - 0x31]
mov rcx, rbx
call fcn.1400201c0
test al, al
je 0x14001fd46
xor edx, edx
mov r8d, 0x8000
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rdi
jmp 0x14001fd64