Function at 0x14005ef90
Capabilities:
Load ntoskrnl
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140181080]
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 [0x140183780], eax
jle 0x14005f003
lea rcx, [0x140183780]
call fcn.1401365d0
cmp dword [0x140183780], 0xffffffff
jne 0x14005f003
mov r8d, ebx
lea rcx, [0x140157a08]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
lea rcx, [0x140183780]
mov qword [0x140183778], rax
call fcn.140136564
mov eax, dword [rdi]
cmp dword [0x14018379c], eax
jle 0x14005f03c
lea rcx, [0x14018379c]
call fcn.1401365d0
cmp dword [0x14018379c], 0xffffffff
jne 0x14005f03c
mov rax, qword [0x140183778]
lea rcx, [0x14018379c]
mov qword [0x1401837f0], rax
call fcn.140136564
mov rax, qword [0x1401837f0]
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005f2d5
mov eax, dword [rdi]
cmp dword [0x1401837b0], eax
jle 0x14005f095
lea rcx, [0x1401837b0]
call fcn.1401365d0
cmp dword [0x1401837b0], 0xffffffff
jne 0x14005f095
mov rax, qword [0x1401837f0]
lea rcx, [0x1401837b0]
movsxd rdx, dword [rax + 0x3c]
add rdx, qword [0x140183778]
mov qword [0x140183808], rdx
call fcn.140136564
mov rax, qword [0x140183808]
cmp dword [rax], 0x4550
jne 0x14005f2d5
mov eax, dword [rdi]
cmp dword [0x1401837a0], eax
mov qword [rsp + 0x70], rsi
jle 0x14005f0ec
lea rcx, [0x1401837a0]
call fcn.1401365d0
cmp dword [0x1401837a0], 0xffffffff
jne 0x14005f0ec
mov rax, qword [0x140183808]
lea rcx, [0x1401837a0]
add rax, 0x108
mov qword [0x140183858], rax
call fcn.140136564
mov eax, dword [rdi]
cmp dword [0x140183848], eax
jle 0x14005f125
lea rcx, [0x140183848]
call fcn.1401365d0
cmp dword [0x140183848], 0xffffffff
jne 0x14005f125
mov rax, qword [0x140183858]
lea rcx, [0x140183848]
mov qword [0x140183760], rax
call fcn.140136564
mov eax, dword [rdi]
cmp dword [0x14018384c], eax
jle 0x14005f162
lea rcx, [0x14018384c]
call fcn.1401365d0
cmp dword [0x14018384c], 0xffffffff
jne 0x14005f162
mov rax, qword [0x140183808]
lea rcx, [0x14018384c]
movzx edx, word [rax + 6]
mov word [0x140183770], dx
call fcn.140136564
xchg byte [0x1401837ac], bl
mov rdx, qword [0x140183858]
xor esi, esi
test bl, bl
jne 0x14005f1d6
movzx eax, word [0x140183770]
lea rcx, [rax + rax*4]
mov rax, qword [0x140183760]
lea r8, [rax + rcx*8]
cmp rdx, r8
jae 0x14005f1d6
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 0x14005f1c6
cmp rcx, 5
jne 0x14005f1b0
jmp 0x14005f1d6
add rdx, 0x28
mov qword [0x140183858], rdx
cmp rdx, r8
jb 0x14005f1a0
mov eax, dword [rdi]
cmp dword [0x140183754], eax
jle 0x14005f220
lea rcx, [0x140183754]
call fcn.1401365d0
cmp dword [0x140183754], 0xffffffff
jne 0x14005f219
mov rax, qword [0x140183858]
lea rcx, [0x140183754]
mov edx, dword [rax + 0xc]
add rdx, qword [0x140183778]
mov qword [0x140183830], rdx
call fcn.140136564
mov rdx, qword [0x140183858]
mov ecx, dword [rdx + 0x10]
mov r10, qword [0x140183830]
movdqa xmm0, xmmword [0x140162c00]
movdqa xmm1, xmmword [0x140162790]
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 0x14005f2ba
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 0x14005f2a6
cmp byte [r8], r9b
jne 0x14005f2cb
inc r8
lea rcx, [rsp + 0x4e]
add rdx, 2
cmp rdx, rcx
jne 0x14005f290
mov rax, r10
cmp rax, rbx
cmovne rsi, rax
mov rax, rsi
mov rsi, qword [rsp + 0x70]
jmp 0x14005f2d7
cmp r10, r11
je 0x14005f2ba
inc r10
jmp 0x14005f280
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140136500
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret