Function at 0x140012590
Capabilities:
Load ntoskrnl
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x1400a3c40]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov ebx, reloc.WS2_32.dll_recv
mov rax, qword gs:[0x58]
add rbx, qword [rax]
xor edi, edi
mov eax, dword [rbx]
cmp dword [0x1408e9948], eax
jle 0x140012675
lea rcx, [0x1408e9948]
call fcn.14005bf78
cmp dword [0x1408e9948], 0xffffffff
jne 0x140012675
mov qword [rbp + 7], rdi
mov qword [rbp + 0x17], rdi
mov qword [rbp + 0x1f], recv
mov byte [rbp + 7], dil
lea r8d, [rdi + 0xc]
lea rdx, [0x140091748]
lea rcx, [rbp + 7]
call fcn.140003650
nop
lea rcx, [rbp + 7]
call fcn.140019f10
mov qword [0x1408e9950], rax
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x140012669
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012663
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012993
call fcn.14005c324
nop
lea rcx, [0x1408e9948]
call fcn.14005bf18
movups xmm0, xmmword [0x140091998]
movups xmmword [rbp + 0x27], xmm0
movsd xmm1, qword [0x1400919a8]
movsd qword [rbp + 0x37], xmm1
movups xmm0, xmmword [str.xxxxxx____xx________xxxx]
movups xmmword [rbp + 7], xmm0
movsd xmm1, qword [0x1400919c8]
movsd qword [rbp + 0x17], xmm1
mov eax, dword [rbx]
cmp dword [0x1408e9918], eax
jle 0x1400126ea
lea rcx, [0x1408e9918]
call fcn.14005bf78
cmp dword [0x1408e9918], 0xffffffff
jne 0x1400126ea
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140091748]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [0x1408e9908], rax
lea rcx, [0x1408e9918]
call fcn.14005bf18
mov eax, dword [rbx]
cmp dword [0x1408e9978], eax
jle 0x140012723
lea rcx, [0x1408e9978]
call fcn.14005bf78
cmp dword [0x1408e9978], 0xffffffff
jne 0x140012723
mov rax, qword [0x1408e9908]
mov qword [0x1408e98f0], rax
lea rcx, [0x1408e9978]
call fcn.14005bf18
mov ecx, 0x5a4d
mov rax, qword [0x1408e98f0]
cmp word [rax], cx
jne 0x14001296c
mov eax, dword [rbx]
cmp dword [0x1408e9944], eax
jle 0x14001277c
lea rcx, [0x1408e9944]
call fcn.14005bf78
cmp dword [0x1408e9944], 0xffffffff
jne 0x14001277c
mov rax, qword [0x1408e98f0]
movsxd rdx, dword [rax + 0x3c]
add rdx, qword [0x1408e9908]
mov qword [0x1408e98f8], rdx
lea rcx, [0x1408e9944]
call fcn.14005bf18
mov rax, qword [0x1408e98f8]
cmp dword [rax], 0x4550
jne 0x14001296c
mov ebx, dword [rax + 0x50]
movzx eax, byte [rbp + 0x27]
mov byte [rbp - 0x29], al
movzx eax, byte [rbp + 7]
mov byte [rbp - 0x28], al
movzx eax, byte [rbp + 0x28]
mov byte [rbp - 0x27], al
movzx eax, byte [rbp + 8]
mov byte [rbp - 0x26], al
movzx eax, byte [rbp + 0x29]
mov byte [rbp - 0x25], al
movzx eax, byte [rbp + 9]
mov byte [rbp - 0x24], al
movzx eax, byte [rbp + 0x2a]
mov byte [rbp - 0x23], al
movzx eax, byte [rbp + 0xa]
mov byte [rbp - 0x22], al
movzx eax, byte [rbp + 0x2b]
mov byte [rbp - 0x21], al
movzx eax, byte [rbp + 0xb]
mov byte [rbp - 0x20], al
movzx eax, byte [rbp + 0x2c]
mov byte [rbp - 0x1f], al
movzx eax, byte [rbp + 0xc]
mov byte [rbp - 0x1e], al
movzx eax, byte [rbp + 0x2d]
mov byte [rbp - 0x1d], al
movzx eax, byte [rbp + 0xd]
mov byte [rbp - 0x1c], al
movzx eax, byte [rbp + 0x2e]
mov byte [rbp - 0x1b], al
movzx eax, byte [rbp + 0xe]
mov byte [rbp - 0x1a], al
movzx eax, byte [rbp + 0x2f]
mov byte [rbp - 0x19], al
movzx eax, byte [rbp + 0xf]
mov byte [rbp - 0x18], al
movzx eax, byte [rbp + 0x30]
mov byte [rbp - 0x17], al
movzx eax, byte [rbp + 0x10]
mov byte [rbp - 0x16], al
movzx eax, byte [rbp + 0x31]
mov byte [rbp - 0x15], al
movzx eax, byte [rbp + 0x11]
mov byte [rbp - 0x14], al
movzx eax, byte [rbp + 0x32]
mov byte [rbp - 0x13], al
movzx eax, byte [rbp + 0x12]
mov byte [rbp - 0x12], al
movzx eax, byte [rbp + 0x33]
mov byte [rbp - 0x11], al
movzx eax, byte [rbp + 0x13]
mov byte [rbp - 0x10], al
movzx eax, byte [rbp + 0x34]
mov byte [rbp - 0xf], al
movzx eax, byte [rbp + 0x14]
mov byte [rbp - 0xe], al
movzx eax, byte [rbp + 0x35]
mov byte [rbp - 0xd], al
movzx eax, byte [rbp + 0x15]
mov byte [rbp - 0xc], al
movzx eax, byte [rbp + 0x36]
mov byte [rbp - 0xb], al
movzx eax, byte [rbp + 0x16]
mov byte [rbp - 0xa], al
movzx eax, byte [rbp + 0x37]
mov byte [rbp - 9], al
movzx eax, byte [rbp + 0x17]
mov byte [rbp - 8], al
movzx eax, byte [rbp + 0x38]
mov byte [rbp - 7], al
movzx eax, byte [rbp + 0x18]
mov byte [rbp - 6], al
movzx eax, byte [rbp + 0x39]
mov byte [rbp - 5], al
movzx eax, byte [rbp + 0x19]
mov byte [rbp - 4], al
movzx eax, byte [rbp + 0x3a]
mov byte [rbp - 3], al
movzx eax, byte [rbp + 0x1a]
mov byte [rbp - 2], al
movzx eax, byte [rbp + 0x3b]
mov byte [rbp - 1], al
movzx eax, byte [rbp + 0x1b]
mov byte [rbp], al
movzx eax, byte [rbp + 0x3c]
mov byte [rbp + 1], al
movzx eax, byte [rbp + 0x1c]
mov byte [rbp + 2], al
movzx eax, byte [rbp + 0x3d]
mov byte [rbp + 3], al
movzx eax, byte [rbp + 0x1d]
mov byte [rbp + 4], al
movzx eax, byte [rbp + 0x3e]
mov byte [rbp + 5], al
movzx eax, byte [rbp + 0x1e]
mov byte [rbp + 6], al
mov rsi, qword [0x1408e9908]
add rbx, rsi
mov rax, rbx
mov rcx, rbx
sub rcx, rsi
cmp rcx, 0x18
jl 0x140012949
lea r11, [rbx - 0x18]
mov r10, rsi
nop dword [rax]
nop word [rax + rax]
mov r8, r10
lea rcx, [rbp - 0x29]
nop word [rax + rax]
movzx r9d, word [rcx]
movzx edx, r9w
shr dx, 8
cmp dl, 0x3f
je 0x140012936
cmp byte [r8], r9b
jne 0x140012962
inc r8
add rcx, 2
lea rdx, [rbp + 7]
cmp rcx, rdx
jne 0x140012920
mov rax, r10
cmp rax, rbx
cmovne rdi, rax
mov eax, edi
sub eax, esi
test rdi, rdi
je 0x14001296c
add rax, qword [0x1408e9950]
jmp 0x14001296e
cmp r10, r11
je 0x140012949
inc r10
jmp 0x140012910
xor eax, eax
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14005bdd0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.140027658
nop
int3