Function at 0x140070420
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
push rbp
push rdi
sub rsp, 0x88
mov rax, qword [0x140158638]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbp, qword [0x14015c808]
mov rdi, rbp
mov eax, dword [rbp + 0x3f60]
cmp dword [rbp + 0x3f64], eax
je 0x140070a7d
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
xor esi, esi
mov ebx, esi
mov qword [r11 + 0x18], r12
mov qword [r11 + 0x20], r14
mov qword [r11 - 0x18], r15
movaps xmmword [rsp + 0x70], xmm6
cmp dword [rbp + 0x55b0], esi
jle 0x1400704b4
mov ebp, esi
nop
mov rax, qword [rdi + 0x55b8]
cmp dword [rax + rbp + 4], 2
jne 0x14007049f
movsxd rdx, ebx
mov rcx, rdi
shl rdx, 5
add rdx, rax
call qword [rax + rbp + reloc.WS2_32.dll_recv]
inc ebx
add rbp, 0x20
cmp ebx, dword [rdi + 0x55b0]
jl 0x140070480
mov rbp, qword [0x14015c808]
cmp dword [rbp + 0x3fb0], 2
jl 0x1400704d5
nop dword [rax]
call fcn.14006fd00
cmp dword [rbp + 0x3fb0], 1
jg 0x1400704c0
mov rbp, qword [0x14015c808]
mov r14, qword [rdi + 0xc8]
test r14, r14
je 0x140070528
mov rax, qword [rdi + 0x5508]
cmp rax, qword [rdi + 0x5518]
jne 0x140070501
mov rax, qword [rdi + 0x5510]
cmp rax, qword [rdi + 0x5520]
je 0x140070528
mov ecx, dword [rdi + 0x5528]
call fcn.140071bc0
test rax, rax
jne 0x14007051b
mov rax, qword [rbp + 0x4210]
mov rax, qword [rax]
lea rdx, [rdi + 0x5508]
mov rcx, rax
call r14
mov rax, qword [rdi + 0x3fe0]
mov byte [rdi + 0x3f71], sil
test rax, rax
je 0x14007054b
cmp byte [rax + 0xcd], sil
jne 0x14007054b
mov byte [rax + 0xcb], sil
call fcn.14006fd00
mov rcx, qword [0x14015c808]
mov rbx, rcx
cmp qword [rcx + 0x43d0], rsi
je 0x14007056f
call fcn.1400798e0
mov rcx, qword [0x14015c808]
cmp qword [rbx + 0x4268], rsi
je 0x1400705ab
cmp byte [rcx + 0x42c5], sil
je 0x1400705ab
cmp dword [rcx + 0x4318], esi
jne 0x1400705ab
cmp dword [rcx + 0x4378], esi
jne 0x1400705ab
mov eax, dword [rbx + 0x42c8]
test al, 0xf
je 0x1400705ab
test al, al
js 0x1400705ab
call fcn.1400789d0
mov rcx, qword [0x14015c808]
mov r14d, esi
xorps xmm6, xmm6
cmp dword [rdi + 0x5530], esi
jle 0x14007072f
movaps xmmword [rsp + 0x60], xmm7
mov r15, rsi
movss xmm7, dword [0x1400ee438]
nop dword [rax]
mov rax, qword [rdi + 0x5538]
mov rbp, qword [r15 + rax + 8]
test rbp, rbp
je 0x140070716
mov eax, dword [rdi + 0x3f60]
cmp dword [rbp + 0xb0], eax
jne 0x140070716
movzx eax, byte [rbp + 0xc8]
test al, 1
je 0x140070716
mov rdx, qword [rbp + 0x88]
test rdx, rdx
je 0x140070716
cmp qword [rbp + 0x20], rsi
jne 0x140070716
test al, 4
jne 0x140070716
movss xmm0, dword [rcx + 0x3948]
movss xmm3, dword [rbp + 0x48]
addss xmm0, xmm0
movss xmm1, dword [rbp + 0x4c]
movaps xmm4, xmm3
addss xmm4, dword [rbp + 0x50]
movaps xmm2, xmm1
addss xmm3, xmm6
addss xmm2, dword [rbp + 0x54]
addss xmm0, dword [rcx + 0x3d50]
lea rcx, [rsp + 0x40]
movss dword [rsp + 0x48], xmm4
movss dword [rsp + 0x40], xmm3
movss dword [rsp + 0x4c], xmm2
addss xmm0, xmm1
movss dword [rsp + 0x44], xmm0
movss xmm2, dword [rdx + 0x4c]
movss xmm0, dword [rdx + 0x48]
movaps xmm3, xmm2
addss xmm3, dword [rdx + 0x54]
movaps xmm1, xmm0
addss xmm1, dword [rdx + 0x50]
movss dword [rsp + 0x34], xmm2
lea rdx, [rsp + 0x30]
movaps xmm2, xmm7
movss dword [rsp + 0x30], xmm0
movss dword [rsp + 0x3c], xmm3
movss dword [rsp + 0x38], xmm1
call fcn.14008b1b0
mov rcx, qword [rbp + 0x88]
xor r8d, r8d
mov ebx, eax
mov rdx, qword [rcx + 0x2c0]
lea rcx, [rdx + 0xa8]
call fcn.1400905f0
mov rcx, qword [rbp + 0x88]
lea r8, [rsp + 0x48]
mov r9d, dword [rbp + 0x80]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x28], ebx
movss xmm0, dword [rcx + 0x80]
mov rcx, qword [rcx + 0x2c0]
movss dword [rsp + 0x20], xmm0
call fcn.14008a930
mov rcx, qword [0x14015c808]
inc r14d
add r15, 0x10
cmp r14d, dword [rdi + 0x5530]
jl 0x1400705d0
movaps xmm7, xmmword [rsp + 0x60]
cmp qword [rcx + 0x4220], rsi
je 0x140070750
mov dword [rcx + 0x4218], 0x3f800000
mov qword [rcx + 0x4220], rsi
mov rcx, qword [0x14015c808]
cmp byte [rdi + 0x43fc], sil
je 0x1400707d5
mov eax, dword [rdi + 0x4424]
inc eax
cmp eax, dword [rdi + 0x3f60]
jge 0x140070787
test byte [rdi + 0x4400], 0x20
jne 0x140070783
movsxd rax, dword [rdi + 0x4408]
cmp byte [rax + rcx + 0xda4], sil
jne 0x140070787
mov al, 1
jmp 0x140070789
xor al, al
cmp byte [rdi + 0x444a], sil
jne 0x140070796
test al, al
je 0x14007079b
call fcn.140066f00
cmp byte [rdi + 0x43fc], sil
je 0x1400707d5
mov eax, dword [rdi + 0x3f60]
cmp dword [rdi + 0x4404], eax
jge 0x1400707d5
test byte [rdi + 0x4400], 1
jne 0x1400707d5
lea rcx, [0x140115650]
mov byte [rdi + 0x43fd], 1
call fcn.140080e00
mov byte [rdi + 0x43fd], sil
mov eax, dword [rdi + 0x3f60]
mov dword [rdi + 0x3f64], eax
mov byte [rdi + 0x3f70], sil
call fcn.140083640
mov r15, qword [0x14015c808]
lea r14, [r15 + 0x38d8]
mov ecx, dword [r14 + 4]
test ecx, ecx
jns 0x14007081b
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
mov rcx, r14
test eax, eax
cmovg edx, eax
call fcn.140087590
mov dword [r14], esi
mov r12d, esi
cmp dword [r15 + 0x4208], esi
jle 0x1400708e6
mov rbp, rsi
nop dword [rax]
nop word [rax + rax]
mov rax, qword [r15 + 0x4210]
mov rbx, qword [rax + rbp*8]
movsd xmm0, qword [rbx + 8]
movsd qword [rbx + 0x70], xmm0
mov eax, dword [r15 + 0x3f60]
cmp dword [rbx + 0x64], eax
jl 0x14007086d
comiss xmm6, dword [rbx + 0x10]
jae 0x14007086d
comiss xmm6, dword [rbx + 0x14]
jb 0x140070872
test rbp, rbp
jg 0x1400708d3
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x140070890
cmp byte [rax + 0xcb], sil
je 0x1400708d3
cmp byte [rax + 0xd2], sil
jne 0x1400708d3
mov r8d, dword [r14]
mov ecx, dword [r14 + 4]
cmp r8d, ecx
jne 0x1400708c5
inc r8d
test ecx, ecx
je 0x1400708ae
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1400708b3
mov eax, 8
cmp eax, r8d
mov rcx, r14
cmovg r8d, eax
mov edx, r8d
call fcn.140087590
movsxd rcx, dword [r14]
mov rax, qword [r14 + 8]
mov qword [rax + rcx*8], rbx
inc dword [r14]
inc r12d
inc rbp
cmp r12d, dword [r15 + 0x4208]
jl 0x140070840
mov rax, qword [r15 + 0x4210]
lea rbx, [rdi + 0x3fa0]
movaps xmm6, xmmword [rsp + 0x70]
mov r15, qword [rsp + 0x80]
mov r12, qword [rsp + 0xb0]
mov rcx, qword [rax]
mov word [rcx + 0x58], si
mov byte [rcx + 0x5a], sil
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x140070933
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.140087590
mov dword [rbx], esi
mov rcx, rbx
mov edx, dword [rdi + 0x3f80]
call fcn.140087590
mov ecx, dword [rdi + 0x3f80]
mov ebp, esi
test ecx, ecx
je 0x140070987
mov r14, rsi
mov rax, qword [rdi + 0x3f88]
mov rdx, qword [r14 + rax]
cmp byte [rdx + 0xcb], sil
je 0x14007096f
test dword [rdx + 0xc], 0x1000000
jne 0x140070977
mov rcx, rbx
call fcn.140061620
mov ecx, dword [rdi + 0x3f80]
inc ebp
add r14, 8
cmp ebp, ecx
jne 0x140070952
mov eax, dword [rbx]
mov r14, qword [rsp + 0xb8]
mov dword [rdi + 0x3f80], eax
mov eax, dword [rdi + 0x3f84]
mov dword [rbx], ecx
mov ecx, dword [rbx + 4]
mov dword [rbx + 4], eax
mov rax, qword [rdi + 0x3f88]
mov dword [rdi + 0x3f84], ecx
mov rcx, qword [rbx + 8]
mov qword [rbx + 8], rax
mov eax, dword [rdi + 0x3fd0]
mov dword [rdi + 0xf0], eax
mov rax, qword [rdi + 0x50]
mov qword [rdi + 0x3f88], rcx
mov byte [rax + 0x18], sil
mov qword [rdi + 0xdac], rsi
mov ecx, dword [rdi + 0x3804]
test ecx, ecx
jns 0x140070a02
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x3800]
test eax, eax
cmovg edx, eax
call fcn.140087450
mov dword [rdi + 0x3800], esi
xorps xmm0, xmm0
movups xmmword [rdi + 0xdbc], xmm0
movups xmmword [rdi + 0xdcc], xmm0
movups xmmword [rdi + 0xddc], xmm0
movups xmmword [rdi + 0xdec], xmm0
movups xmmword [rdi + 0xdfc], xmm0
cmp dword [rdi + 0x55b0], esi
jle 0x140070a6d
mov rbx, rsi
nop dword [rax]
mov rax, qword [rdi + 0x55b8]
cmp dword [rbx + rax + 4], 3
jne 0x140070a5f
movsxd rdx, esi
mov rcx, rdi
shl rdx, 5
add rdx, rax
call qword [rbx + rax + reloc.WS2_32.dll_recv]
inc esi
add rbx, 0x20
cmp esi, dword [rdi + 0x55b0]
jl 0x140070a40
mov rbx, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400e4f50
add rsp, 0x88
pop rdi
pop rbp
ret