Function at 0x140148a50
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1060]
mov eax, 0x1160
call fcn.1401e4640
sub rsp, rax
mov rax, qword [0x1402ea100]
xor rax, rsp
mov qword [rbp + 0x1050], rax
mov r15, rdx
mov rsi, rcx
mov qword [rsp + 0x68], rdx
xor r13d, r13d
mov dword [rsp + 0x30], r13d
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
mov edi, r13d
xorps xmm1, xmm1
movups xmmword [rdx], xmm1
mov qword [rdx], r13
mov qword [rdx + 8], r13
mov qword [rdx + 0x10], r13
lea rdx, [0x1402abfa0]
mov rcx, r15
call fcn.140072650
mov r14d, 1
mov dword [rsp + 0x30], r14d
mov ecx, 0x10000
movabs r12, 0x7ffffffeffff
nop word [rax + rax]
mov rax, qword [rsi]
lea r8, [rbp - 0x20]
mov rdx, rcx
mov rcx, rsi
call qword [rax + Ordinal_50]
cmp eax, 0xc000000d
je 0x140148ef8
cmp eax, 0xc0000022
je 0x140148ef8
cmp eax, 0xc000010a
je 0x140148ef8
test eax, eax
jne 0x140148ee7
cmp dword [rbp], 0x1000
jne 0x140148ee7
cmp dword [rbp + 8], 0x1000000
jne 0x140148ee7
mov rbx, qword [rbp - 0x18]
cmp rdi, rbx
je 0x140148ee7
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0x50]
call fcn.14026bb60
mov rax, qword [rsi]
mov qword [rsp + 0x20], 0x800
lea r9, [rbp + 0x850]
mov r8d, 2
mov rdx, rbx
mov rcx, rsi
call qword [rax + Ordinal_41]
test eax, eax
js 0x140148ee3
lea rcx, [rbp - 0x78]
call fcn.1400dde00
lea rcx, [rbp - 0x58]
call fcn.1400dde00
nop
mov rax, qword [rsi]
mov qword [rsp + 0x20], r13
mov r9d, 0x800
lea r8, [rbp + 0x50]
mov rdx, qword [rbp - 0x18]
mov rcx, rsi
call qword [rax + Ordinal_26]
test eax, eax
je 0x140148bd5
lea rcx, [rbp - 0x58]
call fcn.1400d3900
lea rcx, [rbp - 0x78]
call fcn.1400d3900
jmp 0x140148ee7
movsxd rax, dword [rbp + 0x8c]
lea rax, [rbp + rax + 0x50]
mov ecx, 0x5a4d
cmp word [rbp + 0x50], cx
jne 0x140148c27
cmp dword [rax], 0x4550
jne 0x140148c27
movzx ecx, word [rax + 0x18]
mov edx, 0x10b
cmp cx, dx
jne 0x140148c0e
mov eax, dword [rax + 0x50]
mov dword [rbp - 0x38], eax
mov dword [rbp - 0x34], r13d
jmp 0x140148c7c
mov edx, 0x20b
cmp cx, dx
jne 0x140148bbe
mov eax, dword [rax + 0x50]
mov dword [rbp - 0x38], eax
mov dword [rbp - 0x34], 1
jmp 0x140148c7c
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
mov rcx, qword [rbp - 0x18]
cmp rcx, r12
jae 0x140148c75
nop
mov rax, qword [rsi]
lea r8, [rbp + 0x20]
mov rdx, rcx
mov rcx, rsi
call qword [rax + Ordinal_50]
test eax, eax
js 0x140148c6c
cmp dword [rbp + 0x48], 0x1000000
jne 0x140148c6c
mov rcx, qword [rbp + 0x20]
add rcx, qword [rbp + 0x38]
cmp rcx, r12
jb 0x140148c40
jmp 0x140148c75
mov eax, dword [rbp + 0x20]
sub eax, dword [rbp - 0x18]
mov dword [rbp - 0x38], eax
mov dword [rbp - 0x34], 3
cmp byte [rsi + 0x16], 1
jne 0x140148ce1
mov edx, dword [rbp + 0x854]
lea rcx, [rsp + 0x38]
call fcn.1400d39f0
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.14010b570
mov rdi, rax
lea rax, [rbp - 0x58]
cmp rax, rdi
je 0x140148cdb
lea rcx, [rbp - 0x58]
call fcn.1400d4220
mov rcx, rdi
call fcn.1400d4220
mov rbx, rax
lea rcx, [rbp - 0x58]
call fcn.1400d4240
mov rcx, rbx
call fcn.1400d5410
mov rdx, rdi
lea rcx, [rbp - 0x58]
call fcn.1400d42f0
lea rcx, [rbp + 0x20]
jmp 0x140148d40
mov rdx, qword [rbp + 0x858]
lea rcx, [rbp + 0x20]
call fcn.1400d39f0
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.14010b570
mov rdi, rax
lea rax, [rbp - 0x58]
cmp rax, rdi
je 0x140148d3b
lea rcx, [rbp - 0x58]
call fcn.1400d4220
mov rcx, rdi
call fcn.1400d4220
mov rbx, rax
lea rcx, [rbp - 0x58]
call fcn.1400d4240
mov rcx, rbx
call fcn.1400d5410
mov rdx, rdi
lea rcx, [rbp - 0x58]
call fcn.1400d42f0
lea rcx, [rsp + 0x38]
call fcn.1400d3900
mov rbx, qword [rbp - 0x48]
test rbx, rbx
jne 0x140148d65
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x38]
call fcn.1400d3a50
or r14d, 2
jmp 0x140148e0f
lea rcx, [rbp - 0x58]
call fcn.1400d44b0
mov r9d, 0x5c
mov rdx, rbx
mov rcx, rax
call fcn.1401078c0
cmp rax, 0xffffffffffffffff
jne 0x140148da9
mov rbx, qword [rbp - 0x48]
lea rcx, [rbp - 0x58]
call fcn.1400d44b0
mov r9d, Ordinal_50
mov rdx, rbx
mov rcx, rax
call fcn.1401078c0
cmp rax, 0xffffffffffffffff
je 0x140148d4e
lea rdi, [rax + 1]
lea rcx, [rsp + 0x34]
call fcn.1400d3af0
lea rcx, [rsp + 0x38]
call fcn.1400d6050
nop
mov rax, qword [rbp - 0x48]
cmp rax, rdi
jb 0x140148f25
mov qword [rbp + 0x10], 0xffffffffffffffff
sub rax, rdi
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x10]
call fcn.1400ae310
mov rbx, qword [rax]
lea rcx, [rbp - 0x58]
call fcn.1400d44b0
lea rdx, [rax + rdi*2]
mov r8, rbx
lea rcx, [rsp + 0x38]
call fcn.1400d5480
nop
or r14d, 6
mov dword [rsp + 0x30], r14d
lea rcx, [rbp - 0x78]
call fcn.1400d4220
lea rcx, [rsp + 0x38]
call fcn.1400d4220
mov rbx, rax
lea rcx, [rbp - 0x78]
call fcn.1400d4240
mov rcx, rbx
call fcn.1400d5410
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x78]
call fcn.1400d42f0
lea rcx, [rsp + 0x38]
call fcn.1400d3900
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x30], r13
mov byte [rbp - 0x28], 0
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x70]
call fcn.1401071a0
mov rdi, rax
mov rdx, qword [r15 + 8]
cmp rdx, qword [r15 + 0x10]
je 0x140148eba
mov rbx, rdx
call fcn.140072190
mov rdx, rbx
mov ecx, reloc.WS2_32.dll_recv
call fcn.140072180
mov rbx, rax
mov rcx, rax
call fcn.1400d9960
mov rax, qword [rdi]
mov qword [rbx], rax
mov rax, qword [rdi + 8]
mov qword [rbx + 8], rax
mov qword [rdi], r13
mov qword [rdi + 8], r13
add qword [r15 + 8], 0x10
jmp 0x140148ec6
mov r8, rdi
mov rcx, r15
call fcn.14014b140
nop
lea rcx, [rsp + 0x70]
call fcn.1400d3d30
nop
lea rcx, [rbp - 0x58]
call fcn.1400d3900
lea rcx, [rbp - 0x78]
call fcn.1400d3900
mov rdi, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x20]
add rcx, qword [rbp - 8]
cmp rcx, r12
jb 0x140148af0
mov rax, r15
mov rcx, qword [rbp + 0x1050]
xor rcx, rsp
call fcn.1401e3750
mov rbx, qword [rsp + 0x11b0]
add rsp, 0x1160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140106ab0
int3