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

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xc8
mov rax, qword [0x140169080]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rax, qword [0x140181238]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x3ef8]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
mov ecx, dword [rcx + 0x158]
cmp dword [rax + 0x4910], ecx
je 0x1400469bc
xor al, al
jmp 0x140046f67
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0x30]
mov rdi, rax
lea rsi, [rcx + 0x47b0]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xa0]
mov rcx, qword [rsp + 0x30]
mov rdi, rax
lea rsi, [rcx + 0x496c]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x498c]
inc eax
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x498c], eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x48d8]
cmp qword [rax + 0x368], rcx
jne 0x140046a7b
mov rax, qword [rsp + 0x68]
add rax, 0x238
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x88]
call fcn.1400238f0
movzx eax, al
test eax, eax
jne 0x140046a60
xor al, al
jmp 0x140046f67
mov rax, qword [rsp + 0x68]
add rax, 0x238
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.140023c90
vmovss xmm3, dword [rsp + 0xa8]
vmovss xmm2, dword [rsp + 0xa0]
vmovss xmm1, dword [rsp + 0x98]
vmovss xmm0, dword [rsp + 0x90]
call fcn.140046900
vmovss dword [rsp + 0x24], xmm0
vmovss xmm2, dword [0x1401588ec]
vmovss xmm1, dword [rsp + 0xac]
vmovss xmm0, dword [rsp + 0xa4]
call fcn.1400520d0
vmovss dword [rsp + 0x70], xmm0
vmovss xmm2, dword [0x1401587e4]
vmovss xmm1, dword [rsp + 0xac]
vmovss xmm0, dword [rsp + 0xa4]
call fcn.1400520d0
vmovss dword [rsp + 0x74], xmm0
vmovss xmm2, dword [0x1401588ec]
vmovss xmm1, dword [rsp + 0x9c]
vmovss xmm0, dword [rsp + 0x94]
call fcn.1400520d0
vmovss dword [rsp + 0x78], xmm0
vmovss xmm2, dword [0x1401587e4]
vmovss xmm1, dword [rsp + 0x9c]
vmovss xmm0, dword [rsp + 0x94]
call fcn.1400520d0
vmovss dword [rsp + 0x7c], xmm0
vmovss xmm3, dword [rsp + 0x70]
vmovss xmm2, dword [rsp + 0x74]
vmovss xmm1, dword [rsp + 0x78]
vmovss xmm0, dword [rsp + 0x7c]
call fcn.140046900
vmovss dword [rsp + 0x2c], xmm0
vmovss xmm0, dword [rsp + 0x2c]
vucomiss xmm0, dword [0x140158728]
je 0x140046bc9
vmovss xmm0, dword [rsp + 0x24]
vucomiss xmm0, dword [0x140158728]
je 0x140046bc9
vmovss xmm0, dword [rsp + 0x24]
vcomiss xmm0, dword [0x140158728]
jbe 0x140046ba1
vmovss xmm0, dword [0x140158930]
vmovss dword [rsp + 0x58], xmm0
jmp 0x140046baf
vmovss xmm0, dword [0x140158b7c]
vmovss dword [rsp + 0x58], xmm0
vmovss xmm0, dword [rsp + 0x24]
vdivss xmm0, xmm0, dword [0x140158b14]
vaddss xmm0, xmm0, dword [rsp + 0x58]
vmovss dword [rsp + 0x24], xmm0
vmovss xmm0, dword [rsp + 0x24]
call fcn.140007470
vmovss dword [rsp + 0x80], xmm0
vmovss xmm0, dword [rsp + 0x2c]
call fcn.140007470
vmovss xmm1, dword [rsp + 0x80]
vaddss xmm0, xmm1, xmm0
vmovss dword [rsp + 0x44], xmm0
vmovss xmm0, dword [rsp + 0x90]
vaddss xmm0, xmm0, dword [rsp + 0x98]
vmovss xmm1, dword [rsp + 0xa0]
vaddss xmm1, xmm1, dword [rsp + 0xa8]
vsubss xmm0, xmm0, xmm1
vmovss dword [rsp + 0x40], xmm0
vmovss xmm0, dword [rsp + 0x94]
vaddss xmm0, xmm0, dword [rsp + 0x9c]
vmovss xmm1, dword [rsp + 0xa4]
vaddss xmm1, xmm1, dword [rsp + 0xac]
vsubss xmm0, xmm0, xmm1
vmovss dword [rsp + 0x3c], xmm0
vmovss xmm0, dword [rsp + 0x40]
call fcn.140007470
vmovss dword [rsp + 0x84], xmm0
vmovss xmm0, dword [rsp + 0x3c]
call fcn.140007470
vmovss xmm1, dword [rsp + 0x84]
vaddss xmm0, xmm1, xmm0
vmovss dword [rsp + 0x38], xmm0
vxorps xmm0, xmm0, xmm0
vmovss dword [rsp + 0x48], xmm0
vxorps xmm0, xmm0, xmm0
vmovss dword [rsp + 0x4c], xmm0
vxorps xmm0, xmm0, xmm0
vmovss dword [rsp + 0x50], xmm0
vmovss xmm0, dword [rsp + 0x24]
vucomiss xmm0, dword [0x140158728]
jne 0x140046cc7
vmovss xmm0, dword [rsp + 0x2c]
vucomiss xmm0, dword [0x140158728]
je 0x140046d05
vmovss xmm0, dword [rsp + 0x24]
vmovss dword [rsp + 0x48], xmm0
vmovss xmm0, dword [rsp + 0x2c]
vmovss dword [rsp + 0x4c], xmm0
vmovss xmm0, dword [rsp + 0x44]
vmovss dword [rsp + 0x50], xmm0
vmovss xmm1, dword [rsp + 0x2c]
vmovss xmm0, dword [rsp + 0x24]
call fcn.140046870
mov dword [rsp + 0x54], eax
jmp 0x140046d92
vmovss xmm0, dword [rsp + 0x40]
vucomiss xmm0, dword [0x140158728]
jne 0x140046d25
vmovss xmm0, dword [rsp + 0x3c]
vucomiss xmm0, dword [0x140158728]
je 0x140046d60
vmovss xmm0, dword [rsp + 0x40]
vmovss dword [rsp + 0x48], xmm0
vmovss xmm0, dword [rsp + 0x3c]
vmovss dword [rsp + 0x4c], xmm0
vmovss xmm0, dword [rsp + 0x38]
vmovss dword [rsp + 0x50], xmm0
vmovss xmm1, dword [rsp + 0x3c]
vmovss xmm0, dword [rsp + 0x40]
call fcn.140046870
mov dword [rsp + 0x54], eax
jmp 0x140046d92
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x48e0]
cmp dword [rax + 0x4794], ecx
jae 0x140046d82
mov dword [rsp + 0x5c], 0
jmp 0x140046d8a
mov dword [rsp + 0x5c], 1
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x4960]
mov dword [rsp + 0x28], eax
mov byte [rsp + 0x20], 0
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x54], eax
jne 0x140046e90
mov rax, qword [rsp + 0xe0]
vmovss xmm0, dword [rsp + 0x44]
vcomiss xmm0, dword [rax + 0x24]
jae 0x140046df6
mov rax, qword [rsp + 0xe0]
vmovss xmm0, dword [rsp + 0x44]
vmovss dword [rax + 0x24], xmm0
mov rax, qword [rsp + 0xe0]
vmovss xmm0, dword [rsp + 0x38]
vmovss dword [rax + 0x28], xmm0
mov al, 1
jmp 0x140046f67
mov rax, qword [rsp + 0xe0]
vmovss xmm0, dword [rsp + 0x44]
vucomiss xmm0, dword [rax + 0x24]
jne 0x140046e90
mov rax, qword [rsp + 0xe0]
vmovss xmm0, dword [rsp + 0x38]
vcomiss xmm0, dword [rax + 0x28]
jae 0x140046e3e
mov rax, qword [rsp + 0xe0]
vmovss xmm0, dword [rsp + 0x38]
vmovss dword [rax + 0x28], xmm0
mov byte [rsp + 0x20], 1
jmp 0x140046e90
mov rax, qword [rsp + 0xe0]
vmovss xmm0, dword [rsp + 0x38]
vucomiss xmm0, dword [rax + 0x28]
jne 0x140046e90
cmp dword [rsp + 0x28], 2
je 0x140046e6f
cmp dword [rsp + 0x28], 3
je 0x140046e6f
vmovss xmm0, dword [rsp + 0x24]
vmovss dword [rsp + 0x60], xmm0
jmp 0x140046e7b
vmovss xmm0, dword [rsp + 0x2c]
vmovss dword [rsp + 0x60], xmm0
vmovss xmm0, dword [rsp + 0x60]
vcomiss xmm0, dword [0x140158728]
jae 0x140046e90
mov byte [rsp + 0x20], 1
mov rax, qword [rsp + 0xe0]
vmovss xmm0, dword [0x140158b50]
vucomiss xmm0, dword [rax + 0x24]
jne 0x140046f62
mov rax, qword [rsp + 0xe0]
vmovss xmm0, dword [rsp + 0x50]
vcomiss xmm0, dword [rax + 0x2c]
jae 0x140046f62
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x4910], 1
jne 0x140046f62
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x48d8]
mov eax, dword [rax + 0x14]
and eax, 0x10000000
test eax, eax
jne 0x140046f62
cmp dword [rsp + 0x28], 0
jne 0x140046f05
vmovss xmm0, dword [rsp + 0x48]
vcomiss xmm0, dword [0x140158728]
jb 0x140046f4a
cmp dword [rsp + 0x28], 1
jne 0x140046f1c
vmovss xmm0, dword [rsp + 0x48]
vcomiss xmm0, dword [0x140158728]
ja 0x140046f4a
cmp dword [rsp + 0x28], 2
jne 0x140046f33
vmovss xmm0, dword [rsp + 0x4c]
vcomiss xmm0, dword [0x140158728]
jb 0x140046f4a
cmp dword [rsp + 0x28], 3
jne 0x140046f62
vmovss xmm0, dword [rsp + 0x4c]
vcomiss xmm0, dword [0x140158728]
jbe 0x140046f62
mov rax, qword [rsp + 0xe0]
vmovss xmm0, dword [rsp + 0x50]
vmovss dword [rax + 0x2c], xmm0
mov byte [rsp + 0x20], 1
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140120300
add rsp, 0xc8
pop rdi
pop rsi
ret