Function at 0x14005e340
Capabilities:
Load ntoskrnl
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x14015a080]
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 [0x14015c4fc], eax
jle 0x14005e3b3
lea rcx, [0x14015c4fc]
call fcn.140113170
cmp dword [0x14015c4fc], 0xffffffff
jne 0x14005e3b3
mov r8d, ebx
lea rcx, [0x1401338f8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
lea rcx, [0x14015c4fc]
mov qword [0x14015c598], rax
call fcn.140113104
mov eax, dword [rdi]
cmp dword [0x14015c5bc], eax
jle 0x14005e3ec
lea rcx, [0x14015c5bc]
call fcn.140113170
cmp dword [0x14015c5bc], 0xffffffff
jne 0x14005e3ec
mov rax, qword [0x14015c598]
lea rcx, [0x14015c5bc]
mov qword [0x14015c550], rax
call fcn.140113104
mov rax, qword [0x14015c550]
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005e665
mov eax, dword [rdi]
cmp dword [0x14015c5b4], eax
jle 0x14005e445
lea rcx, [0x14015c5b4]
call fcn.140113170
cmp dword [0x14015c5b4], 0xffffffff
jne 0x14005e445
mov rax, qword [0x14015c550]
lea rcx, [0x14015c5b4]
movsxd rdx, dword [rax + 0x3c]
add rdx, qword [0x14015c598]
mov qword [0x14015c578], rdx
call fcn.140113104
mov rax, qword [0x14015c578]
cmp dword [rax], 0x4550
jne 0x14005e665
mov eax, dword [rdi]
cmp dword [0x14015c50c], eax
mov qword [rsp + 0x60], rsi
jle 0x14005e49c
lea rcx, [0x14015c50c]
call fcn.140113170
cmp dword [0x14015c50c], 0xffffffff
jne 0x14005e49c
mov rax, qword [0x14015c578]
lea rcx, [0x14015c50c]
add rax, 0x108
mov qword [0x14015c4e0], rax
call fcn.140113104
mov eax, dword [rdi]
cmp dword [0x14015c510], eax
jle 0x14005e4d5
lea rcx, [0x14015c510]
call fcn.140113170
cmp dword [0x14015c510], 0xffffffff
jne 0x14005e4d5
mov rax, qword [0x14015c4e0]
lea rcx, [0x14015c510]
mov qword [0x14015c5c8], rax
call fcn.140113104
mov eax, dword [rdi]
cmp dword [0x14015c570], eax
jle 0x14005e512
lea rcx, [0x14015c570]
call fcn.140113170
cmp dword [0x14015c570], 0xffffffff
jne 0x14005e512
mov rax, qword [0x14015c578]
lea rcx, [0x14015c570]
movzx edx, word [rax + 6]
mov word [0x14015c5b8], dx
call fcn.140113104
xchg byte [0x14015c5a0], bl
mov rdx, qword [0x14015c4e0]
xor esi, esi
test bl, bl
jne 0x14005e586
movzx eax, word [0x14015c5b8]
lea rcx, [rax + rax*4]
mov rax, qword [0x14015c5c8]
lea r8, [rax + rcx*8]
cmp rdx, r8
jae 0x14005e586
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 0x14005e576
cmp rcx, 5
jne 0x14005e560
jmp 0x14005e586
add rdx, 0x28
mov qword [0x14015c4e0], rdx
cmp rdx, r8
jb 0x14005e550
mov eax, dword [rdi]
cmp dword [0x14015c4d0], eax
jle 0x14005e5d0
lea rcx, [0x14015c4d0]
call fcn.140113170
cmp dword [0x14015c4d0], 0xffffffff
jne 0x14005e5c9
mov rax, qword [0x14015c4e0]
lea rcx, [0x14015c4d0]
mov edx, dword [rax + 0xc]
add rdx, qword [0x14015c598]
mov qword [0x14015c5d8], rdx
call fcn.140113104
mov rdx, qword [0x14015c4e0]
mov ecx, dword [rdx + 0x10]
mov r10, qword [0x14015c5d8]
movdqa xmm0, xmmword [0x14013e180]
movdqa xmm1, xmmword [0x14013e170]
movdqu xmmword [rsp + 0x20], xmm0
lea rbx, [rcx + r10]
mov rax, rbx
movdqu xmmword [rsp + 0x30], xmm1
cmp rcx, 0x10
jb 0x14005e64a
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 0x14005e636
cmp byte [r8], r9b
jne 0x14005e65b
inc r8
lea rcx, [rsp + 0x40]
add rdx, 2
cmp rdx, rcx
jne 0x14005e620
mov rax, r10
cmp rax, rbx
cmovne rsi, rax
mov rax, rsi
mov rsi, qword [rsp + 0x60]
jmp 0x14005e667
cmp r10, r11
je 0x14005e64a
inc r10
jmp 0x14005e610
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401130a0
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret