Function at 0x14005e1e0
Capabilities:
Load ntoskrnl
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x140172080]
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 [0x1401746dc], eax
jle 0x14005e253
lea rcx, [0x1401746dc]
call fcn.140128600
cmp dword [0x1401746dc], 0xffffffff
jne 0x14005e253
mov r8d, ebx
lea rcx, [0x1401498e8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
lea rcx, [0x1401746dc]
mov qword [0x140174778], rax
call fcn.140128594
mov eax, dword [rdi]
cmp dword [0x14017479c], eax
jle 0x14005e28c
lea rcx, [0x14017479c]
call fcn.140128600
cmp dword [0x14017479c], 0xffffffff
jne 0x14005e28c
mov rax, qword [0x140174778]
lea rcx, [0x14017479c]
mov qword [0x140174730], rax
call fcn.140128594
mov rax, qword [0x140174730]
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005e505
mov eax, dword [rdi]
cmp dword [0x140174794], eax
jle 0x14005e2e5
lea rcx, [0x140174794]
call fcn.140128600
cmp dword [0x140174794], 0xffffffff
jne 0x14005e2e5
mov rax, qword [0x140174730]
lea rcx, [0x140174794]
movsxd rdx, dword [rax + 0x3c]
add rdx, qword [0x140174778]
mov qword [0x140174758], rdx
call fcn.140128594
mov rax, qword [0x140174758]
cmp dword [rax], 0x4550
jne 0x14005e505
mov eax, dword [rdi]
cmp dword [0x1401746ec], eax
mov qword [rsp + 0x60], rsi
jle 0x14005e33c
lea rcx, [0x1401746ec]
call fcn.140128600
cmp dword [0x1401746ec], 0xffffffff
jne 0x14005e33c
mov rax, qword [0x140174758]
lea rcx, [0x1401746ec]
add rax, 0x108
mov qword [0x1401746c0], rax
call fcn.140128594
mov eax, dword [rdi]
cmp dword [0x1401746f0], eax
jle 0x14005e375
lea rcx, [0x1401746f0]
call fcn.140128600
cmp dword [0x1401746f0], 0xffffffff
jne 0x14005e375
mov rax, qword [0x1401746c0]
lea rcx, [0x1401746f0]
mov qword [0x1401747a8], rax
call fcn.140128594
mov eax, dword [rdi]
cmp dword [0x140174750], eax
jle 0x14005e3b2
lea rcx, [0x140174750]
call fcn.140128600
cmp dword [0x140174750], 0xffffffff
jne 0x14005e3b2
mov rax, qword [0x140174758]
lea rcx, [0x140174750]
movzx edx, word [rax + 6]
mov word [0x140174798], dx
call fcn.140128594
xchg byte [0x140174780], bl
mov rdx, qword [0x1401746c0]
xor esi, esi
test bl, bl
jne 0x14005e426
movzx eax, word [0x140174798]
lea rcx, [rax + rax*4]
mov rax, qword [0x1401747a8]
lea r8, [rax + rcx*8]
cmp rdx, r8
jae 0x14005e426
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 0x14005e416
cmp rcx, 5
jne 0x14005e400
jmp 0x14005e426
add rdx, 0x28
mov qword [0x1401746c0], rdx
cmp rdx, r8
jb 0x14005e3f0
mov eax, dword [rdi]
cmp dword [0x1401746b0], eax
jle 0x14005e470
lea rcx, [0x1401746b0]
call fcn.140128600
cmp dword [0x1401746b0], 0xffffffff
jne 0x14005e469
mov rax, qword [0x1401746c0]
lea rcx, [0x1401746b0]
mov edx, dword [rax + 0xc]
add rdx, qword [0x140174778]
mov qword [0x1401747b8], rdx
call fcn.140128594
mov rdx, qword [0x1401746c0]
mov ecx, dword [rdx + 0x10]
mov r10, qword [0x1401747b8]
movdqa xmm0, xmmword [0x140154850]
movdqa xmm1, xmmword [0x140154840]
movdqu xmmword [rsp + 0x20], xmm0
lea rbx, [rcx + r10]
mov rax, rbx
movdqu xmmword [rsp + 0x30], xmm1
cmp rcx, 0x10
jb 0x14005e4ea
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 0x14005e4d6
cmp byte [r8], r9b
jne 0x14005e4fb
inc r8
lea rcx, [rsp + 0x40]
add rdx, 2
cmp rdx, rcx
jne 0x14005e4c0
mov rax, r10
cmp rax, rbx
cmovne rsi, rax
mov rax, rsi
mov rsi, qword [rsp + 0x60]
jmp 0x14005e507
cmp r10, r11
je 0x14005e4ea
inc r10
jmp 0x14005e4b0
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140128530
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret