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

Disassembly:
sub rsp, 0x118
mov rax, qword [0x140109cc0]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
add rax, 8
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov byte [rax + 0xd3], 0
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
and eax, 2
test eax, eax
je 0x140039ce1
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 4]
and eax, 1
test eax, eax
je 0x140039ce1
mov byte [rsp + 0x3b], 1
jmp 0x140039ce6
mov byte [rsp + 0x3b], 0
movzx eax, byte [rsp + 0x3b]
mov byte [rsp + 0x38], al
mov dword [rsp + 0xd0], 0x26c
mov dword [rsp + 0xd4], 0x26b
mov dword [rsp + 0xd8], 0x26d
mov dword [rsp + 0xdc], 0x26e
mov dword [rsp + 0xe0], 0x270
mov dword [rsp + 0xe4], 0x26f
mov dword [rsp + 0xe8], 0x271
mov dword [rsp + 0xec], 0x272
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x140039de5
lea rax, [rsp + 0xd0]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xa0]
add rax, 0x20
mov qword [rsp + 0xf0], rax
jmp 0x140039d9e
mov rax, qword [rsp + 0x80]
add rax, 4
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xf0]
cmp qword [rsp + 0x80], rax
je 0x140039de5
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
mov dword [rsp + 0x9c], eax
mov ecx, dword [rsp + 0x9c]
call fcn.1400309f0
movzx eax, al
test eax, eax
je 0x140039de3
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x4904], 3
jmp 0x140039d8a
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x140039dfa
mov byte [rsp + 0x3c], 1
jmp 0x140039dff
mov byte [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x39], al
mov dword [rsp + 0xb0], 0x20c
mov dword [rsp + 0xb4], 0x20d
mov dword [rsp + 0xb8], 0x20e
mov dword [rsp + 0xbc], 0x202
mov dword [rsp + 0xc0], 0x201
mov dword [rsp + 0xc4], 0x203
mov dword [rsp + 0xc8], 0x204
movzx eax, byte [rsp + 0x39]
test eax, eax
je 0x140039ef3
lea rax, [rsp + 0xb0]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xa8]
add rax, 0x1c
mov qword [rsp + 0xf8], rax
jmp 0x140039eac
mov rax, qword [rsp + 0x88]
add rax, 4
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xf8]
cmp qword [rsp + 0x88], rax
je 0x140039ef3
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
mov dword [rsp + 0x98], eax
mov ecx, dword [rsp + 0x98]
call fcn.1400309f0
movzx eax, al
test eax, eax
je 0x140039ef1
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x4904], 2
jmp 0x140039e98
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x4914], 0
je 0x140039f06
call fcn.14003a880
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x4911], 0
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x4912], 0
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x4914], 0
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x48f0], 0
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x4928]
test eax, eax
je 0x140039f51
call fcn.14003b5d0
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x496c], 0
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x4929], 0
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x4928], 0
mov byte [rsp + 0x3a], 0
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x490d]
test eax, eax
je 0x140039fd1
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x490c]
test eax, eax
je 0x140039fd1
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x490e]
test eax, eax
jne 0x140039fd1
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x490f]
test eax, eax
je 0x140039fd1
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x48d0], 0
je 0x140039fd1
mov byte [rsp + 0x3a], 1
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x490d], 0
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x48d0], 0
je 0x140039ffd
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x48d0]
call fcn.140039420
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x48d0], 0
je 0x14003a047
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x48d0]
cmp qword [rax + 0x398], 0
je 0x14003a047
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x4908], 0
jne 0x14003a047
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x48d0]
mov qword [rax + 0x398], 0
call fcn.14003c6c0
movzx eax, byte [rsp + 0x39]
test eax, eax
jne 0x14003a05e
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x14003a08f
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x48d0], 0
je 0x14003a08f
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x48d0]
mov eax, dword [rax + 0x14]
and eax, 0x40000
test eax, eax
jne 0x14003a08f
mov dword [rsp + 0x74], 1
jmp 0x14003a097
mov dword [rsp + 0x74], 0
mov rax, qword [rsp + 0x50]
movzx ecx, byte [rsp + 0x74]
mov byte [rax + 0xd5], cl
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0xd5]
test eax, eax
je 0x14003a0d5
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x48d8], 0
je 0x14003a0d5
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x490e]
test eax, eax
je 0x14003a0ee
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x4a38], 0
jne 0x14003a0ee
mov dword [rsp + 0x78], 0
jmp 0x14003a0f6
mov dword [rsp + 0x78], 1
mov rax, qword [rsp + 0x50]
movzx ecx, byte [rsp + 0x78]
mov byte [rax + 0xd6], cl
call fcn.14003ba80
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x48e8], 0
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x48e4], 0
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x48e0], 0
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x48ec], 0
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x48d8], 0
je 0x14003a419
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x490e]
test eax, eax
jne 0x14003a419
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x4a38], 0
jne 0x14003a419
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x48d0], 0
je 0x14003a419
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x48d0]
mov eax, dword [rax + 0x14]
and eax, 0x40000
test eax, eax
jne 0x14003a419
movzx eax, byte [rsp + 0x39]
test eax, eax
je 0x14003a1c9
mov ecx, 0x20c
call fcn.1400309f0
movzx eax, al
test eax, eax
jne 0x14003a1ea
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x14003a1e3
mov ecx, 0x26e
call fcn.1400309f0
movzx eax, al
test eax, eax
jne 0x14003a1ea
mov byte [rsp + 0x3d], 0
jmp 0x14003a1ef
mov byte [rsp + 0x3d], 1
movzx eax, byte [rsp + 0x3d]
mov byte [rsp + 0x41], al
movzx eax, byte [rsp + 0x41]
test eax, eax
je 0x14003a240
movzx eax, byte [rsp + 0x39]
test eax, eax
je 0x14003a21d
xor edx, edx
mov ecx, 0x20c
call fcn.140030a60
movzx eax, al
test eax, eax
jne 0x14003a239
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x14003a240
xor edx, edx
mov ecx, 0x26e
call fcn.140030a60
movzx eax, al
test eax, eax
je 0x14003a240
mov byte [rsp + 0x3e], 1
jmp 0x14003a245
mov byte [rsp + 0x3e], 0
movzx eax, byte [rsp + 0x3e]
mov byte [rsp + 0x43], al
movzx eax, byte [rsp + 0x39]
test eax, eax
je 0x14003a268
mov ecx, 0x20d
call fcn.1400309f0
movzx eax, al
test eax, eax
jne 0x14003a289
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x14003a282
mov ecx, 0x26d
call fcn.1400309f0
movzx eax, al
test eax, eax
jne 0x14003a289
mov byte [rsp + 0x3f], 0
jmp 0x14003a28e
mov byte [rsp + 0x3f], 1
movzx eax, byte [rsp + 0x3f]
mov byte [rsp + 0x42], al
movzx eax, byte [rsp + 0x42]
test eax, eax
je 0x14003a2df
movzx eax, byte [rsp + 0x39]
test eax, eax
je 0x14003a2bc
xor edx, edx
mov ecx, 0x20d
call fcn.140030a60
movzx eax, al
test eax, eax
jne 0x14003a2d8
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x14003a2df
xor edx, edx
mov ecx, 0x26d
call fcn.140030a60
movzx eax, al
test eax, eax
je 0x14003a2df
mov byte [rsp + 0x40], 1
jmp 0x14003a2e4
mov byte [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x44], al
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x3f50], 0
jne 0x14003a329
movzx eax, byte [rsp + 0x43]
test eax, eax
je 0x14003a329
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x48d8]
mov dword [rax + 0x48e0], ecx
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x48ec], 2
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x3f50], 0
je 0x14003a34f
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x48d8]
cmp dword [rax + 0x3f50], ecx
jne 0x14003a37d
movzx eax, byte [rsp + 0x44]
test eax, eax
je 0x14003a37d
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x48d8]
mov dword [rax + 0x48e0], ecx
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x48ec], 1
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x3f50], 0
je 0x14003a3a3
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x48d8]
cmp dword [rax + 0x3f50], ecx
jne 0x14003a3cb
movzx eax, byte [rsp + 0x41]
test eax, eax
jne 0x14003a3b5
movzx eax, byte [rsp + 0x42]
test eax, eax
je 0x14003a3cb
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x48d8]
mov dword [rax + 0x48e4], ecx
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x3f50], 0
je 0x14003a3f1
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x48d8]
cmp dword [rax + 0x3f50], ecx
jne 0x14003a419
movzx eax, byte [rsp + 0x43]
test eax, eax
jne 0x14003a403
movzx eax, byte [rsp + 0x44]
test eax, eax
je 0x14003a419
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x48d8]
mov dword [rax + 0x48e8], ecx
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x48d0], 0
je 0x14003a44c
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x48d0]
mov eax, dword [rax + 0x14]
and eax, 0x40000
test eax, eax
je 0x14003a44c
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x490e], 1
mov rax, qword [rsp + 0x30]
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x48fc], 0
je 0x14003a4b7
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x48fc]
mov dword [rax + 0x48e8], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x48e8]
mov dword [rax + 0x48e4], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x48e4]
mov dword [rax + 0x48e0], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x4900]
mov dword [rax + 0x48ec], ecx
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x48fc], 0
call fcn.14003a950
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x4938], 0xffffffff
jne 0x14003a4de
call fcn.14003b3c0
call fcn.140039630
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x490c], 0
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x48d0], 0
je 0x14003a7c9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x48d0]
mov eax, dword [rax + 0x14]
and eax, 0x40000
test eax, eax
jne 0x14003a7c9
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x4a38], 0
jne 0x14003a7c9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x48d0]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.14001ac60
mulss xmm0, dword [0x1400d8064]
mov rax, qword [rsp + 0x50]
mulss xmm0, dword [rax + 0x10]
addss xmm0, dword [0x1400d7f04]
cvttss2si eax, xmm0
cvtsi2ss xmm0, eax
movss dword [rsp + 0x60], xmm0
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x4938]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x58]
movsx eax, word [rax + 0x15c]
test eax, eax
jne 0x14003a680
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0x161]
test eax, eax
je 0x14003a680
cmp dword [rsp + 0x48], 0xffffffff
je 0x14003a680
cmp dword [rsp + 0x48], 0
je 0x14003a5c4
cmp dword [rsp + 0x48], 1
jne 0x14003a61b
cmp dword [rsp + 0x48], 0
jne 0x14003a5db
movss xmm0, dword [0x1400d80f0]
movss dword [rsp + 0x7c], xmm0
jmp 0x14003a5e9
movss xmm0, dword [0x1400d7f6c]
movss dword [rsp + 0x7c], xmm0
movss xmm0, dword [rsp + 0x7c]
mulss xmm0, dword [rsp + 0x60]
mov rax, qword [rsp + 0x58]
movss xmm1, dword [rax + 0x84]
addss xmm1, xmm0
movaps xmm0, xmm1
call fcn.1400183b0
movaps xmm1, xmm0
mov rcx, qword [rsp + 0x58]
call fcn.1400362e0
cmp dword [rsp + 0x48], 2
je 0x14003a629
cmp dword [rsp + 0x48], 3
jne 0x14003a680
cmp dword [rsp + 0x48], 2
jne 0x14003a640
movss xmm0, dword [0x1400d80f0]
movss dword [rsp + 0x64], xmm0
jmp 0x14003a64e
movss xmm0, dword [0x1400d7f6c]
movss dword [rsp + 0x64], xmm0
movss xmm0, dword [rsp + 0x64]
mulss xmm0, dword [rsp + 0x60]
mov rax, qword [rsp + 0x58]
movss xmm1, dword [rax + 0x88]
addss xmm1, xmm0
movaps xmm0, xmm1
call fcn.1400183b0
movaps xmm1, xmm0
mov rcx, qword [rsp + 0x58]
call fcn.140036320
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x14003a7c9
mov dword [rsp + 0x20], 0x27c
mov r9d, 0x27b
mov r8d, 0x27a
mov edx, 0x279
lea rcx, [rsp + 0x90]
call fcn.1400302e0
mov ecx, 0x273
call fcn.1400309f0
movzx eax, al
test eax, eax
je 0x14003a6d4
movss xmm0, dword [0x1400d7ea0]
movss dword [rsp + 0x6c], xmm0
jmp 0x14003a70f
mov ecx, 0x274
call fcn.1400309f0
movzx eax, al
test eax, eax
je 0x14003a6f5
movss xmm0, dword [0x1400d7fe4]
movss dword [rsp + 0x68], xmm0
jmp 0x14003a703
movss xmm0, dword [0x1400d7f6c]
movss dword [rsp + 0x68], xmm0
movss xmm0, dword [rsp + 0x68]
movss dword [rsp + 0x6c], xmm0
movss xmm0, dword [rsp + 0x6c]
movss dword [rsp + 0x70], xmm0
movss xmm0, dword [rsp + 0x90]
ucomiss xmm0, dword [0x1400d7e40]
jp 0x14003a72f
je 0x14003a77a
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0xb4]
test eax, eax
je 0x14003a77a
movss xmm0, dword [rsp + 0x90]
mulss xmm0, dword [rsp + 0x60]
mulss xmm0, dword [rsp + 0x70]
mov rax, qword [rsp + 0x58]
movss xmm1, dword [rax + 0x84]
addss xmm1, xmm0
movaps xmm0, xmm1
call fcn.1400183b0
movaps xmm1, xmm0
mov rcx, qword [rsp + 0x58]
call fcn.1400362e0
movss xmm0, dword [rsp + 0x94]
ucomiss xmm0, dword [0x1400d7e40]
jp 0x14003a78e
je 0x14003a7c9
movss xmm0, dword [rsp + 0x94]
mulss xmm0, dword [rsp + 0x60]
mulss xmm0, dword [rsp + 0x70]
mov rax, qword [rsp + 0x58]
movss xmm1, dword [rax + 0x88]
addss xmm1, xmm0
movaps xmm0, xmm1
call fcn.1400183b0
movaps xmm1, xmm0
mov rcx, qword [rsp + 0x58]
call fcn.140036320
movzx eax, byte [rsp + 0x39]
test eax, eax
jne 0x14003a7fc
movzx eax, byte [rsp + 0x38]
test eax, eax
jne 0x14003a7fc
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x490e], 1
mov byte [rsp + 0x3a], 0
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rsp + 0x3a]
mov byte [rax + 0x490f], cl
movzx eax, byte [rsp + 0x3a]
test eax, eax
je 0x14003a862
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
and eax, 4
test eax, eax
je 0x14003a862
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 4]
and eax, 4
test eax, eax
je 0x14003a862
lea rcx, [rsp + 0x100]
call fcn.140039880
mov rax, qword [rax]
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 0x36e4], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x36e4]
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 0xe00], rax
mov rax, qword [rsp + 0x50]
mov byte [rax + 0xd3], 1
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x4964], 0
add rsp, 0x118
ret