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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x2e0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x100190170]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov rax, qword [rcx + 0x240]
movaps xmm6, xmm1
mov rbx, rcx
test rax, rax
jne 0x10005974b
mov eax, 0x80004005
jmp 0x100059beb
cmp qword [rax], 0
je 0x100059741
movsd xmm0, qword [0x10019f590]
comisd xmm0, xmmword [rcx + 8]
jbe 0x100059772
call fcn.100056970
mov rcx, rbx
movsd qword [rbx + 8], xmm0
call fcn.100059634
cmp byte [rbx + 0x18], 0
je 0x100059be9
movss xmm5, dword [0x1000240ac]
movss xmm3, dword [0x100024014]
mov eax, dword [rbx + 0x230]
movd xmm4, dword [rbx + 0x21c]
movd xmm2, dword [rbx + 0x220]
movd xmm0, dword [rbx + 0x224]
mov dword [rsp + 0x50], eax
mov eax, dword [rbx + 0x234]
xorps xmm7, xmm7
cvtdq2ps xmm4, xmm4
cvtdq2ps xmm2, xmm2
mov dword [rsp + 0x6c], eax
mov eax, dword [rbx + 0x23c]
movd xmm1, dword [rbx + 0x228]
mov dword [rsp + 0x88], eax
mov eax, dword [rbx + 0x238]
movss dword [rsp + 0x40], xmm4
movss dword [rsp + 0x44], xmm2
movss dword [rsp + 0x48], xmm3
mov dword [rsp + 0xa4], eax
mov rax, qword [rbx + 0x240]
movss dword [rsp + 0x4c], xmm5
movss dword [rsp + 0x54], xmm7
movss dword [rsp + 0x58], xmm3
movss dword [rsp + 0x60], xmm2
movss dword [rsp + 0x64], xmm3
movss dword [rsp + 0x68], xmm5
movss dword [rsp + 0x70], xmm5
movss dword [rsp + 0x74], xmm3
movss dword [rsp + 0x80], xmm3
movss dword [rsp + 0x84], xmm5
movss dword [rsp + 0x8c], xmm5
movss dword [rsp + 0x90], xmm5
movss dword [rsp + 0x94], xmm4
movss dword [rsp + 0x9c], xmm3
movss dword [rsp + 0xa0], xmm5
movss dword [rsp + 0xa8], xmm7
movss dword [rsp + 0xac], xmm5
cvtdq2ps xmm0, xmm0
addss xmm0, xmm4
cvtdq2ps xmm1, xmm1
movss dword [rsp + 0x5c], xmm0
movss dword [rsp + 0x78], xmm0
addss xmm1, xmm2
movss dword [rsp + 0x7c], xmm1
movss dword [rsp + 0x98], xmm1
mov rcx, qword [rax]
mov rdi, qword [rax + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov r11, qword [rdi]
mov edx, 0x1b
lea r8d, [rdx - 0x1a]
mov rcx, rdi
call qword [r11 + 0x1c8]
mov r11, qword [rdi]
mov edx, 0x13
lea r8d, [rdx - 0xe]
mov rcx, rdi
call qword [r11 + 0x1c8]
mov r11, qword [rdi]
mov ebp, 6
lea edx, [rbp + 0xe]
mov r8d, ebp
mov rcx, rdi
call qword [r11 + 0x1c8]
mov r11, qword [rdi]
lea edx, [rbp + 9]
xor r8d, r8d
mov rcx, rdi
call qword [r11 + 0x1c8]
mov r11, qword [rdi]
lea esi, [rbp - 3]
lea r8d, [rbp - 5]
mov r9d, esi
xor edx, edx
mov rcx, rdi
call qword [r11 + 0x218]
mov r11, qword [rdi]
xor r9d, r9d
mov r8d, esi
xor edx, edx
mov rcx, rdi
call qword [r11 + 0x218]
mov r11, qword [rdi]
lea esi, [rbp - 4]
lea r8d, [rbp - 2]
mov r9d, esi
xor edx, edx
mov rcx, rdi
call qword [r11 + 0x218]
mov r11, qword [rdi]
lea r8d, [rbp - 1]
xor r9d, r9d
xor edx, edx
mov rcx, rdi
call qword [r11 + 0x218]
mov r11, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [r11 + 0x2e0]
mov r11, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [r11 + 0x358]
mov r11, qword [rdi]
lea edx, [rbp + 1]
xor r8d, r8d
mov rcx, rdi
call qword [r11 + 0x1c8]
cmp byte [rbx + 0x1a], 0
jne 0x1000599ce
mov rax, qword [rdi]
mov edx, 0x144
mov rcx, rdi
call qword [rax + 0x2c8]
mov r11, qword [rdi]
lea r9, [rsp + 0x40]
mov r8d, esi
mov edx, ebp
mov rcx, rdi
mov dword [rsp + 0x20], 0x1c
call qword [r11 + 0x298]
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
lea r9d, [rdx + 4]
lea r8d, [rdx + 1]
call qword [rax + 0x218]
mov r11, qword [rdi]
mov r9d, esi
mov r8d, esi
xor edx, edx
mov rcx, rdi
call qword [r11 + 0x218]
mov r11, qword [rdi]
xor r9d, r9d
lea r8d, [r9 + 3]
xor edx, edx
mov rcx, rdi
call qword [r11 + 0x218]
mov r11, qword [rdi]
xor edx, edx
lea r9d, [rdx + 4]
mov rcx, rdi
mov r8d, r9d
call qword [r11 + 0x218]
mov r11, qword [rdi]
xor edx, edx
lea r8d, [rdx + 5]
mov r9d, esi
mov rcx, rdi
call qword [r11 + 0x218]
mov r11, qword [rdi]
xor r9d, r9d
mov r8d, ebp
xor edx, edx
mov rcx, rdi
call qword [r11 + 0x218]
mov r11, qword [rdi]
mov r9d, esi
mov r8d, ebp
xor edx, edx
mov rcx, rdi
call qword [r11 + 0x228]
mov r11, qword [rbx + 0x240]
test r11, r11
jne 0x100059a76
xor r8d, r8d
jmp 0x100059a88
mov rax, qword [rbx + 0x258]
movsxd rcx, dword [rax]
mov rax, qword [r11 + 0x20]
mov r8, qword [rax + rcx*8]
mov rax, qword [rdi]
mov r8, qword [r8 + 0x208]
xor edx, edx
mov rcx, rdi
call qword [rax + 0x208]
mov r11, qword [rbx + 0x240]
mov edx, 1
mov rcx, qword [r11 + 8]
mov rax, qword [rcx]
call qword [rax + 0x40]
cmp byte [rbx + 0x19], 0
je 0x100059b64
mov eax, dword [rbx + 0x22c]
and dword [rsp + 0x30], 0
and dword [rsp + 0x3c], 0
neg eax
lea r8, [rsp + 0x30]
lea rdx, [rbx + 0x298]
mov dword [rsp + 0x34], eax
mov eax, dword [rbx + 0x224]
mov rcx, rbx
mov dword [rsp + 0x38], eax
call fcn.10005a9d0
mov ebp, 0x100
lea r8, [rbx + 0x1c]
lea rcx, [rsp + 0xb0]
mov rdx, rbp
mov dword [rsp + 0x30], 5
call sub.msvcrt.dll_wcscpy_s
cmp byte [rbx + 0x1a], 0
je 0x100059b2f
lea r8, [0x100028248]
lea rcx, [rsp + 0xb0]
mov rdx, rbp
call sub.msvcrt.dll_wcscat_s
movss xmm0, dword [rbx + 0x300]
ucomiss xmm0, xmm7
jp 0x100059b3e
je 0x100059b64
or dword [rsp + 0x28], 0xffffffff
lea r9, [rsp + 0x30]
lea r8, [rbx + 0x298]
lea rdx, [rsp + 0xb0]
mov rcx, rbx
mov byte [rsp + 0x20], 1
call fcn.10005ac54
cmp byte [rbx + 0x1a], 0
jne 0x100059bc8
mov rcx, qword [0x10019f598]
xor esi, esi
cmp dword [rbx + 0x280], esi
jle 0x100059bb1
xor ebp, ebp
mov rax, qword [rbx + 0x278]
mov r8, qword [rax + rbp]
cmp r8, rcx
je 0x100059ba3
mov rax, qword [r8]
movaps xmm2, xmm6
mov rdx, rdi
mov rcx, r8
call qword [rax + 0x18]
mov rcx, qword [0x10019f598]
inc esi
add rbp, 8
cmp esi, dword [rbx + 0x280]
jl 0x100059b7d
test rcx, rcx
je 0x100059bc8
cmp qword [rcx + 0x20], rbx
jne 0x100059bc8
mov rax, qword [rcx]
movaps xmm2, xmm6
mov rdx, rdi
call qword [rax + 0x18]
mov rax, qword [rbx + 0x240]
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
call qword [rax + 0x58]
mov r11, qword [rbx + 0x240]
mov rcx, qword [r11]
mov rax, qword [rcx]
call qword [rax + 0x28]
xor eax, eax
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.10017a260
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rdi
pop rsi
pop rbp
ret