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

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xc8
mov rax, qword [0x140110040]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov dword [rsp + 0x2c], 0
mov dword [rsp + 0x28], 0
jmp 0x14004f9ac
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x28]
cmp dword [rsp + 0x28], eax
je 0x14004f9f7
mov rax, qword [rsp + 0xe0]
add rax, 0x28
mov qword [rsp + 0x58], rax
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x58]
call fcn.140053a30
mov eax, dword [rax]
shr eax, 2
and eax, 0x3fffffff
mov edx, eax
mov ecx, dword [rsp + 0x2c]
call fcn.140054440
mov dword [rsp + 0x2c], eax
jmp 0x14004f9a2
mov rax, qword [rsp + 0xe0]
mov rcx, rax
call fcn.140037cb0
mov rax, qword [rsp + 0xe0]
add rax, 0x18
mov rcx, rax
call fcn.140037cb0
mov rax, qword [rsp + 0xe0]
mov byte [rax + 0x58], 0
mov rax, qword [rsp + 0xe0]
add rax, 0x6c
mov rdi, rax
xor eax, eax
mov ecx, 2
rep stosb byte [rdi], al
mov eax, dword [rsp + 0x2c]
inc eax
mov edx, eax
mov rcx, qword [rsp + 0xe0]
call fcn.14004fff0
mov dword [rsp + 0x20], 0
jmp 0x14004fa68
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x28]
cmp dword [rsp + 0x20], eax
jge 0x14004fb83
mov rax, qword [rsp + 0xe0]
add rax, 0x28
mov qword [rsp + 0x60], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x60]
call fcn.140053a30
mov eax, dword [rax]
shr eax, 2
and eax, 0x3fffffff
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0xe0]
add rax, 0x28
mov qword [rsp + 0x68], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x68]
call fcn.140053a30
movss xmm0, dword [rax + 4]
movss dword [rsp + 0x44], xmm0
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x70], rax
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x70]
call fcn.140038960
movss xmm0, dword [rsp + 0x44]
movss dword [rax], xmm0
mov rax, qword [rsp + 0xe0]
add rax, 0x18
mov qword [rsp + 0x78], rax
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x78]
call fcn.140038ea0
movzx ecx, word [rsp + 0x20]
mov word [rax], cx
mov eax, dword [rsp + 0x3c]
cdq
and edx, 0xfff
add eax, edx
sar eax, 0xc
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
and eax, 7
mov ecx, 1
mov dword [rsp + 0x48], ecx
movzx ecx, al
mov eax, dword [rsp + 0x48]
shl eax, cl
mov ecx, dword [rsp + 0x40]
sar ecx, 3
movsxd rcx, ecx
mov rdx, qword [rsp + 0xe0]
movzx ecx, byte [rdx + rcx + 0x6c]
or ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x40]
sar ecx, 3
movsxd rcx, ecx
mov rdx, qword [rsp + 0xe0]
mov byte [rdx + rcx + 0x6c], al
jmp 0x14004fa5e
mov dx, 0x20
mov rcx, qword [rsp + 0xe0]
call fcn.1400503c0
test rax, rax
je 0x14004fced
mov rax, qword [rsp + 0xe0]
add rax, 0x28
mov rcx, rax
call fcn.140053a10
mov eax, dword [rax]
shr eax, 2
and eax, 0x3fffffff
cmp eax, 9
je 0x14004fbf0
mov rax, qword [rsp + 0xe0]
add rax, 0x28
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x28]
inc eax
mov edx, eax
mov rcx, qword [rsp + 0x80]
call fcn.1400539c0
mov rax, qword [rsp + 0xe0]
add rax, 0x28
mov rcx, rax
call fcn.140053a10
mov qword [rsp + 0x30], rax
mov dx, 0x20
mov rcx, qword [rsp + 0xe0]
call fcn.1400503c0
mov rdi, qword [rsp + 0x30]
mov rsi, rax
mov ecx, 0x28
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
and eax, 3
or eax, 0x24
mov rcx, qword [rsp + 0x30]
mov dword [rcx], eax
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 4]
mulss xmm0, dword [0x1400fb634]
mov rax, qword [rsp + 0x30]
movss dword [rax + 4], xmm0
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 4]
movss dword [rsp + 0x4c], xmm0
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
shr eax, 2
and eax, 0x3fffffff
mov edx, eax
mov rcx, qword [rsp + 0x88]
call fcn.140038960
movss xmm0, dword [rsp + 0x4c]
movss dword [rax], xmm0
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x28]
dec eax
mov word [rsp + 0x38], ax
mov rax, qword [rsp + 0xe0]
add rax, 0x18
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
shr eax, 2
and eax, 0x3fffffff
mov edx, eax
mov rcx, qword [rsp + 0x90]
call fcn.140038ea0
movzx ecx, word [rsp + 0x38]
mov word [rax], cx
xor r8d, r8d
mov dx, 0x20
mov rcx, qword [rsp + 0xe0]
call fcn.14004ff80
xor r8d, r8d
mov dx, 9
mov rcx, qword [rsp + 0xe0]
call fcn.14004ff80
mov eax, 0x2026
mov word [rsp + 0xa8], ax
mov eax, 0x85
mov word [rsp + 0xaa], ax
mov eax, 0x2e
mov word [rsp + 0xac], ax
mov eax, 0xff0e
mov word [rsp + 0xae], ax
mov rax, qword [rsp + 0xe0]
movzx eax, word [rax + 0x54]
cmp eax, 0xffff
jne 0x14004fd83
mov r8d, 2
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0xe0]
call fcn.14004f900
mov rcx, qword [rsp + 0xe0]
mov word [rcx + 0x54], ax
mov rax, qword [rsp + 0xe0]
movzx eax, word [rax + 0x56]
cmp eax, 0xffff
jne 0x14004fdbd
mov r8d, 2
lea rdx, [rsp + 0xac]
mov rcx, qword [rsp + 0xe0]
call fcn.14004f900
mov rcx, qword [rsp + 0xe0]
mov word [rcx + 0x56], ax
mov eax, 0xfffd
mov word [rsp + 0xb0], ax
mov eax, 0x3f
mov word [rsp + 0xb2], ax
mov eax, 0x20
mov word [rsp + 0xb4], ax
mov rax, qword [rsp + 0xe0]
movzx edx, word [rax + 0x52]
mov rcx, qword [rsp + 0xe0]
call fcn.140050430
mov rcx, qword [rsp + 0xe0]
mov qword [rcx + 0x38], rax
mov rax, qword [rsp + 0xe0]
cmp qword [rax + 0x38], 0
jne 0x14004feb9
mov r8d, 3
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0xe0]
call fcn.14004f900
mov rcx, qword [rsp + 0xe0]
mov word [rcx + 0x52], ax
mov rax, qword [rsp + 0xe0]
movzx edx, word [rax + 0x52]
mov rcx, qword [rsp + 0xe0]
call fcn.140050430
mov rcx, qword [rsp + 0xe0]
mov qword [rcx + 0x38], rax
mov rax, qword [rsp + 0xe0]
cmp qword [rax + 0x38], 0
jne 0x14004feb9
mov rax, qword [rsp + 0xe0]
add rax, 0x28
mov rcx, rax
call fcn.140053a10
mov rcx, qword [rsp + 0xe0]
mov qword [rcx + 0x38], rax
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x38]
mov eax, dword [rax]
shr eax, 2
and eax, 0x3fffffff
mov rcx, qword [rsp + 0xe0]
mov word [rcx + 0x52], ax
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x38]
mov rcx, qword [rsp + 0xe0]
movss xmm0, dword [rax + 4]
movss dword [rcx + 0x10], xmm0
mov dword [rsp + 0x24], 0
jmp 0x14004feeb
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x2c]
inc eax
cmp dword [rsp + 0x24], eax
jge 0x14004ff60
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x98], rax
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x98]
call fcn.140038960
xorps xmm0, xmm0
comiss xmm0, dword [rax]
jbe 0x14004ff5e
mov rax, qword [rsp + 0xe0]
movss xmm0, dword [rax + 0x10]
movss dword [rsp + 0x50], xmm0
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xa0], rax
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0xa0]
call fcn.140038960
movss xmm0, dword [rsp + 0x50]
movss dword [rax], xmm0
jmp 0x14004fee1
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.1400a3dc0
add rsp, 0xc8
pop rdi
pop rsi
ret