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

Disassembly:
push rsi
push rdi
sub rsp, 0xb8
mov rax, qword [0x140961180]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x40], 0
jmp 0x14002e99a
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x15
jge 0x14002e9a3
jmp 0x14002e990
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 8]
and eax, 1
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0xd3]
test eax, eax
je 0x14002e9d9
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xc]
and eax, 2
test eax, eax
jne 0x14002e9d9
mov rax, qword [rsp + 0x30]
mov byte [rax + 0xd3], 0
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x2d98]
test eax, eax
jne 0x14002ea10
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x20], 0
je 0x14002ea04
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x20]
call fcn.140029ed0
nop
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x2d98], 1
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x2d9c]
comiss xmm0, dword [0x1400fa0c0]
jbe 0x14002ea94
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x2d9c]
subss xmm0, dword [rcx + 0x18]
mov rax, qword [rsp + 0x30]
movss dword [rax + 0x2d9c], xmm0
mov rax, qword [rsp + 0x30]
xorps xmm0, xmm0
comiss xmm0, dword [rax + 0x2d9c]
jb 0x14002ea94
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x20], 0
je 0x14002ea78
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x20]
call fcn.140031790
nop
jmp 0x14002ea84
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x3b0], 1
mov rax, qword [rsp + 0x30]
xorps xmm0, xmm0
movss dword [rax + 0x2d9c], xmm0
mov rax, qword [rsp + 0x30]
cvtss2sd xmm0, dword [rax + 0x18]
mov rax, qword [rsp + 0x30]
movsd xmm1, qword [rax + 0x1988]
addsd xmm1, xmm0
movaps xmm0, xmm1
mov rax, qword [rsp + 0x30]
movsd qword [rax + 0x1988], xmm0
mov rax, qword [rsp + 0x30]
mov byte [rax + 1], 1
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1990]
inc eax
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x1990], eax
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x2d74], 0
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x19f0], 0
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0xa0]
mov byte [rax], 1
call fcn.1400265a0
mov rcx, rax
call fcn.140031db0
nop
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x14]
movss dword [rsp + 0x20], xmm0
mov rax, qword [rsp + 0x30]
movss xmm3, dword [rax + 0x10]
xorps xmm2, xmm2
xorps xmm1, xmm1
lea rcx, [rsp + 0x98]
call fcn.140005020
mov rcx, qword [rsp + 0x30]
lea rdi, [rcx + 0x1918]
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
movss xmm0, dword [rcx + 0x15ec]
movss dword [rax + 0x1914], xmm0
mov rax, qword [rsp + 0x30]
add rax, 0x1cc8
mov rcx, rax
call fcn.14003b600
mov rax, qword [rsp + 0x30]
add rax, 0x1cc8
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0xa0]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0x68]
call fcn.14003f500
mov rax, qword [rsp + 0x30]
add rax, 0x1cc8
mov rcx, rax
call fcn.14003f470
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x15e8]
test eax, eax
je 0x14002ebe2
mov dword [rsp + 0x48], 1
jmp 0x14002ebea
mov dword [rsp + 0x48], 0
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x15e9]
test eax, eax
je 0x14002ec04
mov dword [rsp + 0x44], 2
jmp 0x14002ec0c
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x48]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x1cf8], eax
mov rax, qword [rsp + 0x30]
add rax, 0x1c70
mov rcx, rax
call fcn.140022240
nop
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x1d74]
test eax, eax
je 0x14002ec70
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x1a24]
cmp dword [rax + 0x1d94], ecx
jne 0x14002ec70
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax + 0x1d94]
call fcn.140029e70
nop
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x1a18], 0
jne 0x14002ec8e
mov rax, qword [rsp + 0x30]
xorps xmm0, xmm0
movss dword [rax + 0x1a1c], xmm0
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x1a18], 0
je 0x14002ecc2
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x1a10], 0
je 0x14002ecd2
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x1a10]
cmp dword [rax + 0x1a24], ecx
jne 0x14002ecd2
mov rax, qword [rsp + 0x30]
xorps xmm0, xmm0
movss dword [rax + 0x1a20], xmm0
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x1a10], 0
je 0x14002ed04
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x1a1c]
addss xmm0, dword [rcx + 0x18]
mov rax, qword [rsp + 0x30]
movss dword [rax + 0x1a1c], xmm0
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x1a10], 0
je 0x14002ed4e
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x1a10]
cmp dword [rax + 0x1a24], ecx
je 0x14002ed4e
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x1a20]
addss xmm0, dword [rcx + 0x18]
mov rax, qword [rsp + 0x30]
movss dword [rax + 0x1a20], xmm0
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x1a10]
mov dword [rax + 0x1a18], ecx
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x1a10], 0
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x1a14], 0
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x1a24]
cmp dword [rax + 0x1a2c], ecx
je 0x14002edc3
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x1a24]
cmp dword [rax + 0x1a28], ecx
jne 0x14002edc3
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x1a24], 0
je 0x14002edc3
call fcn.140022490
nop
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x1a24], 0
je 0x14002edf5
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x1a30]
addss xmm0, dword [rcx + 0x18]
mov rax, qword [rsp + 0x30]
movss dword [rax + 0x1a30], xmm0
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x1a60]
addss xmm0, dword [rcx + 0x18]
mov rax, qword [rsp + 0x30]
movss dword [rax + 0x1a60], xmm0
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x1a24]
mov dword [rax + 0x1a28], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x1a48]
mov qword [rax + 0x1a50], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
movzx ecx, byte [rcx + 0x1a36]
mov byte [rax + 0x1a38], cl
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x1a2c], 0
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x1a37], 0
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x1a34], 0
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x2d48], 0
je 0x14002eeba
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x2d48]
cmp dword [rax + 0x1a24], ecx
je 0x14002eeba
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x2d48], 0
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x1de4]
mov dword [rax + 0x1de8], ecx
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x1de4], 0
mov rax, qword [rsp + 0x30]
movss xmm0, dword [0x1400fa0e8]
movss dword [rax + 0x1de0], xmm0
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x1d75], 0
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
lea rdi, [rax + 0xca8]
lea rsi, [rcx + 0x4a8]
mov ecx, 0x800
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x38], 0
jmp 0x14002ef33
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0x200
jge 0x14002efd6
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
movzx eax, byte [rcx + rax + 0x134]
test eax, eax
je 0x14002efaa
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
xorps xmm0, xmm0
comiss xmm0, dword [rcx + rax*4 + 0x4a8]
jbe 0x14002ef79
xorps xmm0, xmm0
movss dword [rsp + 0x4c], xmm0
jmp 0x14002ef9c
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x30]
movss xmm0, dword [rcx + rax*4 + 0x4a8]
addss xmm0, dword [rdx + 0x18]
movss dword [rsp + 0x4c], xmm0
movss xmm0, dword [rsp + 0x4c]
movss dword [rsp + 0x50], xmm0
jmp 0x14002efb8
movss xmm0, dword [0x1400fa330]
movss dword [rsp + 0x50], xmm0
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
movss xmm0, dword [rsp + 0x50]
movss dword [rcx + rax*4 + 0x4a8], xmm0
jmp 0x14002ef29
call fcn.14002be70
call fcn.140034400
mov rax, qword [rsp + 0x30]
movsxd rax, dword [rax + 0x2fd8]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x30]
movss xmm0, dword [rcx + 0x18]
subss xmm0, dword [rdx + rax*4 + 0x2df8]
mov rax, qword [rsp + 0x30]
movss xmm1, dword [rax + 0x2fdc]
addss xmm1, xmm0
movaps xmm0, xmm1
mov rax, qword [rsp + 0x30]
movss dword [rax + 0x2fdc], xmm0
mov rax, qword [rsp + 0x30]
movsxd rax, dword [rax + 0x2fd8]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x30]
movss xmm0, dword [rdx + 0x18]
movss dword [rcx + rax*4 + 0x2df8], xmm0
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x2fd8]
inc eax
cdq
mov ecx, 0x78
idiv ecx
mov eax, edx
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x2fd8], eax
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x2fdc]
comiss xmm0, dword [0x1400fa0c0]
jbe 0x14002f0ad
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x2fdc]
divss xmm0, dword [0x1400fbab4]
movss xmm1, dword [0x1400fa108]
divss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x54], xmm0
jmp 0x14002f0bb
movss xmm0, dword [0x1400fa0e8]
movss dword [rsp + 0x54], xmm0
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rsp + 0x54]
movss dword [rax + 0x3b4], xmm0
call fcn.140034aa0
call fcn.1400334f0
nop
call fcn.140026820
test rax, rax
jne 0x14002f108
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1b80], 0
je 0x14002f14a
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x1b9c]
comiss xmm0, dword [0x1400fa0c0]
jbe 0x14002f14a
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x18]
mulss xmm0, dword [0x1400fa414]
mov rax, qword [rsp + 0x30]
movss xmm1, dword [rax + 0x1cc0]
addss xmm1, xmm0
movaps xmm0, xmm1
movss xmm1, dword [0x1400fa108]
call fcn.14000e2d0
mov rax, qword [rsp + 0x30]
movss dword [rax + 0x1cc0], xmm0
jmp 0x14002f185
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x18]
mulss xmm0, dword [0x1400fa464]
mov rax, qword [rsp + 0x30]
movss xmm1, dword [rax + 0x1cc0]
subss xmm1, xmm0
movaps xmm0, xmm1
xorps xmm1, xmm1
call fcn.14000e290
mov rax, qword [rsp + 0x30]
movss dword [rax + 0x1cc0], xmm0
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x1d70], 0
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x2fe8], 0xffffffff
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x2fe4], 0xffffffff
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x2fe0], 0xffffffff
movss xmm2, dword [0x1400fa108]
movss xmm1, dword [0x1400fa108]
lea rcx, [rsp + 0x88]
call fcn.140004fb0
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x2d88], rax
call fcn.140034c40
nop
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x1a24], 0
jne 0x14002f314
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1b40], 0
je 0x14002f314
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1b40]
movzx eax, byte [rax + 0x7a]
test eax, eax
je 0x14002f314
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1b40]
mov eax, dword [rax + 0xc]
and eax, 0x40000
test eax, eax
jne 0x14002f314
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x130]
test eax, eax
jne 0x14002f314
xor edx, edx
xor ecx, ecx
call fcn.140029300
movzx eax, al
test eax, eax
je 0x14002f314
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x1b48], 0
je 0x14002f2dc
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x1ba8], 0x7fffffff
je 0x14002f2dc
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x131]
test eax, eax
je 0x14002f2ad
mov dword [rsp + 0x58], 0xffffffff
jmp 0x14002f2b5
mov dword [rsp + 0x58], 1
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1ba8]
mov ecx, dword [rsp + 0x58]
lea eax, [rax + rcx + 1]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x1b40]
mov dword [rcx + 0x3b4], eax
jmp 0x14002f314
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x131]
test eax, eax
je 0x14002f2f6
mov dword [rsp + 0x5c], 0xffffffff
jmp 0x14002f2fe
mov dword [rsp + 0x5c], 0
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1b40]
mov ecx, dword [rsp + 0x5c]
mov dword [rax + 0x3b4], ecx
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x1ba8], 0x7fffffff
mov dword [rsp + 0x3c], 0
jmp 0x14002f337
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x19a0]
cmp dword [rsp + 0x3c], eax
je 0x14002f393
mov rax, qword [rsp + 0x30]
add rax, 0x19a0
mov qword [rsp + 0x70], rax
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x70]
call fcn.14001bbc0
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x60]
movzx ecx, byte [rcx + 0x7a]
mov byte [rax + 0x7b], cl
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x7a], 0
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x7c], 0
jmp 0x14002f32d
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x1b40], 0
je 0x14002f3be
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x1b40]
movzx eax, byte [rax + 0x7b]
test eax, eax
jne 0x14002f3be
xor ecx, ecx
call fcn.140025b90
nop
mov rax, qword [rsp + 0x30]
add rax, 0x19d0
mov qword [rsp + 0x78], rax
xor edx, edx
mov rcx, qword [rsp + 0x78]
call fcn.140036380
mov rax, qword [rsp + 0x30]
add rax, 0x1ab8
mov qword [rsp + 0x80], rax
xor edx, edx
mov rcx, qword [rsp + 0x80]
call fcn.1400363d0
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x1b40]
call fcn.140022880
nop
movss xmm2, dword [0x1400fbab8]
movss xmm1, dword [0x1400fbab8]
lea rcx, [rsp + 0x90]
call fcn.140004fb0
mov edx, 4
mov rcx, rax
call fcn.140032380
nop
xor r8d, r8d
xor edx, edx
lea rcx, str.DebugDefault
call fcn.14001c210
nop
add rsp, 0xb8
pop rdi
pop rsi
ret