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

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x1d8
mov rax, qword [0x140145af0]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x40a0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x1f0]
cmp dword [rax + 0x74], 0xffffffff
je 0x1400566bc
mov rcx, qword [rsp + 0x1f0]
call fcn.140056500
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax + 0x5358]
test eax, eax
je 0x1400566e0
xor r8d, r8d
lea rdx, [0x140102f44]
xor ecx, ecx
call fcn.14001c330
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x1f0]
movss xmm0, dword [rcx + 0x80]
movss dword [rax + 0x11c], xmm0
mov rax, qword [rsp + 0x1f0]
movss xmm0, dword [rax + 0x7c]
movss dword [rsp + 0x38], xmm0
mov rax, qword [rsp + 0x1f0]
movss xmm0, dword [rax + 0x80]
movss dword [rsp + 0x3c], xmm0
mov rax, qword [rsp + 0x1f0]
mov eax, dword [rax + 0x70]
inc eax
mov rcx, qword [rsp + 0x1f0]
movsx ecx, word [rcx + 0x228]
cmp eax, ecx
jne 0x14005674d
mov byte [rsp + 0x30], 1
jmp 0x140056752
mov byte [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x36], al
mov rax, qword [rsp + 0x1f0]
mov eax, dword [rax + 0x70]
inc eax
mov rcx, qword [rsp + 0x1f0]
movsx ecx, word [rcx + 0x226]
cmp eax, ecx
jne 0x140056782
mov byte [rsp + 0x31], 1
jmp 0x140056787
mov byte [rsp + 0x31], 0
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x41], al
mov rax, qword [rsp + 0x1f0]
movsx eax, word [rax + 0x78]
mov edx, eax
mov rcx, qword [rsp + 0x1f0]
call fcn.14002b8e0
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x1f0]
mov eax, dword [rax + 0x94]
shl eax, 0x10
sar eax, 0x10
and eax, 1
test eax, eax
je 0x140056824
mov rax, qword [rsp + 0x1f0]
cmp dword [rax + 0x70], 0
je 0x1400567f7
mov rax, qword [rsp + 0x1f0]
mov eax, dword [rax + 0x94]
shl eax, 0
sar eax, 0x10
and eax, 1
test eax, eax
je 0x140056824
movss xmm0, dword [rsp + 0x3c]
subss xmm0, dword [rsp + 0x38]
mov rax, qword [rsp + 0x88]
movss xmm1, dword [rax + 8]
addss xmm1, xmm0
movaps xmm0, xmm1
mov rax, qword [rsp + 0x88]
movss dword [rax + 8], xmm0
mov rax, qword [rsp + 0x1f0]
movss xmm0, dword [rsp + 0x3c]
comiss xmm0, dword [rax + 0x124]
jb 0x140056859
mov rax, qword [rsp + 0x1f0]
movss xmm0, dword [rax + 0x12c]
comiss xmm0, dword [rsp + 0x38]
jb 0x140056859
mov byte [rsp + 0x32], 1
jmp 0x14005685e
mov byte [rsp + 0x32], 0
movzx eax, byte [rsp + 0x32]
mov byte [rsp + 0x40], al
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x140056fe6
mov rax, qword [rsp + 0x1f0]
movsx eax, word [rax + 0x20a]
cmp eax, 0xffffffff
je 0x1400568da
mov rax, qword [rsp + 0xa0]
movss xmm0, dword [rax + 0xe4]
comiss xmm0, dword [rsp + 0x38]
jb 0x1400568da
mov rax, qword [rsp + 0xa0]
movss xmm0, dword [rsp + 0x3c]
comiss xmm0, dword [rax + 0xe4]
jbe 0x1400568da
mov rax, qword [rsp + 0x88]
cmp dword [rax + 0x14], 0
jge 0x1400568da
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x1f0]
mov ecx, dword [rcx + 0x70]
mov dword [rax + 0x14], ecx
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x48], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x1f0]
cmp dword [rcx + rax + 0x9c], 0x1000000
je 0x140056926
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x1f0]
mov eax, dword [rcx + rax + 0x9c]
mov dword [rsp + 0x44], eax
jmp 0x140056974
mov rax, qword [rsp + 0x1f0]
mov eax, dword [rax + 4]
and eax, 0x40
test eax, eax
je 0x140056974
mov rax, qword [rsp + 0x1f0]
mov eax, dword [rax + 0x98]
and eax, 1
test eax, eax
je 0x140056957
mov dword [rsp + 0x70], 0x30
jmp 0x14005695f
mov dword [rsp + 0x70], 0x2f
movss xmm1, dword [0x1400e6ecc]
mov ecx, dword [rsp + 0x70]
call fcn.140015410
mov dword [rsp + 0x44], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x1f0]
cmp dword [rcx + rax + 0x9c], 0x1000000
je 0x1400569ae
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x1f0]
mov eax, dword [rcx + rax + 0x9c]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x58], 0
movss xmm0, dword [0x1400e6ecc]
movss dword [rsp + 0x178], xmm0
mov rax, qword [rsp + 0x1f0]
cmp dword [rax + 0x70], 0
jle 0x140056a32
mov rax, qword [rsp + 0x1f0]
mov eax, dword [rax + 4]
and eax, 0x80
test eax, eax
je 0x140056a32
mov rax, qword [rsp + 0x1f0]
mov eax, dword [rax + 0x94]
shl eax, 0
sar eax, 0x10
and eax, 1
test eax, eax
je 0x140056a18
mov rax, qword [rsp + 0x1f0]
mov eax, dword [rax + 0xa4]
mov dword [rsp + 0x74], eax
jmp 0x140056a2a
mov rax, qword [rsp + 0x1f0]
mov eax, dword [rax + 0xa8]
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x1f0]
movsx eax, word [rax + 0x22e]
test eax, eax
jl 0x140056a4c
mov byte [rsp + 0x33], 1
jmp 0x140056a51
mov byte [rsp + 0x33], 0
movzx eax, byte [rsp + 0x33]
mov byte [rsp + 0x34], al
movzx eax, byte [rsp + 0x36]
mov byte [rsp + 0x35], al
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x44]
or ecx, eax
mov eax, ecx
or eax, dword [rsp + 0x58]
test eax, eax
jne 0x140056a8d
movzx eax, byte [rsp + 0x35]
test eax, eax
jne 0x140056a8d
movzx eax, byte [rsp + 0x34]
test eax, eax
je 0x140056b36
mov rax, qword [rsp + 0x1f0]
mov eax, dword [rax + 4]
and eax, 0x100000
test eax, eax
jne 0x140056b03
mov rax, qword [rsp + 0x1f0]
add rax, 0x140
mov qword [rsp + 0x180], rax
lea rdx, [rsp + 0x1b8]
mov rcx, qword [rsp + 0x180]
call fcn.14002bbd0
lea rcx, [rsp + 0x1a8]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x2b0]
lea rcx, [rsp + 0x1a8]
lea rdi, [rax + 0x60]
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x1f0]
mov rax, qword [rax + 0x1a0]
mov qword [rsp + 0xd8], rax
xor r8d, r8d
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax + 0x2b0]
mov rcx, qword [rsp + 0xd8]
call fcn.14003fe60
cmp dword [rsp + 0x44], 0
jne 0x140056b48
cmp dword [rsp + 0x48], 0
je 0x140056c67
movss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0x20], xmm0
mov rax, qword [rsp + 0x1f0]
movss xmm3, dword [rax + 0x118]
movss xmm2, dword [rsp + 0x38]
mov rax, qword [rsp + 0x1f0]
movss xmm1, dword [rax + 0x110]
lea rcx, [rsp + 0x90]
call fcn.140005960
mov rax, qword [rsp + 0x1f0]
add rax, 0x130
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.14000f520
cmp dword [rsp + 0x44], 0
je 0x140056c06
movss xmm0, dword [rsp + 0x9c]
comiss xmm0, dword [rsp + 0x94]
jbe 0x140056c06
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x2b0]
mov qword [rsp + 0xe0], rax
mov dword [rsp + 0x28], 0
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x44]
lea r8, [rsp + 0x98]
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0xe0]
call fcn.140038470
cmp dword [rsp + 0x48], 0
je 0x140056c67
movss xmm0, dword [rsp + 0x9c]
comiss xmm0, dword [rsp + 0x94]
jbe 0x140056c67
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x2b0]
mov qword [rsp + 0xe8], rax
mov dword [rsp + 0x28], 0
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x48]
lea r8, [rsp + 0x98]
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0xe8]
call fcn.140038470
movzx eax, byte [rsp + 0x34]
test eax, eax
je 0x140056e16
mov rax, qword [rsp + 0x1f0]
add rax, 0x38
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x1f0]
movsx eax, word [rax + 0x22e]
mov edx, eax
mov rcx, qword [rsp + 0xf0]
call fcn.1400537e0
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x1f0]
add rax, 0x38
mov qword [rsp + 0xf8], rax
xor edx, edx
mov rcx, qword [rsp + 0xf8]
call fcn.1400537e0
mov qword [rsp + 0x68], rax
jmp 0x140056ce6
mov rax, qword [rsp + 0x68]
add rax, 8
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x100]
cmp qword [rsp + 0x68], rax
ja 0x140056e16
mov rax, qword [rsp + 0x1f0]
add rax, 0x18
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x68]
movsx eax, word [rax + 4]
mov edx, eax
mov rcx, qword [rsp + 0x108]
call fcn.140006510
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x68]
movsx eax, word [rax + 4]
mov r8d, eax
mov rdx, qword [rsp + 0x1f0]
lea rcx, [rsp + 0xa8]
call fcn.140057770
mov rax, qword [rsp + 0x1f0]
add rax, 0x130
mov rdx, rax
lea rcx, [rsp + 0xa8]
call fcn.14000f520
mov rax, qword [rsp + 0xd0]
movss xmm1, dword [rax + 0x24]
movss xmm0, dword [rsp + 0xa8]
call fcn.1400021d0
movss dword [rsp + 0xa8], xmm0
mov rax, qword [rsp + 0xd0]
movss xmm1, dword [rax + 0xc]
movss xmm0, dword [rsp + 0xb0]
call fcn.140002240
movss dword [rsp + 0xb0], xmm0
movss xmm0, dword [rsp + 0xb4]
comiss xmm0, dword [rsp + 0xac]
jbe 0x140056e11
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x2b0]
mov qword [rsp + 0x110], rax
mov dword [rsp + 0x28], 0
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
mov rax, qword [rsp + 0x68]
mov r9d, dword [rax]
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x110]
call fcn.140038470
jmp 0x140056cd8
cmp dword [rsp + 0x58], 0
je 0x140056ef1
mov rax, qword [rsp + 0x1f0]
movss xmm0, dword [rsp + 0x38]
comiss xmm0, dword [rax + 0x134]
jb 0x140056ef1
mov rax, qword [rsp + 0x1f0]
movss xmm0, dword [rax + 0x13c]
comiss xmm0, dword [rsp + 0x38]
jbe 0x140056ef1
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x2b0]
mov qword [rsp + 0x128], rax
movss xmm2, dword [rsp + 0x38]
mov rax, qword [rsp + 0x1f0]
movss xmm1, dword [rax + 0xb0]
lea rcx, [rsp + 0x188]
call fcn.140005a40
mov qword [rsp + 0x118], rax
movss xmm2, dword [rsp + 0x38]
mov rax, qword [rsp + 0x1f0]
movss xmm1, dword [rax + 0xac]
lea rcx, [rsp + 0x190]
call fcn.140005a40
mov qword [rsp + 0x120], rax
movss xmm0, dword [0x1400e6ecc]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x58]
mov r8, qword [rsp + 0x118]
mov rdx, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x128]
call fcn.1400360d0
movzx eax, byte [rsp + 0x35]
test eax, eax
je 0x140056fe6
mov rax, qword [rsp + 0x1f0]
movss xmm0, dword [rsp + 0x3c]
comiss xmm0, dword [rax + 0x134]
jb 0x140056fe6
mov rax, qword [rsp + 0x1f0]
movss xmm0, dword [rax + 0x13c]
comiss xmm0, dword [rsp + 0x3c]
jbe 0x140056fe6
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x2b0]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x1f0]
mov eax, dword [rax + 0xa4]
mov dword [rsp + 0xb8], eax
movss xmm2, dword [rsp + 0x3c]
mov rax, qword [rsp + 0x1f0]
movss xmm1, dword [rax + 0xb0]
lea rcx, [rsp + 0x198]
call fcn.140005a40
mov qword [rsp + 0x130], rax
movss xmm2, dword [rsp + 0x3c]
mov rax, qword [rsp + 0x1f0]
movss xmm1, dword [rax + 0xac]
lea rcx, [rsp + 0x1a0]
call fcn.140005a40
mov qword [rsp + 0x138], rax
movss xmm0, dword [0x1400e6ecc]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0xb8]
mov r8, qword [rsp + 0x130]
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x140]
call fcn.1400360d0
movzx eax, byte [rsp + 0x41]
test eax, eax
je 0x140057347
mov dword [rsp + 0x5c], 0
jmp 0x140057007
mov eax, dword [rsp + 0x5c]
inc eax
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0x1f0]
mov eax, dword [rax + 0x6c]
cmp dword [rsp + 0x5c], eax
jge 0x140057043
mov rax, qword [rsp + 0x1f0]
add rax, 0x18
mov qword [rsp + 0x148], rax
mov edx, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x148]
call fcn.140006510
mov byte [rax + 0x6e], 0
jmp 0x140056ffd
mov rax, qword [rsp + 0x1f0]
movss xmm0, dword [rax + 0x80]
addss xmm0, dword [0x1400e6ecc]
mov rax, qword [rsp + 0x1f0]
movss xmm1, dword [rax + 0x124]
call fcn.1400021d0
movss dword [rsp + 0x78], xmm0
mov rax, qword [rsp + 0x1f0]
movss xmm0, dword [rsp + 0x78]
subss xmm0, dword [rax + 0xf4]
mov rax, qword [rsp + 0x88]
movss dword [rax + 0xc], xmm0
movzx eax, byte [rsp + 0x36]
test eax, eax
je 0x140057347
mov rax, qword [rsp + 0x1f0]
mov byte [rax + 0x242], 1
mov rax, qword [rsp + 0x1f0]
movss xmm1, dword [rax + 0x12c]
movss xmm0, dword [rsp + 0x78]
call fcn.140002240
movss dword [rsp + 0x7c], xmm0
mov rax, qword [rsp + 0x1f0]
movss xmm0, dword [rsp + 0x7c]
movss dword [rax + 0x154], xmm0
mov rax, qword [rsp + 0x1f0]
movss xmm0, dword [rsp + 0x7c]
movss dword [rax + 0x134], xmm0
mov rax, qword [rsp + 0x1f0]
mov rcx, qword [rsp + 0x1f0]
movss xmm0, dword [rcx + 0x12c]
movss dword [rax + 0x15c], xmm0
mov rax, qword [rsp + 0x1f0]
mov rcx, qword [rsp + 0x1f0]
movss xmm0, dword [rcx + 0x15c]
movss dword [rax + 0x13c], xmm0
mov rax, qword [rsp + 0x1f0]
mov rcx, qword [rsp + 0x1f0]
movzx ecx, word [rcx + 0x234]
mov word [rax + 0x232], cx
mov rax, qword [rsp + 0x1f0]
mov rcx, qword [rsp + 0x1f0]
movss xmm0, dword [rax + 0x80]
subss xmm0, dword [rcx + 0x7c]
movss dword [rsp + 0xbc], xmm0
mov rax, qword [rsp + 0x1f0]
mov rcx, qword [rsp + 0x1f0]
movss xmm0, dword [rax + 0x114]
addss xmm0, dword [rcx + 0x80]
mov rax, qword [rsp + 0x1f0]
subss xmm0, dword [rax + 0xf4]
movss dword [rsp + 0x80], xmm0
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rsp + 0x80]
movss dword [rax + 0x11c], xmm0
mov rax, qword [rsp + 0x1f0]
movss xmm0, dword [rsp + 0x80]
movss dword [rax + 0x80], xmm0
mov rax, qword [rsp + 0x1f0]
movss xmm0, dword [rax + 0x80]
subss xmm0, dword [rsp + 0xbc]
mov rax, qword [rsp + 0x1f0]
movss dword [rax + 0x7c], xmm0
mov dword [rsp + 0x60], 0
jmp 0x140057228
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x1f0]
mov eax, dword [rax + 0x6c]
cmp dword [rsp + 0x60], eax
jge 0x14005729d
mov rax, qword [rsp + 0x1f0]
add rax, 0x18
mov qword [rsp + 0x150], rax
mov edx, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x150]
call fcn.140006510
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc8]
movzx ecx, word [rcx + 0x64]
mov word [rax + 0x60], cx
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x1f0]
movss xmm0, dword [rcx + 0x154]
movss dword [rax + 0x28], xmm0
jmp 0x14005721e
mov rax, qword [rsp + 0x1f0]
add rax, 0x18
mov qword [rsp + 0x158], rax
xor edx, edx
mov rcx, qword [rsp + 0x158]
call fcn.140006510
add rax, 0x24
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call fcn.140055520
mov rax, qword [rsp + 0x1f0]
mov rax, qword [rax + 0x1a0]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x1f0]
add rax, 0x18
mov qword [rsp + 0x160], rax
xor edx, edx
mov rcx, qword [rsp + 0x160]
call fcn.140006510
movzx eax, word [rax + 0x60]
mov dword [rsp + 0xc0], eax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x2b0]
mov qword [rsp + 0x168], rax
mov r8d, dword [rsp + 0xc0]
mov rdx, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x170]
call fcn.14003fe60
mov rax, qword [rsp + 0x1f0]
mov eax, dword [rax + 0x94]
shl eax, 0x10
sar eax, 0x10
and eax, 1
test eax, eax
jne 0x140057380
mov rax, qword [rsp + 0x1f0]
mov eax, dword [rax + 0x98]
inc eax
mov rcx, qword [rsp + 0x1f0]
mov dword [rcx + 0x98], eax
mov rax, qword [rsp + 0x1f0]
mov byte [rax + 0x237], 0
add rsp, 0x1d8
pop rdi
pop rsi
ret