Function at 0x140147380
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.1401e2b90
sub rsp, rax
mov rax, qword [0x1402e8100]
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, [0x1402a9f30]
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 0x140147828
cmp eax, 0xc0000022
je 0x140147828
cmp eax, 0xc000010a
je 0x140147828
test eax, eax
jne 0x140147817
cmp dword [rbp], 0x1000
jne 0x140147817
cmp dword [rbp + 8], 0x1000000
jne 0x140147817
mov rbx, qword [rbp - 0x18]
cmp rdi, rbx
je 0x140147817
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0x50]
call fcn.14026a0b0
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 0x140147813
lea rcx, [rbp - 0x78]
call fcn.1400dc8b0
lea rcx, [rbp - 0x58]
call fcn.1400dc8b0
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 0x140147505
lea rcx, [rbp - 0x58]
call fcn.1400d3780
lea rcx, [rbp - 0x78]
call fcn.1400d3780
jmp 0x140147817
movsxd rax, dword [rbp + 0x8c]
lea rax, [rbp + rax + 0x50]
mov ecx, 0x5a4d
cmp word [rbp + 0x50], cx
jne 0x140147557
cmp dword [rax], 0x4550
jne 0x140147557
movzx ecx, word [rax + 0x18]
mov edx, 0x10b
cmp cx, dx
jne 0x14014753e
mov eax, dword [rax + 0x50]
mov dword [rbp - 0x38], eax
mov dword [rbp - 0x34], r13d
jmp 0x1401475ac
mov edx, 0x20b
cmp cx, dx
jne 0x1401474ee
mov eax, dword [rax + 0x50]
mov dword [rbp - 0x38], eax
mov dword [rbp - 0x34], 1
jmp 0x1401475ac
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 0x1401475a5
nop
mov rax, qword [rsi]
lea r8, [rbp + 0x20]
mov rdx, rcx
mov rcx, rsi
call qword [rax + Ordinal_50]
test eax, eax
js 0x14014759c
cmp dword [rbp + 0x48], 0x1000000
jne 0x14014759c
mov rcx, qword [rbp + 0x20]
add rcx, qword [rbp + 0x38]
cmp rcx, r12
jb 0x140147570
jmp 0x1401475a5
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 0x140147611
mov edx, dword [rbp + 0x854]
lea rcx, [rsp + 0x38]
call fcn.1400d3870
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.1401099d0
mov rdi, rax
lea rax, [rbp - 0x58]
cmp rax, rdi
je 0x14014760b
lea rcx, [rbp - 0x58]
call fcn.1400d40a0
mov rcx, rdi
call fcn.1400d40a0
mov rbx, rax
lea rcx, [rbp - 0x58]
call fcn.1400d40c0
mov rcx, rbx
call fcn.1400d5290
mov rdx, rdi
lea rcx, [rbp - 0x58]
call fcn.1400d4170
lea rcx, [rbp + 0x20]
jmp 0x140147670
mov rdx, qword [rbp + 0x858]
lea rcx, [rbp + 0x20]
call fcn.1400d3870
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.1401099d0
mov rdi, rax
lea rax, [rbp - 0x58]
cmp rax, rdi
je 0x14014766b
lea rcx, [rbp - 0x58]
call fcn.1400d40a0
mov rcx, rdi
call fcn.1400d40a0
mov rbx, rax
lea rcx, [rbp - 0x58]
call fcn.1400d40c0
mov rcx, rbx
call fcn.1400d5290
mov rdx, rdi
lea rcx, [rbp - 0x58]
call fcn.1400d4170
lea rcx, [rsp + 0x38]
call fcn.1400d3780
mov rbx, qword [rbp - 0x48]
test rbx, rbx
jne 0x140147695
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x38]
call fcn.1400d38d0
or r14d, 2
jmp 0x14014773f
lea rcx, [rbp - 0x58]
call fcn.1400d4330
mov r9d, 0x5c
mov rdx, rbx
mov rcx, rax
call fcn.140105d10
cmp rax, 0xffffffffffffffff
jne 0x1401476d9
mov rbx, qword [rbp - 0x48]
lea rcx, [rbp - 0x58]
call fcn.1400d4330
mov r9d, Ordinal_50
mov rdx, rbx
mov rcx, rax
call fcn.140105d10
cmp rax, 0xffffffffffffffff
je 0x14014767e
lea rdi, [rax + 1]
lea rcx, [rsp + 0x34]
call fcn.1400d3970
lea rcx, [rsp + 0x38]
call fcn.1400d5ed0
nop
mov rax, qword [rbp - 0x48]
cmp rax, rdi
jb 0x140147855
mov qword [rbp + 0x10], 0xffffffffffffffff
sub rax, rdi
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x10]
call fcn.1400adfe0
mov rbx, qword [rax]
lea rcx, [rbp - 0x58]
call fcn.1400d4330
lea rdx, [rax + rdi*2]
mov r8, rbx
lea rcx, [rsp + 0x38]
call fcn.1400d5300
nop
or r14d, 6
mov dword [rsp + 0x30], r14d
lea rcx, [rbp - 0x78]
call fcn.1400d40a0
lea rcx, [rsp + 0x38]
call fcn.1400d40a0
mov rbx, rax
lea rcx, [rbp - 0x78]
call fcn.1400d40c0
mov rcx, rbx
call fcn.1400d5290
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x78]
call fcn.1400d4170
lea rcx, [rsp + 0x38]
call fcn.1400d3780
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.1401055f0
mov rdi, rax
mov rdx, qword [r15 + 8]
cmp rdx, qword [r15 + 0x10]
je 0x1401477ea
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.1400d97e0
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 0x1401477f6
mov r8, rdi
mov rcx, r15
call fcn.140149a80
nop
lea rcx, [rsp + 0x70]
call fcn.1400d3bb0
nop
lea rcx, [rbp - 0x58]
call fcn.1400d3780
lea rcx, [rbp - 0x78]
call fcn.1400d3780
mov rdi, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x20]
add rcx, qword [rbp - 8]
cmp rcx, r12
jb 0x140147420
mov rax, r15
mov rcx, qword [rbp + 0x1050]
xor rcx, rsp
call fcn.1401e1ca0
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.140104ed0
int3