Function at 0x14005ea90
Capabilities:
Load ntoskrnl
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140169080]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rax, qword gs:[0x58]
mov ebx, 1
mov edi, reloc.WS2_32.dll_recv
add rdi, qword [rax]
mov eax, dword [rdi]
cmp dword [0x14016b648], eax
jle 0x14005eb03
lea rcx, [0x14016b648]
call fcn.140120240
cmp dword [0x14016b648], 0xffffffff
jne 0x14005eb03
mov r8d, ebx
lea rcx, [0x140141908]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
lea rcx, [0x14016b648]
mov qword [0x14016b640], rax
call fcn.1401201d4
mov eax, dword [rdi]
cmp dword [0x14016b664], eax
jle 0x14005eb3c
lea rcx, [0x14016b664]
call fcn.140120240
cmp dword [0x14016b664], 0xffffffff
jne 0x14005eb3c
mov rax, qword [0x14016b640]
lea rcx, [0x14016b664]
mov qword [0x14016b6b8], rax
call fcn.1401201d4
mov rax, qword [0x14016b6b8]
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005edd5
mov eax, dword [rdi]
cmp dword [0x14016b678], eax
jle 0x14005eb95
lea rcx, [0x14016b678]
call fcn.140120240
cmp dword [0x14016b678], 0xffffffff
jne 0x14005eb95
mov rax, qword [0x14016b6b8]
lea rcx, [0x14016b678]
movsxd rdx, dword [rax + 0x3c]
add rdx, qword [0x14016b640]
mov qword [0x14016b6d0], rdx
call fcn.1401201d4
mov rax, qword [0x14016b6d0]
cmp dword [rax], 0x4550
jne 0x14005edd5
mov eax, dword [rdi]
cmp dword [0x14016b668], eax
mov qword [rsp + 0x70], rsi
jle 0x14005ebec
lea rcx, [0x14016b668]
call fcn.140120240
cmp dword [0x14016b668], 0xffffffff
jne 0x14005ebec
mov rax, qword [0x14016b6d0]
lea rcx, [0x14016b668]
add rax, 0x108
mov qword [0x14016b720], rax
call fcn.1401201d4
mov eax, dword [rdi]
cmp dword [0x14016b710], eax
jle 0x14005ec25
lea rcx, [0x14016b710]
call fcn.140120240
cmp dword [0x14016b710], 0xffffffff
jne 0x14005ec25
mov rax, qword [0x14016b720]
lea rcx, [0x14016b710]
mov qword [0x14016b628], rax
call fcn.1401201d4
mov eax, dword [rdi]
cmp dword [0x14016b714], eax
jle 0x14005ec62
lea rcx, [0x14016b714]
call fcn.140120240
cmp dword [0x14016b714], 0xffffffff
jne 0x14005ec62
mov rax, qword [0x14016b6d0]
lea rcx, [0x14016b714]
movzx edx, word [rax + 6]
mov word [0x14016b638], dx
call fcn.1401201d4
xchg byte [0x14016b674], bl
mov rdx, qword [0x14016b720]
xor esi, esi
test bl, bl
jne 0x14005ecd6
movzx eax, word [0x14016b638]
lea rcx, [rax + rax*4]
mov rax, qword [0x14016b628]
lea r8, [rax + rcx*8]
cmp rdx, r8
jae 0x14005ecd6
lea r9, str.PAGE
nop word [rax + rax]
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r9 + rcx - 1]
jne 0x14005ecc6
cmp rcx, 5
jne 0x14005ecb0
jmp 0x14005ecd6
add rdx, 0x28
mov qword [0x14016b720], rdx
cmp rdx, r8
jb 0x14005eca0
mov eax, dword [rdi]
cmp dword [0x14016b61c], eax
jle 0x14005ed20
lea rcx, [0x14016b61c]
call fcn.140120240
cmp dword [0x14016b61c], 0xffffffff
jne 0x14005ed19
mov rax, qword [0x14016b720]
lea rcx, [0x14016b61c]
mov edx, dword [rax + 0xc]
add rdx, qword [0x14016b640]
mov qword [0x14016b6f8], rdx
call fcn.1401201d4
mov rdx, qword [0x14016b720]
mov ecx, dword [rdx + 0x10]
mov r10, qword [0x14016b6f8]
movdqa xmm0, xmmword [0x14014c410]
movdqa xmm1, xmmword [0x14014c030]
mov dword [rsp + 0x40], 0x3f003f00
mov dword [rsp + 0x44], 0x78483f00
lea rbx, [rcx + r10]
mov dword [rsp + 0x48], 0x78c07885
mov rax, rbx
mov word [rsp + 0x4c], 0x780f
movdqu xmmword [rsp + 0x20], xmm0
movdqu xmmword [rsp + 0x30], xmm1
cmp rcx, 0x17
jb 0x14005edba
lea r11, [rbx - 0x17]
nop word [rax + rax]
mov r8, r10
lea rdx, [rsp + 0x20]
nop dword [rax + rax]
movzx r9d, word [rdx]
movzx ecx, r9w
shr cx, 8
cmp cl, 0x3f
je 0x14005eda6
cmp byte [r8], r9b
jne 0x14005edcb
inc r8
lea rcx, [rsp + 0x4e]
add rdx, 2
cmp rdx, rcx
jne 0x14005ed90
mov rax, r10
cmp rax, rbx
cmovne rsi, rax
mov rax, rsi
mov rsi, qword [rsp + 0x70]
jmp 0x14005edd7
cmp r10, r11
je 0x14005edba
inc r10
jmp 0x14005ed80
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140120170
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret