Function at 0x140086fd0
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 [0x14033b620]
xor rax, rsp
mov qword [rbp - 1], rax
mov r13, rdx
mov r15, rcx
mov qword [rbp - 0x49], rcx
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x140087081
movsxd rdi, dword [rdx + 0x3c]
add rdi, rdx
cmp dword [rdi], 0x4550
jne 0x140087081
mov eax, 0x20b
cmp word [rdi + 0x18], ax
jne 0x140087081
mov ebx, dword [rdi + 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 0x140087081
movzx ecx, word [rdi + 0x14]
mov eax, dword [rcx + rdi + 0x24]
mov dword [rbp - 0x31], eax
sub ebx, eax
mov edx, ebx
mov qword [rbp - 0x39], rdx
jne 0x1400870aa
xor esi, esi
mov r15, rsi
mov rbx, qword [rbp - 0x49]
xor edx, edx
mov r8d, 0x8000
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, r15
mov rcx, rbx
call fcn.140082880
xor eax, eax
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.140224090
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 [0x14034d9fc], eax
jle 0x140087171
lea rcx, [0x14034d9fc]
call fcn.1402241c8
cmp dword [0x14034d9fc], 0xffffffff
jne 0x14008716d
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, str.ExAllocatePoolWithTag
lea rcx, [rbp - 0x29]
call fcn.14005cf80
nop
lea r8, [rbp - 0x29]
mov rdx, qword [0x14034d778]
mov rcx, r15
call fcn.140082990
mov qword [0x14034da70], rax
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x140087161
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008715b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400872ea
call fcn.1402240ec
nop
lea rcx, [0x14034d9fc]
call fcn.14022415c
mov rdx, qword [rbp - 0x39]
xor esi, esi
cmp qword [0x14034da70], rsi
je 0x14008705e
mov qword [rbp - 0x41], rsi
mov qword [rsp + 0x20], rdx
lea rdx, [rbp - 0x41]
mov rcx, r15
call fcn.140085d80
test al, al
je 0x14008705e
mov r15, qword [rbp - 0x41]
test r15, r15
je 0x140087061
mov r8d, dword [rdi + 0x54]
mov rdx, r13
mov rcx, r12
call fcn.140226450
movzx ebx, word [rdi + 0x14]
add rbx, 0x28
mov r14d, esi
cmp si, word [rdi + 6]
jae 0x1400871fd
add rbx, rdi
nop dword [rax]
test dword [rbx + 0x14], 0x80
ja 0x1400871ed
mov r8d, dword [rbx]
mov edx, dword [rbx + 4]
add rdx, r13
mov ecx, dword [rbx - 4]
add rcx, r12
call fcn.140226450
inc r14d
add rbx, 0x28
movzx eax, word [rdi + 6]
cmp r14d, eax
jl 0x1400871d0
mov r13d, dword [rbp - 0x31]
mov r14, r15
sub r14, r13
mov rbx, r14
sub rbx, qword [rdi + 0x30]
mov rdx, r12
lea rcx, [rbp - 0x29]
call fcn.140087a70
mov rdx, rbx
mov rcx, rax
call fcn.1400872f0
mov rdx, r12
lea rcx, [rbp - 0x29]
call fcn.140087bc0
mov rdx, rax
mov rbx, qword [rbp - 0x49]
mov rcx, rbx
call fcn.1400873f0
test al, al
je 0x140087065
lea rax, [r12 + r13]
test rax, rax
je 0x140087065
mov qword [rbp - 0x21], rsi
mov qword [rbp - 0x29], gethostname
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], r15
mov rax, qword [rbp - 0x39]
mov qword [rbp - 9], rax
mov dword [rbp - 0x31], esi
mov qword [rsp + 0x38], rsi
lea rax, [rbp - 0x31]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
mov r9d, Ordinal_41
lea r8, [rbp - 0x29]
mov edx, 0x80862007
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140087065
mov r8d, dword [rdi + 0x28]
add r8, r14
mov dword [rbp - 0x31], esi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea rdx, [rbp - 0x31]
mov rcx, rbx
call fcn.140087650
test al, al
je 0x140087065
xor edx, edx
mov r8d, 0x8000
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, r15
jmp 0x140087083
call fcn.140233764
int3