Function at 0x14005f1b0
Capabilities:
Load ntoskrnl
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x14017b080]
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 [0x14017d734], eax
jle 0x14005f223
lea rcx, [0x14017d734]
call fcn.140131370
cmp dword [0x14017d734], 0xffffffff
jne 0x14005f223
mov r8d, ebx
lea rcx, [0x140152a48]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
lea rcx, [0x14017d734]
mov qword [0x14017d7d0], rax
call fcn.140131304
mov eax, dword [rdi]
cmp dword [0x14017d7f4], eax
jle 0x14005f25c
lea rcx, [0x14017d7f4]
call fcn.140131370
cmp dword [0x14017d7f4], 0xffffffff
jne 0x14005f25c
mov rax, qword [0x14017d7d0]
lea rcx, [0x14017d7f4]
mov qword [0x14017d788], rax
call fcn.140131304
mov rax, qword [0x14017d788]
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005f4d5
mov eax, dword [rdi]
cmp dword [0x14017d7ec], eax
jle 0x14005f2b5
lea rcx, [0x14017d7ec]
call fcn.140131370
cmp dword [0x14017d7ec], 0xffffffff
jne 0x14005f2b5
mov rax, qword [0x14017d788]
lea rcx, [0x14017d7ec]
movsxd rdx, dword [rax + 0x3c]
add rdx, qword [0x14017d7d0]
mov qword [0x14017d7b0], rdx
call fcn.140131304
mov rax, qword [0x14017d7b0]
cmp dword [rax], 0x4550
jne 0x14005f4d5
mov eax, dword [rdi]
cmp dword [0x14017d744], eax
mov qword [rsp + 0x60], rsi
jle 0x14005f30c
lea rcx, [0x14017d744]
call fcn.140131370
cmp dword [0x14017d744], 0xffffffff
jne 0x14005f30c
mov rax, qword [0x14017d7b0]
lea rcx, [0x14017d744]
add rax, 0x108
mov qword [0x14017d718], rax
call fcn.140131304
mov eax, dword [rdi]
cmp dword [0x14017d748], eax
jle 0x14005f345
lea rcx, [0x14017d748]
call fcn.140131370
cmp dword [0x14017d748], 0xffffffff
jne 0x14005f345
mov rax, qword [0x14017d718]
lea rcx, [0x14017d748]
mov qword [0x14017d800], rax
call fcn.140131304
mov eax, dword [rdi]
cmp dword [0x14017d7a8], eax
jle 0x14005f382
lea rcx, [0x14017d7a8]
call fcn.140131370
cmp dword [0x14017d7a8], 0xffffffff
jne 0x14005f382
mov rax, qword [0x14017d7b0]
lea rcx, [0x14017d7a8]
movzx edx, word [rax + 6]
mov word [0x14017d7f0], dx
call fcn.140131304
xchg byte [0x14017d7d8], bl
mov rdx, qword [0x14017d718]
xor esi, esi
test bl, bl
jne 0x14005f3f6
movzx eax, word [0x14017d7f0]
lea rcx, [rax + rax*4]
mov rax, qword [0x14017d800]
lea r8, [rax + rcx*8]
cmp rdx, r8
jae 0x14005f3f6
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 0x14005f3e6
cmp rcx, 5
jne 0x14005f3d0
jmp 0x14005f3f6
add rdx, 0x28
mov qword [0x14017d718], rdx
cmp rdx, r8
jb 0x14005f3c0
mov eax, dword [rdi]
cmp dword [0x14017d708], eax
jle 0x14005f440
lea rcx, [0x14017d708]
call fcn.140131370
cmp dword [0x14017d708], 0xffffffff
jne 0x14005f439
mov rax, qword [0x14017d718]
lea rcx, [0x14017d708]
mov edx, dword [rax + 0xc]
add rdx, qword [0x14017d7d0]
mov qword [0x14017d810], rdx
call fcn.140131304
mov rdx, qword [0x14017d718]
mov ecx, dword [rdx + 0x10]
mov r10, qword [0x14017d810]
movdqa xmm0, xmmword [0x14015d840]
movdqa xmm1, xmmword [0x14015d830]
movdqu xmmword [rsp + 0x20], xmm0
lea rbx, [rcx + r10]
mov rax, rbx
movdqu xmmword [rsp + 0x30], xmm1
cmp rcx, 0x10
jb 0x14005f4ba
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 0x14005f4a6
cmp byte [r8], r9b
jne 0x14005f4cb
inc r8
lea rcx, [rsp + 0x40]
add rdx, 2
cmp rdx, rcx
jne 0x14005f490
mov rax, r10
cmp rax, rbx
cmovne rsi, rax
mov rax, rsi
mov rsi, qword [rsp + 0x60]
jmp 0x14005f4d7
cmp r10, r11
je 0x14005f4ba
inc r10
jmp 0x14005f480
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401312a0
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret