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

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x238
mov rax, qword [0x140147340]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov rax, qword [rsp + 0x250]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x3ef8]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x250]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x4b58]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x14004ca06
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0x223]
test eax, eax
je 0x14004ca06
mov rcx, qword [rsp + 0x60]
call fcn.14009ab50
nop
mov rax, qword [rsp + 0x250]
cmp dword [rax + 0x10], 0
je 0x14004ca20
call fcn.14004c0d0
movzx eax, al
test eax, eax
je 0x14004ca27
xor al, al
jmp 0x14004d46a
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0xc], 0
jne 0x14004cab9
cmp qword [rsp + 0x60], 0
je 0x14004cab9
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0x22d]
test eax, eax
jne 0x14004cab9
mov rax, qword [rsp + 0x250]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x10]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x10]
inc eax
mov rcx, qword [rsp + 0x250]
mov edx, dword [rcx + 0x10]
mov ecx, eax
call fcn.1400737a0
mov rcx, qword [rsp + 0x250]
mov dword [rcx + 0xc], eax
mov rax, qword [rsp + 0x250]
mov rcx, qword [rsp + 0x250]
mov ecx, dword [rcx + 0xc]
cmp dword [rax + 8], ecx
jge 0x14004cab2
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x10]
inc eax
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x10], eax
mov al, 1
jmp 0x14004d46a
mov byte [rsp + 0x39], 0
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0xc], 0
jne 0x14004cc12
mov rax, qword [rsp + 0x250]
mov rcx, qword [rsp + 0x50]
vmovss xmm0, dword [rcx + 0x104]
vmovss dword [rax + 0x18], xmm0
mov rax, qword [rsp + 0x250]
vxorps xmm0, xmm0, xmm0
vcomiss xmm0, dword [rax + 0x14]
jb 0x14004cc0d
mov rax, qword [rsp + 0x30]
add rax, 0x18
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x10]
inc eax
mov r8d, eax
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x10]
lea rcx, [rsp + 0x1b0]
call fcn.140045740
lea rcx, [rsp + 0x150]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x150]
mov rcx, qword [rsp + 0xb8]
call fcn.140072430
nop
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x74], eax
mov rax, qword [rsp + 0x30]
add rax, 0x18
mov qword [rsp + 0xc0], rax
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call fcn.1400724d0
mov eax, dword [rax]
mov dword [rsp + 0x78], eax
mov edx, dword [rsp + 0x74]
mov ecx, dword [rsp + 0x78]
call fcn.140073890
mov rcx, qword [rsp + 0x250]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x250]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x7c], eax
mov rax, qword [rsp + 0x30]
add rax, 0x18
mov qword [rsp + 0xc8], rax
xor edx, edx
mov rcx, qword [rsp + 0xc8]
call fcn.1400724d0
mov eax, dword [rax + 4]
mov dword [rsp + 0x80], eax
mov edx, dword [rsp + 0x7c]
mov ecx, dword [rsp + 0x80]
call fcn.1400737a0
mov rcx, qword [rsp + 0x250]
mov dword [rcx + 0xc], eax
mov rax, qword [rsp + 0x30]
mov dword [rax + 0xc], 1
mov al, 1
jmp 0x14004d46a
mov byte [rsp + 0x39], 1
mov rax, qword [rsp + 0x250]
vxorps xmm0, xmm0, xmm0
vcomiss xmm0, dword [rax + 0x14]
jb 0x14004ccf2
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x250]
vmovss xmm0, dword [rax + 0x104]
vsubss xmm0, xmm0, dword [rcx + 0x18]
mov rax, qword [rsp + 0x250]
mov rcx, qword [rsp + 0x250]
mov ecx, dword [rcx + 8]
mov eax, dword [rax + 0xc]
sub eax, ecx
vcvtsi2ss xmm1, xmm1, eax
vdivss xmm0, xmm0, xmm1
mov rax, qword [rsp + 0x250]
vmovss dword [rax + 0x14], xmm0
mov rax, qword [rsp + 0x250]
vmovss xmm0, dword [rax + 0x18]
call fcn.140044710
movzx eax, al
test eax, eax
jne 0x14004ccac
mov rax, qword [rsp + 0x50]
vmovss xmm0, dword [rax + 0x104]
call fcn.140044710
movzx eax, al
test eax, eax
jne 0x14004ccac
mov dword [rsp + 0x68], 0
jmp 0x14004ccb4
mov dword [rsp + 0x68], 1
movzx eax, byte [rsp + 0x68]
mov byte [rsp + 0x41], al
movzx eax, byte [rsp + 0x41]
test eax, eax
je 0x14004cced
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
vmovss xmm0, dword [rax + 0x134]
vaddss xmm0, xmm0, dword [rcx + 0x3820]
mov rax, qword [rsp + 0x250]
vmovss dword [rax + 0x14], xmm0
mov byte [rsp + 0x39], 1
mov rax, qword [rsp + 0x250]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x58], eax
movzx eax, byte [rsp + 0x39]
test eax, eax
je 0x14004d34c
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x5ca0]
test eax, eax
je 0x14004cd7a
mov rax, qword [rsp + 0x30]
add rax, 0x18
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x250]
mov r8d, dword [rax + 0x10]
xor edx, edx
lea rcx, [rsp + 0x1c0]
call fcn.140045740
lea rcx, [rsp + 0x160]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x160]
mov rcx, qword [rsp + 0xd0]
call fcn.140071a90
nop
jmp 0x14004d07d
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x4951]
test eax, eax
je 0x14004cdc1
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x48d8], 0
je 0x14004cdc1
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x48d8]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x390]
cmp qword [rax + 0x390], rcx
jne 0x14004cdc1
mov byte [rsp + 0x40], 1
jmp 0x14004cdc6
mov byte [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x38], al
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x14004ce46
mov rax, qword [rsp + 0x30]
add rax, 0x18
mov qword [rsp + 0xd8], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov rax, qword [rsp + 0x48]
vmovss xmm2, dword [rax + 0x4988]
mov rax, qword [rsp + 0x48]
vmovss xmm1, dword [rax + 0x4980]
lea rcx, [rsp + 0x1d0]
call fcn.140045790
lea rcx, [rsp + 0x170]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x170]
mov rcx, qword [rsp + 0xd8]
call fcn.140071a90
nop
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x14004ced9
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x4954]
and eax, 0x400
test eax, eax
je 0x14004ced9
mov rax, qword [rsp + 0x48]
cmp dword [rax + 0x4990], 0xffffffff
jne 0x14004ced9
mov rax, qword [rsp + 0x30]
add rax, 0x18
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x250]
mov eax, dword [rax + 0x10]
dec eax
mov rcx, qword [rsp + 0x250]
mov r8d, dword [rcx + 0x10]
mov edx, eax
lea rcx, [rsp + 0x1e0]
call fcn.140045740
lea rcx, [rsp + 0x180]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x180]
mov rcx, qword [rsp + 0xe0]
call fcn.140071a90
nop
mov eax, 0x10
imul rax, rax, 0
mov rcx, qword [rsp + 0x50]
lea rax, [rcx + rax + 0x3a8]
mov r8, rax
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x210]
call fcn.1400477f0
nop
mov rax, qword [rsp + 0x48]
cmp dword [rax + 0x48e0], 0
je 0x14004cf9f
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov edx, dword [rdx + 0x48e0]
cmp dword [rcx + rax + 0x3a0], edx
jne 0x14004cf9f
mov rax, qword [rsp + 0x30]
add rax, 0x18
mov qword [rsp + 0xe8], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
vmovss xmm2, dword [rsp + 0x21c]
vmovss xmm1, dword [rsp + 0x214]
lea rcx, [rsp + 0x1f0]
call fcn.140045790
lea rcx, [rsp + 0x190]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x190]
mov rcx, qword [rsp + 0xe8]
call fcn.140071a90
nop
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x14004cfc0
mov rax, qword [rsp + 0x48]
cmp dword [rax + 0x4968], 2
jne 0x14004cfc0
mov dword [rsp + 0x6c], 0xffffffff
jmp 0x14004cfc8
mov dword [rsp + 0x6c], 0
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x88], eax
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x14004cff4
mov rax, qword [rsp + 0x48]
cmp dword [rax + 0x4968], 3
jne 0x14004cff4
mov dword [rsp + 0x70], 1
jmp 0x14004cffc
mov dword [rsp + 0x70], 0
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x84], eax
mov rax, qword [rsp + 0x30]
add rax, 0x18
mov qword [rsp + 0xf0], rax
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x88]
mov rax, qword [rsp + 0x50]
vmovss xmm2, dword [rax + 0x244]
mov rax, qword [rsp + 0x50]
vmovss xmm1, dword [rax + 0x23c]
lea rcx, [rsp + 0x200]
call fcn.140045790
lea rcx, [rsp + 0x1a0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x1a0]
mov rcx, qword [rsp + 0xf0]
call fcn.140071a90
nop
mov dword [rsp + 0x3c], 0
jmp 0x14004d091
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x3c], eax
jge 0x14004d332
mov rax, qword [rsp + 0x30]
add rax, 0x18
mov qword [rsp + 0xf8], rax
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0xf8]
call fcn.1400724d0
movzx eax, byte [rax + 8]
test eax, eax
je 0x14004d32d
mov rax, qword [rsp + 0x30]
add rax, 0x18
mov qword [rsp + 0x100], rax
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x100]
call fcn.1400724d0
vcvtsi2sd xmm0, xmm0, dword [rax]
mov rax, qword [rsp + 0x50]
vcvtss2sd xmm1, xmm1, dword [rax + 0x104]
vsubsd xmm0, xmm0, xmm1
mov rax, qword [rsp + 0x30]
vcvtss2sd xmm1, xmm1, dword [rax + 8]
vsubsd xmm0, xmm0, xmm1
mov rax, qword [rsp + 0x250]
vcvtss2sd xmm1, xmm1, dword [rax + 0x14]
vdivsd xmm0, xmm0, xmm1
vcvttsd2si eax, xmm0
mov dword [rsp + 0x8c], eax
mov rax, qword [rsp + 0x30]
add rax, 0x18
mov qword [rsp + 0x108], rax
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x108]
call fcn.1400724d0
vcvtsi2sd xmm0, xmm0, dword [rax + 4]
mov rax, qword [rsp + 0x50]
vcvtss2sd xmm1, xmm1, dword [rax + 0x104]
vsubsd xmm0, xmm0, xmm1
mov rax, qword [rsp + 0x30]
vcvtss2sd xmm1, xmm1, dword [rax + 8]
vsubsd xmm0, xmm0, xmm1
mov rax, qword [rsp + 0x250]
vcvtss2sd xmm1, xmm1, dword [rax + 0x14]
vdivsd xmm0, xmm0, xmm1
vaddsd xmm0, xmm0, qword [0x140135540]
vcvttsd2si eax, xmm0
mov dword [rsp + 0x9c], eax
mov rax, qword [rsp + 0x250]
mov eax, dword [rax + 0x10]
dec eax
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0x30]
add rax, 0x18
mov qword [rsp + 0x110], rax
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x110]
call fcn.1400724d0
movsx eax, byte [rax + 9]
mov ecx, dword [rsp + 0x8c]
mov edx, dword [rsp + 0x58]
add edx, ecx
mov ecx, edx
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x94], eax
mov r8d, dword [rsp + 0x90]
mov edx, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x94]
call fcn.1400738c0
mov dword [rsp + 0x98], eax
mov rax, qword [rsp + 0x30]
add rax, 0x18
mov qword [rsp + 0x118], rax
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x118]
call fcn.1400724d0
mov ecx, dword [rsp + 0x98]
mov dword [rax], ecx
mov rax, qword [rsp + 0x250]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0x30]
add rax, 0x18
mov qword [rsp + 0x120], rax
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x120]
call fcn.1400724d0
mov eax, dword [rax]
inc eax
mov dword [rsp + 0xa4], eax
mov rax, qword [rsp + 0x30]
add rax, 0x18
mov qword [rsp + 0x128], rax
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x128]
call fcn.1400724d0
movsx eax, byte [rax + 0xa]
mov ecx, dword [rsp + 0x9c]
mov edx, dword [rsp + 0x58]
add edx, ecx
mov ecx, edx
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xa8], eax
mov r8d, dword [rsp + 0xa0]
mov edx, dword [rsp + 0xa4]
mov ecx, dword [rsp + 0xa8]
call fcn.1400738c0
mov dword [rsp + 0xac], eax
mov rax, qword [rsp + 0x30]
add rax, 0x18
mov qword [rsp + 0x130], rax
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x130]
call fcn.1400724d0
mov ecx, dword [rsp + 0xac]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 0x30]
add rax, 0x18
mov qword [rsp + 0x138], rax
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x138]
call fcn.1400724d0
mov byte [rax + 8], 0
jmp 0x14004d087
mov rax, qword [rsp + 0x30]
add rax, 0x18
mov rcx, qword [rsp + 0x30]
mov edx, dword [rcx + 0xc]
mov rcx, rax
call fcn.14004c130
nop
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x18]
cmp dword [rax + 0xc], ecx
jge 0x14004d43e
mov rax, qword [rsp + 0x30]
add rax, 0x18
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0xc]
mov rcx, qword [rsp + 0x140]
call fcn.1400724d0
mov edx, dword [rsp + 0x58]
mov ecx, dword [rax]
call fcn.140073890
mov rcx, qword [rsp + 0x250]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x250]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0xb0], eax
mov rax, qword [rsp + 0x30]
add rax, 0x18
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0xc]
mov rcx, qword [rsp + 0x148]
call fcn.1400724d0
mov eax, dword [rax + 4]
mov dword [rsp + 0xb4], eax
mov edx, dword [rsp + 0xb0]
mov ecx, dword [rsp + 0xb4]
call fcn.1400737a0
mov rcx, qword [rsp + 0x250]
mov dword [rcx + 0xc], eax
mov rax, qword [rsp + 0x250]
mov ecx, dword [rsp + 0x58]
cmp dword [rax + 8], ecx
jle 0x14004d428
mov rax, qword [rsp + 0x250]
mov edx, dword [rax + 8]
mov rcx, qword [rsp + 0x250]
call fcn.14004c530
nop
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xc]
inc eax
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0xc], eax
mov al, 1
jmp 0x14004d46a
mov rax, qword [rsp + 0x250]
cmp dword [rax + 0x10], 0x7fffffff
jge 0x14004d468
mov rax, qword [rsp + 0x250]
mov edx, dword [rax + 0x10]
mov rcx, qword [rsp + 0x250]
call fcn.14004c530
nop
xor al, al
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.14011ce40
add rsp, 0x238
pop rdi
pop rsi
ret