Function at 0x14005ed70
Capabilities:
Load ntoskrnl
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x140181080]
xor rax, rsp
mov qword [rsp + 0x40], 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 [0x140183774], eax
jle 0x14005ede3
lea rcx, [0x140183774]
call fcn.1401364b0
cmp dword [0x140183774], 0xffffffff
jne 0x14005ede3
mov r8d, ebx
lea rcx, [0x140157a18]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
lea rcx, [0x140183774]
mov qword [0x140183810], rax
call fcn.140136444
mov eax, dword [rdi]
cmp dword [0x140183834], eax
jle 0x14005ee1c
lea rcx, [0x140183834]
call fcn.1401364b0
cmp dword [0x140183834], 0xffffffff
jne 0x14005ee1c
mov rax, qword [0x140183810]
lea rcx, [0x140183834]
mov qword [0x1401837c8], rax
call fcn.140136444
mov rax, qword [0x1401837c8]
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005f095
mov eax, dword [rdi]
cmp dword [0x14018382c], eax
jle 0x14005ee75
lea rcx, [0x14018382c]
call fcn.1401364b0
cmp dword [0x14018382c], 0xffffffff
jne 0x14005ee75
mov rax, qword [0x1401837c8]
lea rcx, [0x14018382c]
movsxd rdx, dword [rax + 0x3c]
add rdx, qword [0x140183810]
mov qword [0x1401837f0], rdx
call fcn.140136444
mov rax, qword [0x1401837f0]
cmp dword [rax], 0x4550
jne 0x14005f095
mov eax, dword [rdi]
cmp dword [0x140183784], eax
mov qword [rsp + 0x60], rsi
jle 0x14005eecc
lea rcx, [0x140183784]
call fcn.1401364b0
cmp dword [0x140183784], 0xffffffff
jne 0x14005eecc
mov rax, qword [0x1401837f0]
lea rcx, [0x140183784]
add rax, 0x108
mov qword [0x140183758], rax
call fcn.140136444
mov eax, dword [rdi]
cmp dword [0x140183788], eax
jle 0x14005ef05
lea rcx, [0x140183788]
call fcn.1401364b0
cmp dword [0x140183788], 0xffffffff
jne 0x14005ef05
mov rax, qword [0x140183758]
lea rcx, [0x140183788]
mov qword [0x140183840], rax
call fcn.140136444
mov eax, dword [rdi]
cmp dword [0x1401837e8], eax
jle 0x14005ef42
lea rcx, [0x1401837e8]
call fcn.1401364b0
cmp dword [0x1401837e8], 0xffffffff
jne 0x14005ef42
mov rax, qword [0x1401837f0]
lea rcx, [0x1401837e8]
movzx edx, word [rax + 6]
mov word [0x140183830], dx
call fcn.140136444
xchg byte [0x140183818], bl
mov rdx, qword [0x140183758]
xor esi, esi
test bl, bl
jne 0x14005efb6
movzx eax, word [0x140183830]
lea rcx, [rax + rax*4]
mov rax, qword [0x140183840]
lea r8, [rax + rcx*8]
cmp rdx, r8
jae 0x14005efb6
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 0x14005efa6
cmp rcx, 5
jne 0x14005ef90
jmp 0x14005efb6
add rdx, 0x28
mov qword [0x140183758], rdx
cmp rdx, r8
jb 0x14005ef80
mov eax, dword [rdi]
cmp dword [0x140183748], eax
jle 0x14005f000
lea rcx, [0x140183748]
call fcn.1401364b0
cmp dword [0x140183748], 0xffffffff
jne 0x14005eff9
mov rax, qword [0x140183758]
lea rcx, [0x140183748]
mov edx, dword [rax + 0xc]
add rdx, qword [0x140183810]
mov qword [0x140183850], rdx
call fcn.140136444
mov rdx, qword [0x140183758]
mov ecx, dword [rdx + 0x10]
mov r10, qword [0x140183850]
movdqa xmm0, xmmword [0x140162ac0]
movdqa xmm1, xmmword [0x140162ab0]
movdqu xmmword [rsp + 0x20], xmm0
lea rbx, [rcx + r10]
mov rax, rbx
movdqu xmmword [rsp + 0x30], xmm1
cmp rcx, 0x10
jb 0x14005f07a
lea r11, [rbx - 0x10]
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 0x14005f066
cmp byte [r8], r9b
jne 0x14005f08b
inc r8
lea rcx, [rsp + 0x40]
add rdx, 2
cmp rdx, rcx
jne 0x14005f050
mov rax, r10
cmp rax, rbx
cmovne rsi, rax
mov rax, rsi
mov rsi, qword [rsp + 0x60]
jmp 0x14005f097
cmp r10, r11
je 0x14005f07a
inc r10
jmp 0x14005f040
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401363e0
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret