Function at 0x140012490
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 [0x1409ffd88], eax
jle 0x140012575
lea rcx, [0x1409ffd88]
call fcn.14005b5b8
cmp dword [0x1409ffd88], 0xffffffff
jne 0x140012575
mov qword [rbp + 7], rdi
mov qword [rbp + 0x17], rdi
mov qword [rbp + 0x1f], send
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.140019f00
mov qword [0x1409ffd90], rax
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x140012569
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012563
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012893
call fcn.14005b964
nop
lea rcx, [0x1409ffd88]
call fcn.14005b558
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 [0x1409ffd58], eax
jle 0x1400125ea
lea rcx, [0x1409ffd58]
call fcn.14005b5b8
cmp dword [0x1409ffd58], 0xffffffff
jne 0x1400125ea
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140091748]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [0x1409ffd48], rax
lea rcx, [0x1409ffd58]
call fcn.14005b558
mov eax, dword [rbx]
cmp dword [0x1409ffdb8], eax
jle 0x140012623
lea rcx, [0x1409ffdb8]
call fcn.14005b5b8
cmp dword [0x1409ffdb8], 0xffffffff
jne 0x140012623
mov rax, qword [0x1409ffd48]
mov qword [0x1409ffd30], rax
lea rcx, [0x1409ffdb8]
call fcn.14005b558
mov ecx, 0x5a4d
mov rax, qword [0x1409ffd30]
cmp word [rax], cx
jne 0x14001286c
mov eax, dword [rbx]
cmp dword [0x1409ffd84], eax
jle 0x14001267c
lea rcx, [0x1409ffd84]
call fcn.14005b5b8
cmp dword [0x1409ffd84], 0xffffffff
jne 0x14001267c
mov rax, qword [0x1409ffd30]
movsxd rdx, dword [rax + 0x3c]
add rdx, qword [0x1409ffd48]
mov qword [0x1409ffd38], rdx
lea rcx, [0x1409ffd84]
call fcn.14005b558
mov rax, qword [0x1409ffd38]
cmp dword [rax], 0x4550
jne 0x14001286c
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 [0x1409ffd48]
add rbx, rsi
mov rax, rbx
mov rcx, rbx
sub rcx, rsi
cmp rcx, 0x18
jl 0x140012849
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 0x140012836
cmp byte [r8], r9b
jne 0x140012862
inc r8
add rcx, 2
lea rdx, [rbp + 7]
cmp rcx, rdx
jne 0x140012820
mov rax, r10
cmp rax, rbx
cmovne rdi, rax
mov eax, edi
sub eax, esi
test rdi, rdi
je 0x14001286c
add rax, qword [0x1409ffd90]
jmp 0x14001286e
cmp r10, r11
je 0x140012849
inc r10
jmp 0x140012810
xor eax, eax
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14005b410
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.140026c98
nop
int3