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

Disassembly:
mov dword [rsp + 0x20], r9d
mov word [rsp + 0x18], r8w
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x1b8
mov qword [rsp + 0x140], 0xfffffffffffffffe
mov rax, qword [0x1403e13c0]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov dword [rsp + 0x4c], 1
mov rax, qword [rsp + 0x1c0]
movzx ecx, word [rsp + 0x1d0]
mov word [rax + 0x24], cx
mov rax, qword [rsp + 0x1c0]
mov ecx, dword [rsp + 0x1e0]
mov dword [rax + 0x30], ecx
mov rax, qword [rsp + 0x1c0]
mov ecx, dword [rsp + 0x1e8]
mov dword [rax + 0x34], ecx
mov rax, qword [rsp + 0x1c0]
mov ecx, dword [rsp + 0x1f0]
mov dword [rax + 0x38], ecx
mov rax, qword [rsp + 0x1c0]
mov ecx, dword [rsp + 0x1f8]
mov dword [rax + 0x3c], ecx
mov rax, qword [rsp + 0x1c0]
mov eax, dword [rax + 0x40]
add eax, dword [rsp + 0x200]
mov rcx, qword [rsp + 0x1c0]
mov dword [rcx + 0x40], eax
mov rax, qword [rsp + 0x1c0]
movzx eax, word [rax + 0x24]
cmp eax, 0xa0a0
jle 0x140002d89
mov rax, qword [rsp + 0x1c0]
movzx eax, word [rax + 0x24]
cmp eax, 0xf0f0
jl 0x140002d93
mov eax, 1
jmp 0x140003345
lea rcx, [rsp + 0x90]
call fcn.14000272c
nop
mov eax, dword [rsp + 0x1d8]
mov dword [rsp + 0x80], eax
mov dword [rsp + 0x6c], 0
mov dword [rsp + 0x20], 1
mov r9d, dword [rsp + 0x6c]
mov r8d, dword [rsp + 0x80]
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x1c0]
call fcn.14000339c
test eax, eax
jne 0x140002e03
mov dword [rsp + 0x68], 0
lea rcx, [rsp + 0x90]
call fcn.140002944
mov eax, dword [rsp + 0x68]
jmp 0x140003345
mov rax, qword [rsp + 0x1c8]
mov rax, qword [rax]
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x1c8]
call qword [rax + 0x50]
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0
jne 0x140002e52
mov dword [rsp + 0x7c], 0
lea rcx, [rsp + 0x90]
call fcn.140002944
mov eax, dword [rsp + 0x7c]
jmp 0x140003345
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x5c], 0
lea rdx, [rsp + 0x160]
mov rcx, qword [rsp + 0x1c8]
call fcn.14000381c
movsx eax, word [rsp + 0x160]
mov rcx, qword [rsp + 0x1c0]
mov dword [rcx + 0x2c], eax
movsx eax, word [rsp + 0x164]
mov rcx, qword [rsp + 0x1c0]
mov dword [rcx + 0x20], eax
mov rax, qword [rsp + 0x1c0]
movzx eax, word [rax + 0x24]
mov rcx, qword [rsp + 0x1c0]
movzx ecx, word [rcx + 0x24]
lea r9, [rsp + 0x150]
mov r8d, eax
mov edx, ecx
mov rcx, qword [rsp + 0x1c8]
call fcn.140003798
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 1
jne 0x140003161
mov eax, dword [rsp + 0x154]
mov ecx, dword [rsp + 0x150]
add ecx, eax
mov eax, ecx
add eax, dword [rsp + 0x158]
mov rcx, qword [rsp + 0x1c0]
mov dword [rcx + 0x28], eax
mov dword [rsp + 0x50], 0
mov rax, qword [rsp + 0x1c8]
mov rax, qword [rax]
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x1c8]
call qword [rax + 0x58]
mov dword [rsp + 0x50], 0xff
lea rcx, [rsp + 0xe0]
call fcn.140002894
mov qword [rsp + 0x148], rax
mov r9d, dword [rsp + 0x50]
mov r8d, 1
mov edx, 2
lea rcx, [rsp + 0xe0]
call fcn.140003360
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x1c8]
call fcn.1400094e4
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x1c0]
cvtsi2ss xmm0, dword [rax + 0x1c]
mov rax, qword [rsp + 0x1c0]
mulss xmm0, dword [rax + 0x18]
cvttss2si eax, xmm0
sub eax, 0x14
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x1c0]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x1c0]
mov r9d, dword [rax + 0x14]
mov r8d, dword [rsp + 0x54]
lea rdx, [rsp + 0x130]
mov rcx, qword [rsp + 0x1c8]
call fcn.140008ffc
mov r8d, dword [rsp + 0x40]
mov edx, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x1c8]
call fcn.140008fac
cvtsi2ss xmm0, dword [rsp + 0x150]
mov rax, qword [rsp + 0x1c0]
mulss xmm0, dword [rax + 0x18]
cvtsi2ss xmm1, dword [rsp + 0x54]
addss xmm1, xmm0
movaps xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x1c0]
mov r9d, dword [rax + 0x14]
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x108]
mov rcx, qword [rsp + 0x1c8]
call fcn.140008ffc
mov r8d, dword [rsp + 0x40]
mov edx, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x1c8]
call fcn.140008fac
mov eax, dword [rsp + 0x154]
cvtsi2ss xmm0, rax
mov rax, qword [rsp + 0x1c0]
mulss xmm0, dword [rax + 0x18]
cvtsi2ss xmm1, dword [rsp + 0x44]
addss xmm1, xmm0
movaps xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x1c0]
mov r9d, dword [rax + 0x14]
mov r8d, dword [rsp + 0x48]
lea rdx, [rsp + 0x120]
mov rcx, qword [rsp + 0x1c8]
call fcn.140008ffc
mov r8d, dword [rsp + 0x40]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x1c8]
call fcn.140008fac
cvtsi2ss xmm0, dword [rsp + 0x158]
mov rax, qword [rsp + 0x1c0]
mulss xmm0, dword [rax + 0x18]
cvtsi2ss xmm1, dword [rsp + 0x48]
addss xmm1, xmm0
movaps xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x1c0]
mov r9d, dword [rax + 0x14]
mov r8d, dword [rsp + 0x58]
lea rdx, [rsp + 0x128]
mov rcx, qword [rsp + 0x1c8]
call fcn.140008ffc
mov r8d, dword [rsp + 0x40]
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x1c8]
call fcn.140008fac
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x5c], eax
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x1c8]
call fcn.1400094e4
nop
lea rcx, [rsp + 0xe0]
call fcn.140002a1c
jmp 0x140003177
mov rax, qword [rsp + 0x1c0]
mov rcx, qword [rsp + 0x1c0]
mov ecx, dword [rcx + 0x1c]
mov dword [rax + 0x28], ecx
mov ecx, 0x58
call fcn.140002a44
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xb0], 0
je 0x1400031d3
mov rdx, qword [rsp + 0x1c8]
mov rcx, qword [rsp + 0xb0]
call fcn.1400022b0
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xa8], rax
jmp 0x1400031df
mov qword [rsp + 0xa8], 0
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x1c0]
movzx r8d, word [rax + 0x24]
mov rdx, qword [rsp + 0x1c8]
mov rcx, qword [rsp + 0x60]
call fcn.1400044ec
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0
jne 0x14000322b
call fcn.140009b84
mov rax, qword [rsp + 0x1c0]
mov ecx, dword [rsp + 0x5c]
mov dword [rax + 0x10], ecx
lea rax, [rsp + 0x138]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x1c0]
mov rdx, qword [rax + 0x10]
mov rcx, qword [rsp + 0xc0]
call fcn.1400028c0
mov ecx, dword [rsp + 0x1f8]
mov dword [rsp + 0x30], ecx
mov ecx, dword [rsp + 0x1f0]
mov dword [rsp + 0x28], ecx
mov ecx, dword [rsp + 0x1e8]
mov dword [rsp + 0x20], ecx
mov r9d, dword [rsp + 0x1e0]
mov rcx, qword [rsp + 0x1c0]
movss xmm2, dword [rcx + 0x18]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x60]
call fcn.1400023f8
nop
jmp 0x1400032ab
jmp 0x1400032ad
mov rax, qword [rsp + 0x1c8]
mov rax, qword [rax]
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x1c8]
call qword [rax + 0x50]
cmp qword [rsp + 0x60], 0
je 0x14000332c
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
je 0x140003320
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
mov edx, 1
mov rcx, qword [rsp + 0x88]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rsp + 0xd8], rax
jmp 0x14000332c
mov qword [rsp + 0xd8], 0
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x74], eax
lea rcx, [rsp + 0x90]
call fcn.140002944
mov eax, dword [rsp + 0x74]
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140190610
add rsp, 0x1b8
ret