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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
movsd qword [rsp + 8], xmm0
sub rsp, 0x78
xor eax, eax
test eax, eax
jne 0x140049cd9
movsd xmm0, qword [rsp + 0x80]
call fcn.14029b038
movsd qword [rsp + 0x80], xmm0
xor eax, eax
test eax, eax
jne 0x140049cf6
xor eax, eax
test eax, eax
jne 0x140049cfc
xor eax, eax
test eax, eax
jne 0x140049d02
movsd xmm1, qword [0x140305f98]
movsd xmm0, qword [rsp + 0x80]
call fcn.14029b0f0
movsd qword [rsp + 0x48], xmm0
xorps xmm0, xmm0
comisd xmm0, xmmword [rsp + 0x48]
jbe 0x140049d43
movsd xmm0, qword [rsp + 0x48]
addsd xmm0, qword [0x140305f98]
movsd qword [rsp + 0x48], xmm0
movsd xmm0, qword [rsp + 0x80]
divsd xmm0, qword [0x140305f98]
call fcn.14029b038
movsd qword [rsp + 0x60], xmm0
xor eax, eax
test eax, eax
jne 0x140049d5f
cvttsd2si eax, qword [rsp + 0x48]
mov dword [rsp + 0x20], eax
cvttsd2si eax, qword [rsp + 0x60]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x50], eax
xor eax, eax
test eax, eax
jne 0x140049d81
xor eax, eax
test eax, eax
jne 0x140049d87
mov eax, dword [rsp + 0x20]
cdq
mov ecx, 0x3e8
idiv ecx
mov eax, edx
mov ecx, 4
imul rcx, rcx, 6
mov rdx, qword [rsp + 0x88]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x20]
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cdq
mov ecx, 0x3c
idiv ecx
mov eax, edx
mov ecx, 4
imul rcx, rcx, 5
mov rdx, qword [rsp + 0x88]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x20]
cdq
mov ecx, 0x3c
idiv ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cdq
mov ecx, 0x3c
idiv ecx
mov eax, edx
mov ecx, 4
imul rcx, rcx, 4
mov rdx, qword [rsp + 0x88]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x20]
cdq
mov ecx, 0x3c
idiv ecx
mov dword [rsp + 0x20], eax
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0x88]
mov edx, dword [rsp + 0x20]
mov dword [rcx + rax], edx
xor eax, eax
test eax, eax
jne 0x140049e3b
xor eax, eax
test eax, eax
jne 0x140049e41
xor eax, eax
test eax, eax
jne 0x140049e47
xor eax, eax
test eax, eax
jne 0x140049e4d
xor eax, eax
test eax, eax
jne 0x140049e53
xor eax, eax
test eax, eax
jne 0x140049e59
mov eax, dword [rsp + 0x38]
add eax, 0x8583b04
cdq
mov ecx, 7
idiv ecx
mov eax, edx
mov ecx, 4
imul rcx, rcx, 7
mov rdx, qword [rsp + 0x88]
mov dword [rdx + rcx], eax
xor eax, eax
test eax, eax
jne 0x140049e86
lea rdx, [rsp + 0x40]
mov ecx, dword [rsp + 0x38]
call fcn.140049ab0
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x34], eax
mov ecx, dword [rsp + 0x28]
call fcn.1400498a0
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x24], 0
jmp 0x140049ec7
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0xc
jge 0x140049f1e
movsxd rax, dword [rsp + 0x24]
lea rcx, [0x1403333b0]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x24], 1
jne 0x140049efa
cmp dword [rsp + 0x44], 0
je 0x140049efa
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
xor eax, eax
test eax, eax
jne 0x140049efa
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x34], eax
jge 0x140049f0c
jmp 0x140049f1e
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
jmp 0x140049ebd
xor eax, eax
test eax, eax
jne 0x140049f1e
xor eax, eax
test eax, eax
jne 0x140049f24
xor eax, eax
test eax, eax
jne 0x140049f2a
mov eax, dword [rsp + 0x98]
and eax, 8
test eax, eax
je 0x140049fda
cmp dword [rsp + 0x28], 0x7b3
jl 0x140049f5a
cmp dword [rsp + 0x28], 0x7f5
jle 0x140049fda
xor eax, eax
test eax, eax
jne 0x140049f5a
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x50]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x54], eax
xor eax, eax
test eax, eax
jne 0x140049f70
mov eax, dword [rsp + 0x54]
add eax, 0x8583b04
cdq
mov ecx, 7
idiv ecx
mov eax, edx
mov dword [rsp + 0x58], eax
xor eax, eax
test eax, eax
jne 0x140049f8d
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x44], 0
je 0x140049fad
mov eax, dword [rsp + 0x3c]
add eax, 7
mov dword [rsp + 0x3c], eax
xor eax, eax
test eax, eax
jne 0x140049fad
movsxd rax, dword [rsp + 0x3c]
lea rcx, [0x140333390]
movzx eax, byte [rcx + rax]
add eax, 0x7b2
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x28], eax
xor eax, eax
test eax, eax
jne 0x140049fd4
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x88]
mov edx, dword [rsp + 0x28]
mov dword [rcx + rax], edx
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x88]
mov edx, dword [rsp + 0x24]
mov dword [rcx + rax], edx
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x88]
mov edx, dword [rsp + 0x34]
mov dword [rcx + rax], edx
mov eax, dword [rsp + 0x98]
and eax, 4
test eax, eax
je 0x14004a084
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x88]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x88]
mov dword [rdx + rcx], eax
cmp qword [rsp + 0x90], 0
je 0x14004a0ce
mov dword [rsp + 0x2c], 0
jmp 0x14004a0a3
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 8
jae 0x14004a0ce
mov eax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x88]
cvtsi2sd xmm0, dword [rcx + rax*4]
mov eax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x90]
movsd qword [rcx + rax*8], xmm0
jmp 0x14004a099
add rsp, 0x78
ret