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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xf8
cmp qword [rsp + 0x118], 0
je 0x180137773
cmp qword [rsp + 0x120], 0
jne 0x180137778
jmp 0x180137d3f
mov rcx, qword [rsp + 0x118]
call fcn.1801303c0
movzx eax, al
test eax, eax
je 0x18013779a
mov rax, qword [0x18049adb0]
movzx eax, byte [rax]
test eax, eax
jne 0x18013779f
jmp 0x180137d3f
mov rax, qword [rsp + 0x110]
cvtsi2ss xmm0, dword [rax + 4]
xorps xmm1, xmm1
comiss xmm1, xmm0
jb 0x1801377b9
jmp 0x180137d3f
mov rcx, qword [rsp + 0x118]
call fcn.18014a610
mov rax, qword [rax]
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
jne 0x1801377e1
jmp 0x180137d3f
mov rcx, qword [rsp + 0x120]
call fcn.180131be0
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x180137803
jmp 0x180137d3f
mov rcx, qword [rsp + 0x120]
call fcn.18014a6b0
cmp dword [rax], 0
jne 0x180137829
mov rcx, qword [rsp + 0x58]
call fcn.180131f00
cmp dword [rax], 5
jne 0x180137829
jmp 0x180137d3f
movzx eax, byte [0x18049c7b4]
test eax, eax
jne 0x180137839
jmp 0x180137d3f
mov rax, qword [rsp + 0x110]
movzx eax, byte [rax + 0x10]
test eax, eax
jne 0x18013784e
jmp 0x180137d3f
mov rcx, qword [rsp + 0x120]
call fcn.18014a260
movss dword [rsp + 0x44], xmm0
mov rcx, qword [rsp + 0x118]
call fcn.1801352f0
lea rcx, [rsp + 0x78]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0x120]
call fcn.18013d350
mov qword [rsp + 0x70], rax
lea rdx, str.scar20
mov rcx, qword [rsp + 0x70]
call fcn.18026da40
test eax, eax
je 0x1801378c6
lea rdx, str.g3sg1
mov rcx, qword [rsp + 0x70]
call fcn.18026da40
test eax, eax
je 0x1801378c6
mov dword [rsp + 0x30], 0
jmp 0x1801378ce
mov dword [rsp + 0x30], 1
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x20], al
mov rax, qword [0x18049adb0]
movzx eax, byte [rax + 2]
test eax, eax
jne 0x180137903
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x180137903
mov rcx, qword [rsp + 0x58]
call fcn.180131f00
cmp dword [rax], 5
jne 0x180137903
jmp 0x180137d3f
xorps xmm0, xmm0
movss dword [rsp + 0x80], xmm0
lea rcx, [rsp + 0x78]
call fcn.180135160
movss dword [rsp + 0x2c], xmm0
mov rax, qword [rsp + 0x128]
mov rax, qword [rax + 0x50]
and rax, 8
test rax, rax
jne 0x180137981
mov rax, qword [rsp + 0x128]
mov rax, qword [rax + 0x50]
and rax, 0x200
test rax, rax
jne 0x180137981
mov rax, qword [rsp + 0x128]
mov rax, qword [rax + 0x50]
and rax, 0x10
test rax, rax
jne 0x180137981
mov rax, qword [rsp + 0x128]
mov rax, qword [rax + 0x50]
and rax, 0x400
test rax, rax
jne 0x180137981
mov dword [rsp + 0x34], 0
jmp 0x180137989
mov dword [rsp + 0x34], 1
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x28], al
mov rax, qword [rsp + 0x128]
mov rax, qword [rax + 0x50]
and rax, 0xfffffffffffdf9e7
mov rcx, qword [rsp + 0x128]
mov qword [rcx + 0x50], rax
mov byte [rsp + 0x29], 1
movabs rdx, 0xcbf29ce484222325
lea rcx, str.sv_accelerate
call fcn.1800fa290
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [0x18049b910]
call fcn.1800fa1c0
movss xmm0, dword [rax + 0x40]
movss dword [rsp + 0x88], xmm0
cvtss2sd xmm0, dword [rsp + 0x44]
mulsd xmm0, qword [0x180329e80]
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x24], xmm0
movss xmm0, dword [rsp + 0x2c]
comiss xmm0, dword [rsp + 0x24]
jbe 0x180137a24
mov dword [rsp + 0x38], 1
jmp 0x180137a2c
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x2a], al
mov rcx, qword [rsp + 0x118]
call fcn.18014a610
mov rcx, qword [rax]
call fcn.18014a4f0
movss xmm0, dword [rax]
movss dword [rsp + 0x8c], xmm0
mov rax, qword [rsp + 0x128]
mov rax, qword [rax + 0x30]
mov rcx, qword [rsp + 0x128]
mov rcx, qword [rcx + 0x30]
movss xmm0, dword [rax + 0x50]
mulss xmm0, dword [rcx + 0x50]
mov rax, qword [rsp + 0x128]
mov rax, qword [rax + 0x30]
mov rcx, qword [rsp + 0x128]
mov rcx, qword [rcx + 0x30]
movss xmm1, dword [rax + 0x54]
mulss xmm1, dword [rcx + 0x54]
addss xmm0, xmm1
call fcn.180132260
movss dword [rsp + 0x90], xmm0
xorps xmm3, xmm3
xorps xmm2, xmm2
xorps xmm1, xmm1
lea rcx, [rsp + 0x60]
call fcn.1801041b0
lea rax, [rsp + 0xe0]
lea rcx, [rsp + 0x78]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0xe0]
call fcn.1801322a0
mov rax, qword [rsp + 0x128]
mov rax, qword [rax + 0x30]
mov rax, qword [rax + 0x40]
movss xmm0, dword [rax + 0x1c]
subss xmm0, dword [rsp + 0x64]
movss dword [rsp + 0x64], xmm0
xorps xmm3, xmm3
xorps xmm2, xmm2
xorps xmm1, xmm1
lea rcx, [rsp + 0xb8]
call fcn.1801041b0
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x60]
call fcn.18013cd40
movss xmm0, dword [rsp + 0x2c]
xorps xmm0, xmmword [0x1802ddad0]
movaps xmm2, xmm0
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0xb8]
call fcn.1801368c0
mov rax, qword [rsp + 0x128]
mov rax, qword [rax + 0x30]
xorps xmm0, xmm0
movss dword [rax + 0x50], xmm0
mov rax, qword [rsp + 0x128]
mov rax, qword [rax + 0x30]
xorps xmm0, xmm0
movss dword [rax + 0x54], xmm0
movss xmm0, dword [rsp + 0x2c]
comiss xmm0, dword [rsp + 0x24]
jbe 0x180137bf0
mov rax, qword [rsp + 0x128]
mov rax, qword [rax + 0x30]
xorps xmm0, xmm0
movss dword [rax + 0x50], xmm0
mov rax, qword [rsp + 0x128]
mov rax, qword [rax + 0x30]
xorps xmm0, xmm0
movss dword [rax + 0x54], xmm0
mov rax, qword [rsp + 0x128]
mov rax, qword [rax + 0x30]
movss xmm0, dword [rsp + 0xc8]
movss dword [rax + 0x50], xmm0
mov rax, qword [rsp + 0x128]
mov rax, qword [rax + 0x30]
movss xmm0, dword [rsp + 0xcc]
movss dword [rax + 0x54], xmm0
jmp 0x180137d3f
mov rax, qword [rsp + 0x128]
mov rax, qword [rax + 0x30]
movss xmm0, dword [rax + 0x54]
movss dword [rsp + 0x48], xmm0
mov rax, qword [rsp + 0x128]
mov rax, qword [rax + 0x30]
movss xmm0, dword [rax + 0x50]
movss dword [rsp + 0x4c], xmm0
mov rax, qword [rsp + 0x128]
mov rax, qword [rax + 0x30]
movss xmm0, dword [rax + 0x58]
movss dword [rsp + 0x50], xmm0
mov edx, 2
movss xmm0, dword [rsp + 0x48]
call fcn.180142540
movsd qword [rsp + 0xa8], xmm0
mov edx, 2
movss xmm0, dword [rsp + 0x4c]
call fcn.180142540
movsd xmm1, qword [rsp + 0xa8]
addsd xmm1, xmm0
movaps xmm0, xmm1
movsd qword [rsp + 0xb0], xmm0
mov edx, 2
movss xmm0, dword [rsp + 0x50]
call fcn.180142540
movsd xmm1, qword [rsp + 0xb0]
addsd xmm1, xmm0
movaps xmm0, xmm1
call fcn.180294ab0
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x3c], xmm0
movss xmm0, dword [rsp + 0x3c]
comiss xmm0, dword [rsp + 0x24]
jbe 0x180137d17
movss xmm0, dword [rsp + 0x24]
divss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0x40], xmm0
mov rax, qword [rsp + 0x128]
mov rax, qword [rax + 0x30]
movss xmm0, dword [rax + 0x50]
mulss xmm0, dword [rsp + 0x40]
mov rax, qword [rsp + 0x128]
mov rax, qword [rax + 0x30]
movss dword [rax + 0x50], xmm0
mov rax, qword [rsp + 0x128]
mov rax, qword [rax + 0x30]
movss xmm0, dword [rax + 0x54]
mulss xmm0, dword [rsp + 0x40]
mov rax, qword [rsp + 0x128]
mov rax, qword [rax + 0x30]
movss dword [rax + 0x54], xmm0
jmp 0x180137d3f
mov rax, qword [rsp + 0x128]
mov rax, qword [rax + 0x30]
xorps xmm0, xmm0
movss dword [rax + 0x50], xmm0
mov rax, qword [rsp + 0x128]
mov rax, qword [rax + 0x30]
xorps xmm0, xmm0
movss dword [rax + 0x54], xmm0
add rsp, 0xf8
pop rdi
pop rsi
ret