Function at 0x14000d3e0
Capabilities:
Resolve function by parsing pe exports
Write file on windows

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
push r13
sub rsp, 0x98
mov rsi, qword [0x1400d7a50]
mov qword [rax + 0x18], rbp
mov rbx, rsi
mov qword [rax - 0x30], r14
movaps xmmword [rax - 0x48], xmm6
mov edi, dword [rsi + 0x30d8]
lea r13, [rsi + 0x30e0]
sub edi, 1
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rsp + 0x30], xmm10
mov qword [rsp + 0xc8], r13
js 0x14000d496
movsxd rbp, edi
shl rbp, 5
mov r14, rbp
nop dword [rax]
mov rdx, qword [r13]
cmp dword [rdx + rbp + 4], 7
jne 0x14000d487
mov rcx, qword [rsi + 0x30e0]
movsxd r8, dword [rsi + 0x30d8]
sub rdx, rcx
add rdx, r14
sar rdx, 5
sub r8, rdx
mov rax, rdx
shl rax, 5
add rcx, rax
shl r8, 5
sub r8, 0x20
lea rdx, [rcx + 0x20]
call sub.VCRUNTIME140.dll_memmove
dec dword [rsi + 0x30d8]
sub r14, 0x20
sub rbp, 0x20
sub edi, 1
jns 0x14000d440
jmp 0x14000d49e
mov qword [rsp + 0xc8], r13
xor edi, edi
mov ebp, edi
cmp dword [rsi + 0x30d8], edi
jle 0x14000d4e0
mov esi, edi
nop dword [rax]
mov rax, qword [r13]
cmp dword [rax + rsi + 4], edi
jne 0x14000d4cb
movsxd rdx, ebp
mov rcx, rbx
shl rdx, 5
add rdx, rax
call qword [rax + rsi + reloc.WS2_32.dll_recv]
inc ebp
add rsi, 0x20
cmp ebp, dword [rbx + 0x30d8]
jl 0x14000d4b0
mov rsi, qword [0x1400d7a50]
cmp byte [rsi + 0xcc], dil
je 0x14000d4f6
test byte [rsi + 0xc], 2
jne 0x14000d4f6
mov byte [rsi + 0xcc], dil
mov rbp, rsi
cmp byte [rsi + 0x3091], dil
jne 0x14000d567
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000d560
lea r8, [rsp + 0xc0]
mov qword [rsp + 0xc0], rdi
call fcn.140009da0
mov rsi, rax
test rax, rax
je 0x14000d559
mov rdx, qword [rsp + 0xc0]
mov rcx, rax
call fcn.14001ba60
mov rcx, qword [0x1400d7a50]
test rcx, rcx
je 0x14000d54a
dec dword [rcx + 0x3b0]
mov rdx, qword [0x1400d7a48]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov rsi, qword [0x1400d7a50]
mov byte [rbp + 0x3091], 1
movss xmm0, dword [rbp + 0x3094]
xorps xmm6, xmm6
comiss xmm0, xmm6
mov qword [rsp + 0x80], r15
jbe 0x14000d60b
subss xmm0, dword [rbp + 0x18]
comiss xmm6, xmm0
movss dword [rbp + 0x3094], xmm0
jb 0x14000d60b
mov r14, qword [rbp + 0x20]
test r14, r14
je 0x14000d5fe
lea rcx, [rsp + 0xc0]
mov dword [rsi + 0x3094], edi
mov qword [rsp + 0xc0], rdi
call fcn.14001bdc0
lea rdx, [0x1400bb660]
mov rcx, r14
mov r15, rax
call fcn.140009c70
mov rsi, rax
test rax, rax
je 0x14000d5f5
mov r8, qword [rsp + 0xc0]
mov r9, rax
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rsi, qword [0x1400d7a50]
jmp 0x14000d605
mov byte [rbp + 0x398], 1
mov dword [rbp + 0x3094], edi
inc dword [rbx + 0x1b88]
movss xmm0, dword [rbx + 0x18]
cvtps2pd xmm0, xmm0
mov byte [rbx + 0x1b94], 1
mov dword [rbx + 0x3054], edi
mov dword [rbx + 0x1bf8], edi
addsd xmm0, qword [rbx + 0x1b80]
movsd qword [rbx + 0x1b80], xmm0
mov ecx, dword [rbx + 0x3074]
test ecx, ecx
jns 0x14000d669
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x3070]
test eax, eax
cmovg edx, eax
call fcn.14001d5f0
mov rsi, qword [0x1400d7a50]
movss xmm10, dword [0x1400c579c]
movss xmm9, dword [0x1400c5598]
mov dword [rbx + 0x3070], edi
movsxd rax, dword [rbx + 0x332c]
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rbx + rax*4 + 0x314c]
addss xmm0, dword [rbx + 0x3334]
movss dword [rbx + 0x3334], xmm0
movss dword [rbx + rax*4 + 0x314c], xmm1
mov eax, 0x88888889
mov ecx, dword [rbx + 0x332c]
movss xmm2, dword [rbx + 0x3334]
inc ecx
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x78
sub ecx, eax
mov eax, dword [rbx + 0x3330]
inc eax
mov dword [rbx + 0x332c], ecx
mov ecx, 0x78
cmp eax, ecx
cmovl ecx, eax
comiss xmm2, xmm6
mov dword [rbx + 0x3330], ecx
jbe 0x14000d712
movd xmm0, ecx
movaps xmm1, xmm9
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
divss xmm1, xmm2
jmp 0x14000d716
movaps xmm1, xmm10
movss dword [rbx + 0x39c], xmm1
mov r8d, edi
mov rax, qword [rsi + 0x1de8]
mov rcx, qword [rax]
mov qword [rcx], 5
mov dword [rcx + 8], edi
movsd xmm0, qword [rsi + 0x10]
movsd qword [rcx + 0xc], xmm0
cmp dword [rsi + 0x1de0], edi
jle 0x14000d7f8
mov rdx, rdi
nop
mov rax, qword [rsi + 0x1de8]
movaps xmm3, xmm6
inc r8d
mov rcx, qword [rdx + rax]
add rdx, 8
movsd xmm4, qword [rcx + 0xa0]
movsd xmm2, qword [rcx + 0xa8]
movaps xmm1, xmm4
addss xmm1, dword [rcx + 4]
movsd qword [rcx + 0x98], xmm2
movaps xmm0, xmm4
shufps xmm0, xmm0, 0x55
addss xmm0, dword [rcx + 8]
mov qword [rcx + 0xa8], rdi
movss dword [rcx + 0x14], xmm1
movss xmm1, dword [rcx + 0xc]
mov qword [rcx + 0xa0], rdi
subss xmm1, xmm4
movss dword [rcx + 0x18], xmm0
movaps xmm0, xmm4
shufps xmm0, xmm0, 0x55
movsd qword [rcx + 0x90], xmm4
addss xmm1, xmm2
movss xmm2, dword [rcx + 0x10]
subss xmm2, xmm0
movaps xmm0, xmm6
maxss xmm3, xmm1
addss xmm2, dword [rcx + 0x9c]
movss dword [rcx + 0x1c], xmm3
maxss xmm0, xmm2
movss dword [rcx + 0x20], xmm0
cmp r8d, dword [rsi + 0x1de0]
jl 0x14000d750
mov rax, qword [rbx + 0xa8]
mov byte [rax + 0x18], 1
mov rcx, qword [rsi + 0xb8]
test rcx, rcx
jne 0x14000d81d
mov rax, qword [rsi + 0xa8]
mov rcx, qword [rax + 0x50]
mov rcx, qword [rcx]
call fcn.140015310
mov eax, dword [rbx + 0x1de0]
movaps xmm0, xmm10
movss xmm5, dword [0x1400c57f0]
movaps xmm8, xmm10
movaps xmm7, xmm5
test eax, eax
jle 0x14000d899
mov rcx, qword [rbx + 0x1de8]
mov edx, eax
nop dword [rax + rax]
mov rax, qword [rcx]
movss xmm4, dword [rax + 4]
comiss xmm0, xmm4
movss xmm3, dword [rax + 8]
movaps xmm1, xmm4
addss xmm1, dword [rax + 0xc]
movaps xmm2, xmm3
addss xmm2, dword [rax + 0x10]
jbe 0x14000d875
movaps xmm0, xmm4
comiss xmm8, xmm3
jbe 0x14000d87f
movaps xmm8, xmm3
comiss xmm1, xmm5
jbe 0x14000d887
movaps xmm5, xmm1
comiss xmm2, xmm7
jbe 0x14000d88f
movaps xmm7, xmm2
add rcx, 8
sub rdx, 1
jne 0x14000d850
mov eax, dword [rbx + 0x1618]
movss xmm1, dword [rbx + 0x161c]
shufps xmm0, xmm0, 0xe1
movss xmm0, xmm8
mov dword [rbx + 0x1994], eax
movaps xmm8, xmmword [rsp + 0x50]
shufps xmm0, xmm0, 0xc6
movss xmm0, xmm5
shufps xmm0, xmm0, 0x27
movss xmm0, xmm7
shufps xmm0, xmm0, 0x39
movups xmmword [rbx + 0x199c], xmm0
movss xmm0, dword [rbx + 0x1998]
ucomiss xmm0, xmm1
jp 0x14000d8ea
je 0x14000d9a1
movss xmm7, dword [0x1400c5644]
lea r14, [rbx + 0x1b34]
movss dword [rbx + 0x1998], xmm1
mov ebp, edi
mov r15d, 0x200
nop dword [rax]
movd xmm0, ebp
cvtdq2ps xmm0, xmm0
test ebp, ebp
je 0x14000d969
movss xmm1, dword [rbx + 0x1998]
minss xmm1, xmm0
divss xmm1, xmm0
movaps xmm0, xmm9
subss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_acosf
movaps xmm1, xmm7
divss xmm1, xmm0
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
sar eax, 1
add eax, eax
cmp eax, 4
jge 0x14000d960
mov eax, 4
jmp 0x14000d96b
cmp eax, r15d
cmovg eax, r15d
jmp 0x14000d96b
mov eax, edi
mov byte [r14], al
inc ebp
inc r14
cmp ebp, 0x40
jl 0x14000d910
movss xmm0, dword [0x1400c5530]
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movss xmm1, dword [rbx + 0x1998]
movaps xmm2, xmm9
subss xmm2, xmm0
divss xmm1, xmm2
movss dword [rbx + 0x1b30], xmm1
mov r8d, edi
movaps xmm7, xmmword [rsp + 0x60]
mov dword [rbx + 0x19ac], edi
cmp byte [rbx + 0x1614], dil
je 0x14000d9c8
mov dword [rbx + 0x19ac], 1
mov r8d, 1
mov edx, r8d
cmp byte [rbx + 0x1615], dil
je 0x14000d9ed
mov rax, qword [rbx + 0x1970]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x14000d9ed
or edx, 2
mov dword [rbx + 0x19ac], edx
cmp byte [rbx + 0x1616], dil
je 0x14000d9ff
or edx, 4
mov dword [rbx + 0x19ac], edx
test byte [rbx + 0xc], 8
je 0x14000da0e
or edx, 8
mov dword [rbx + 0x19ac], edx
mov edx, edi
cmp dword [rbx + 0x1de0], edi
jle 0x14000da49
mov r8, rdi
nop dword [rax + rax]
mov rax, qword [rbx + 0x1de8]
lea r8, [r8 + 8]
xorps xmm0, xmm0
inc edx
mov rcx, qword [rax + r8 - 8]
movups xmmword [rcx + 0x40], xmm0
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm0
cmp edx, dword [rbx + 0x1de0]
jl 0x14000da20
cmp byte [rbx + 0x1f74], dil
je 0x14000da7d
mov eax, dword [rbx + 0x1f94]
cmp eax, dword [rbx + 0x1c50]
jne 0x14000da7d
cmp dword [rsi + 0x1c50], eax
jne 0x14000da6e
mov dword [rsi + 0x1c54], eax
cmp dword [rsi + 0x1c90], eax
jne 0x14000da7d
mov byte [rsi + 0x1c94], 1
lea rax, [rbx + 0x1c3c]
mov ecx, dword [rax]
cmp dword [rbx + 0x1c40], edi
jne 0x14000da96
mov dword [rbx + 0x1c48], edi
jmp 0x14000daa7
mov edx, ecx
mov r8, rax
test ecx, ecx
je 0x14000dab2
cmp dword [rbx + 0x1c50], ecx
jne 0x14000dab2
mov dword [rbx + 0x1c4c], edi
mov edx, ecx
mov r8, rax
movss xmm1, dword [rbx + 0x18]
test edx, edx
je 0x14000dae9
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1c48]
movss dword [rbx + 0x1c48], xmm0
cmp dword [rbx + 0x1c50], edx
je 0x14000dae9
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1c4c]
movss dword [rbx + 0x1c4c], xmm0
movzx eax, byte [rbx + 0x1c45]
movaps xmm2, xmm1
mov byte [rbx + 0x1c46], al
mov ebp, 0xffffffff
mov eax, dword [rbx + 0x1c50]
mov dword [rbx + 0x1c40], edx
mov dword [r8], edi
mov word [rbx + 0x1c44], di
mov byte [rbx + 0x1c47], dil
cmp dword [rbx + 0x1c54], eax
je 0x14000db85
cmp dword [rbx + 0x1c90], eax
jne 0x14000db85
test eax, eax
je 0x14000db85
mov ecx, dword [rsi + 0x1c50]
test ecx, ecx
setne al
mov byte [rsi + 0x1c5c], al
test ecx, ecx
je 0x14000db57
mov dword [rsi + 0x1c58], edi
mov word [rsi + 0x1c5f], di
mov dword [rsi + 0x1c8c], ebp
mov dword [rsi + 0x1c50], edi
mov word [rsi + 0x1c5d], di
mov qword [rsi + 0x1c80], rdi
mov word [rsi + 0x1c61], di
mov qword [rsi + 0x1c64], rdi
mov qword [rsi + 0x1c70], rdi
movss xmm2, dword [rbx + 0x18]
mov ecx, dword [rbx + 0x1c50]
test ecx, ecx
je 0x14000dba2
movaps xmm0, xmm2
addss xmm0, dword [rbx + 0x1c58]
movss dword [rbx + 0x1c58], xmm0
mov rax, qword [rbx + 0x1c80]
addss xmm2, dword [rbx + 0x1ca4]
mov qword [rbx + 0x1c98], rax
movzx eax, byte [rbx + 0x1c60]
mov byte [rbx + 0x1c95], al
mov eax, dword [rbx + 0x2fe0]
movss dword [rbx + 0x1ca4], xmm2
mov dword [rbx + 0x1c90], ecx
mov dword [rbx + 0x1c54], edi
mov byte [rbx + 0x1c61], dil
mov byte [rbx + 0x1c94], dil
mov byte [rbx + 0x1c5c], dil
test eax, eax
je 0x14000dc02
cmp ecx, eax
je 0x14000dc02
mov dword [rbx + 0x2fe0], edi
test ecx, ecx
jne 0x14000dc14
mov qword [rbx + 0x1c64], rdi
mov qword [rbx + 0x1c70], rdi
mov eax, dword [rbx + 0x1fe4]
mov r8d, 0x800
mov dword [rbx + 0x1fe8], eax
mov eax, edi
mov qword [rbx + 0x1fe0], 0x7f7fffff
mov word [rbx + 0x1f75], di
mov dword [rbx + 0x1ff0], edi
cmp byte [rsi + 0x140], dil
setne al
mov ecx, eax
or ecx, 2
cmp byte [rsi + 0x141], dil
cmove ecx, eax
mov edx, ecx
or edx, 4
cmp byte [rsi + 0x142], dil
cmove edx, ecx
lea rcx, [rbx + 0xca0]
mov eax, edx
or eax, 8
cmp byte [rsi + 0x143], dil
cmove eax, edx
lea rdx, [rbx + 0x4a0]
mov dword [rbx + 0x3bc], eax
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [0x1400c57bc]
lea rcx, [rbx + 0x145]
lea rax, [rbx + 0x4a4]
mov r8d, pe_nt_image_headers64
nop dword [rax]
cmp byte [rcx - 1], dil
je 0x14000dccc
movss xmm0, dword [rax - 4]
comiss xmm6, xmm0
jbe 0x14000dcc5
movaps xmm0, xmm6
jmp 0x14000dccf
addss xmm0, dword [rbx + 0x18]
jmp 0x14000dccf
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], dil
je 0x14000dcee
movss xmm0, dword [rax]
comiss xmm6, xmm0
jbe 0x14000dce7
movaps xmm0, xmm6
jmp 0x14000dcf1
addss xmm0, dword [rbx + 0x18]
jmp 0x14000dcf1
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], dil
je 0x14000dd11
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
jbe 0x14000dd0a
movaps xmm0, xmm6
jmp 0x14000dd14
addss xmm0, dword [rbx + 0x18]
jmp 0x14000dd14
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], dil
je 0x14000dd35
movss xmm0, dword [rax + 8]
comiss xmm6, xmm0
jbe 0x14000dd2e
movaps xmm0, xmm6
jmp 0x14000dd38
addss xmm0, dword [rbx + 0x18]
jmp 0x14000dd38
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub r8, 1
jne 0x14000dcb0
call fcn.140018630
call fcn.14000c820
call fcn.14000d090
call fcn.14000c330
mov r8, qword [0x1400d7a50]
mov eax, dword [r8 + 0x1dc0]
sub eax, 1
js 0x14000ddab
mov r8, qword [r8 + 0x1dc8]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
nop
mov rax, qword [r8]
test rax, rax
je 0x14000dda1
test dword [rax + 0xc], 0x8000000
jne 0x14000ddc1
sub r8, 0x30
sub rdx, 1
jns 0x14000dd90
cmp qword [rbx + 0x1f20], rdi
je 0x14000dddd
movss xmm0, dword [rbx + 0x1f3c]
comiss xmm0, xmm6
jbe 0x14000dddd
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x1400c5688]
addss xmm1, dword [rbx + 0x1f6c]
minss xmm1, xmm9
jmp 0x14000ddfa
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x1400c569c]
movss xmm1, dword [rbx + 0x1f6c]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rbx + 0x1f6c], xmm1
mov dword [rbx + 0x1f70], edi
mov qword [rbx + 0x333c], 0xffffffffffffffff
mov dword [rbx + 0x3338], ebp
mov dword [rbx + 0x3080], 0x3f800000
mov dword [rbx + 0x3084], 0x3f800000
call fcn.14000cbf0
mov r11, qword [0x1400d7a50]
movaps xmm9, xmmword [rsp + 0x40]
mov r8, qword [r11 + 0x1df0]
test r8, r8
je 0x14000de7c
cmp byte [r8 + 0x8e], dil
je 0x14000de7c
test dword [r8 + 0xc], 0x40000
jne 0x14000de7c
cmp byte [r11 + 0x140], dil
jne 0x14000de7c
mov ecx, dword [r11 + 0x3c]
test ecx, ecx
js 0x14000de7c
call fcn.1400101d0
test al, al
je 0x14000de7c
mov al, 1
jmp 0x14000de7e
xor al, al
mov byte [r11 + 0x1f68], al
cmp dword [r11 + 0x1c50], edi
jne 0x14000dedf
test al, al
je 0x14000dedf
mov qword [r11 + 0x1f50], r8
mov dword [r11 + 0x1f60], 0x7fffffff
cmp dword [r11 + 0x1df8], edi
je 0x14000decc
mov edx, dword [r11 + 0x1e40]
cmp edx, 0x7fffffff
je 0x14000decc
movzx eax, byte [r11 + 0x141]
neg al
sbb ecx, ecx
add ecx, edx
jmp 0x14000ded8
movzx eax, byte [r11 + 0x141]
neg al
sbb ecx, ecx
mov dword [r11 + 0x1f64], ecx
mov r8, qword [r11 + 0x1f50]
mov qword [r11 + 0x1f48], rdi
mov dword [r11 + 0x1f5c], 0x7fffffff
mov dword [r11 + 0x1f58], 0x7fffffff
test r8, r8
je 0x14000df7a
mov eax, dword [r11 + 0x1f60]
mov qword [r11 + 0x1f48], r8
cmp eax, 0x7fffffff
je 0x14000df36
mov ecx, dword [r8 + 0x18c]
cmp ecx, ebp
je 0x14000df36
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r11 + 0x1f58], edx
mov eax, dword [r11 + 0x1f64]
cmp eax, 0x7fffffff
je 0x14000df5d
mov ecx, dword [r8 + 0x190]
cmp ecx, ebp
je 0x14000df5d
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r11 + 0x1f5c], edx
mov qword [r11 + 0x1f50], rdi
mov dword [r11 + 0x1f64], 0x7fffffff
mov dword [r11 + 0x1f60], 0x7fffffff
mov dword [r11 + 0x1e40], 0x7fffffff
cmp byte [rbx + 0x1b97], dil
jne 0x14000dfae
movss xmm0, dword [rbx + 0xd0]
comiss xmm6, xmm0
ja 0x14000dfae
movsd xmm10, qword [rbx + 0x1b80]
cvtpd2ps xmm10, xmm10
subss xmm10, xmm0
mov ebp, edi
cmp dword [rbx + 0x1ba8], edi
je 0x14000e12e
mov r14, rdi
nop
mov rax, qword [rbx + 0x1bb0]
mov rsi, qword [r14 + rax]
movzx eax, byte [rsi + 0x8e]
mov byte [rsi + 0x8f], al
mov word [rsi + 0x9a], di
mov byte [rsi + 0x8e], dil
mov byte [rsi + 0x90], dil
test al, al
jne 0x14000e11c
cmp byte [rsi + 0x3a8], dil
jne 0x14000e11c
comiss xmm10, dword [rsi + 0x24c]
jbe 0x14000e11c
mov rcx, qword [rsi + 0x280]
mov byte [rsi + 0x3a8], 1
mov eax, dword [rcx + 0x14]
mov dword [rsi + 0x3a0], eax
mov eax, dword [rcx + 0x24]
mov dword [rsi + 0x3a4], eax
mov rcx, qword [rsi + 0xd0]
test rcx, rcx
je 0x14000e068
mov rax, qword [0x1400d7a50]
mov qword [rsi + 0xc8], rdi
test rax, rax
je 0x14000e055
dec dword [rax + 0x3b0]
mov rdx, qword [0x1400d7a48]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rsi + 0xd0], rdi
mov rcx, qword [rsi + 0x280]
call fcn.1400255f0
mov rcx, qword [rsi + 0x168]
test rcx, rcx
je 0x14000e0ac
mov rax, qword [0x1400d7a50]
mov qword [rsi + 0x160], rdi
test rax, rax
je 0x14000e099
dec dword [rax + 0x3b0]
mov rdx, qword [0x1400d7a48]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rsi + 0x168], rdi
mov rcx, qword [rsi + 0x1a8]
test rcx, rcx
je 0x14000e0e4
mov rax, qword [0x1400d7a50]
mov qword [rsi + 0x1a0], rdi
test rax, rax
je 0x14000e0d1
dec dword [rax + 0x3b0]
mov rdx, qword [0x1400d7a48]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rsi + 0x1a8], rdi
mov rcx, qword [rsi + 0x1b8]
test rcx, rcx
je 0x14000e11c
mov rax, qword [0x1400d7a50]
mov qword [rsi + 0x1b0], rdi
test rax, rax
je 0x14000e109
dec dword [rax + 0x3b0]
mov rdx, qword [0x1400d7a48]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rsi + 0x1b8], rdi
inc ebp
add r14, 8
cmp ebp, dword [rbx + 0x1ba8]
jne 0x14000dfc0
mov r14d, edi
cmp dword [rbx + 0x2060], edi
jle 0x14000e28c
mov qword [rsp + 0x90], r12
mov r15, rdi
mov r12, rdi
movabs r13, 0xfc0fc0fc0fc0fc1
nop word [rax + rax]
mov rax, qword [rbx + 0x2068]
movss xmm0, dword [r15 + rax]
comiss xmm0, xmm6
jb 0x14000e261
comiss xmm10, xmm0
jbe 0x14000e261
mov rsi, qword [rbx + 0x2030]
mov rbp, qword [0x1400d7a50]
add rsi, r12
mov qword [rsi + 0x1d0], rdi
mov rcx, qword [rsi + 0x1c8]
test rcx, rcx
je 0x14000e1c9
mov qword [rsi + 0x1c0], rdi
test rbp, rbp
je 0x14000e1b6
dec dword [rbp + 0x3b0]
mov rdx, qword [0x1400d7a48]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rsi + 0x1c8], rdi
mov byte [rsi + 0x1fc], 1
mov rcx, qword [rsi + 0x1a0]
test rcx, rcx
je 0x14000e208
mov rax, qword [0x1400d7a50]
mov qword [rsi + 0x198], rdi
test rax, rax
je 0x14000e1f5
dec dword [rax + 0x3b0]
mov rdx, qword [0x1400d7a48]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rsi + 0x1a0], rdi
mov edx, edi
mov byte [rsi + 0x206], 1
cmp dword [rsi + 0x74], edi
jle 0x14000e235
mov rcx, rdi
mov r8d, 0xffffffff
nop
mov rax, qword [rsi + 0x18]
lea rcx, [rcx + 0x68]
inc edx
mov word [rcx + rax - 0x18], r8w
cmp edx, dword [rsi + 0x74]
jl 0x14000e220
sub rsi, qword [rbp + 0x2030]
mov rax, r13
imul rsi
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [rbp + 0x2068]
movsxd rcx, edx
mov dword [rax + rcx*4], 0xbf800000
inc r14d
add r15, 4
add r12, 0x208
cmp r14d, dword [rbx + 0x2060]
jl 0x14000e160
mov r13, qword [rsp + 0xc8]
mov r12, qword [rsp + 0x90]
mov r14d, edi
mov r15, qword [rsp + 0x80]
cmp dword [rbx + 0x2050], edi
jle 0x14000e2ec
mov rsi, rdi
nop dword [rax]
nop word [rax + rax]
mov rbp, qword [rbx + 0x2058]
movss xmm0, dword [rsi + rbp + 4]
comiss xmm0, xmm6
jb 0x14000e2dc
comiss xmm10, xmm0
jbe 0x14000e2dc
lea rcx, [rbp + 0x10]
add rcx, rsi
call fcn.140028c90
mov dword [rsi + rbp + 4], 0xbf800000
inc r14d
add rsi, 0x70
cmp r14d, dword [rbx + 0x2050]
jl 0x14000e2b0
movaps xmm10, xmmword [rsp + 0x30]
mov r14, qword [rsp + 0x88]
mov rbp, qword [rsp + 0xd0]
cmp byte [rbx + 0x1b97], dil
je 0x14000e380
mov rsi, qword [0x1400d7a50]
mov rcx, qword [rsi + 0x1da8]
test rcx, rcx
je 0x14000e343
mov qword [rsi + 0x1da0], rdi
test rsi, rsi
je 0x14000e330
dec dword [rsi + 0x3b0]
mov rdx, qword [0x1400d7a48]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rsi + 0x1da8], rdi
mov rcx, qword [rsi + 0x1db8]
test rcx, rcx
je 0x14000e37b
mov rax, qword [0x1400d7a50]
mov qword [rsi + 0x1db0], rdi
test rax, rax
je 0x14000e368
dec dword [rax + 0x3b0]
mov rdx, qword [0x1400d7a48]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rsi + 0x1db8], rdi
call fcn.14002f470
mov rax, qword [rbx + 0x1df0]
mov byte [rbx + 0x1b97], dil
test rax, rax
je 0x14000e3f5
cmp byte [rax + 0x8f], dil
jne 0x14000e3f5
mov rcx, qword [0x1400d7a50]
mov eax, dword [rcx + 0x1bb8]
sub eax, 1
js 0x14000e3ee
movsxd rdx, eax
mov rax, qword [rcx + 0x1bc0]
lea r8, [rax + rdx*8]
nop dword [rax]
mov rcx, qword [r8]
test rcx, rcx
je 0x14000e3e4
cmp byte [rcx + 0x8f], dil
je 0x14000e3e4
mov eax, dword [rcx + 0xc]
and eax, 0x40200
cmp eax, 0x40200
jne 0x14000e5f7
sub r8, 8
sub rdx, 1
jns 0x14000e3c0
xor ecx, ecx
call fcn.1400150b0
mov ecx, dword [rbx + 0x1bdc]
test ecx, ecx
jns 0x14000e41b
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1bd8]
test eax, eax
cmovg edx, eax
call fcn.14001d690
mov dword [rbx + 0x1bd8], edi
mov ecx, dword [rbx + 0x1dd4]
test ecx, ecx
jns 0x14000e447
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1dd0]
test eax, eax
cmovg edx, eax
call fcn.14001d550
lea rsi, [rbx + 0x1da0]
mov dword [rbx + 0x1dd0], edi
mov ecx, dword [rsi + 4]
test ecx, ecx
jns 0x14000e473
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
mov rcx, rsi
test eax, eax
cmovg edx, eax
call fcn.14001d5f0
mov dword [rsi], edi
cmp dword [rsi + 4], edi
jne 0x14000e487
mov edx, 8
mov rcx, rsi
call fcn.14001d5f0
movsxd rcx, dword [rsi]
xor edx, edx
mov rax, qword [rsi + 8]
mov dword [rax + rcx*4], edi
lea rcx, [rbx + 0x1db0]
inc dword [rsi]
call fcn.14001cd50
mov r8, qword [0x1400d7a50]
mov dword [r8 + 0x3138], edi
cmp byte [r8 + 0x3134], dil
je 0x14000e56a
mov esi, dword [r8 + 0x1c40]
mov dword [r8 + 0x1f70], 7
mov ecx, dword [r8 + 0x74]
test ecx, ecx
js 0x14000e4e6
call fcn.1400101d0
test al, al
je 0x14000e4e6
mov byte [r8 + 0x3134], dil
movss xmm0, dword [r8 + 0x43c]
ucomiss xmm0, xmm6
jp 0x14000e508
jne 0x14000e508
test esi, esi
je 0x14000e508
mov dword [r8 + 0x3138], esi
mov byte [r8 + 0x3134], dil
or dword [r8 + 0x1cf0], 0x40
xor edx, edx
mov dword [r8 + 0x1d50], 0x3f19999a
call fcn.140016820
mov edx, esi
lea rcx, [0x1400bb540]
call fcn.140030600
lea rcx, [0x1400bb558]
call fcn.140030600
mov eax, 0x1630
lea rdx, [0x1400bb578]
test esi, esi
mov ecx, 0x1620
cmove ecx, eax
add rcx, qword [0x1400d7a50]
call fcn.140030690
call fcn.140014fc0
mov r8, qword [0x1400d7a50]
mov byte [rbx + 0x1b95], 1
lea rcx, [0x1400bb530]
or dword [r8 + 0x1cf0], 2
xor edx, edx
mov dword [r8 + 0x1d10], 0x43c80000
mov dword [r8 + 0x1d14], 0x43c80000
mov dword [r8 + 0x1cf8], 4
xor r8d, r8d
call fcn.140012d00
movaps xmm6, xmmword [rsp + 0x70]
cmp dword [rbx + 0x30d8], edi
jle 0x14000e5ea
mov rsi, rdi
nop dword [rax + rax]
mov rax, qword [r13]
cmp dword [rsi + rax + 4], 1
jne 0x14000e5dc
movsxd rdx, edi
mov rcx, rbx
shl rdx, 5
add rdx, rax
call qword [rsi + rax + reloc.WS2_32.dll_recv]
inc edi
add rsi, 0x20
cmp edi, dword [rbx + 0x30d8]
jl 0x14000e5c0
add rsp, 0x98
pop r13
pop rdi
pop rsi
pop rbx
ret
mov rax, qword [rcx + 0x370]
test rax, rax
je 0x14000e60c
cmp byte [rax + 0x8f], dil
jne 0x14000e60f
mov rax, rcx
mov rcx, rax
jmp 0x14000e3f0