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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
mov rax, qword [0x1400bd180]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov r12, rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x38], rdx
xor r15d, r15d
mov dword [rsp + 0x40], r15d
movss xmm0, dword [rsp + 0x38]
mulss xmm0, dword [0x1400abb9c]
movss dword [rbp - 0x18], xmm0
movss xmm0, dword [rsp + 0x3c]
mulss xmm0, dword [0x1400abb9c]
movss dword [rbp - 0x14], xmm0
call fcn.140017890
test al, al
je 0x140057143
lea rsi, [r12 + 0x10]
mov rax, qword [0x1400c46e8]
mov rbx, qword [rax + 0x4040]
mov rdx, r12
mov rcx, rbx
call fcn.140012910
mov edi, eax
add rbx, 0x108
mov ecx, dword [rbx]
mov r8d, dword [rbx + 4]
mov r14d, 8
cmp ecx, r8d
jne 0x1400566df
inc ecx
test r8d, r8d
je 0x1400566cd
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x1400566d0
mov eax, r14d
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.14001f770
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rax, qword [0x1400c46e8]
mov rbx, qword [rax + 0x4040]
movsxd r8, dword [rbx + 0x108]
mov rax, qword [rbx + 0x110]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
lea rcx, str.FileDialog_pathTable
call fcn.140003940
mov edi, eax
mov rcx, qword [rbx]
cmp dword [rcx + 0x4094], eax
jne 0x14005673a
lea r8, str.FileDialog_pathTable
mov edx, 0xb
mov ecx, eax
call fcn.14001dcd0
xorps xmm8, xmm8
movss dword [rsp + 0x28], xmm8
lea rax, [rbp - 0x18]
mov qword [rsp + 0x20], rax
mov r9d, 0x2022044
mov r8d, 1
mov edx, edi
lea rcx, str.FileDialog_pathTable
call fcn.14002ff00
test al, al
je 0x1400570df
call fcn.1400334a0
lea r13, str.File_name
mov rax, qword [0x1400c46e8]
mov rdi, qword [rax + 0x4e50]
movsx rcx, word [rdi + 0x206]
cmp ecx, dword [rdi + 0x6c]
jge 0x1400568c3
imul rbx, rcx, 0x70
add rbx, qword [rdi + 0x18]
inc cx
mov word [rdi + 0x206], cx
mov r8d, 0x4008
mov rdx, rbx
mov rcx, rdi
call fcn.1400311b0
mov dword [rbx + 0x30], r15d
mov eax, dword [rbx]
mov dword [rbx + 0x1c], 0xbf800000
cmp byte [rdi + 0x238], r15b
je 0x140056820
comiss xmm8, dword [rbx + 0x10]
jbe 0x1400567ee
comiss xmm8, dword [rbx + 0x18]
jbe 0x1400567ee
test r14b, al
je 0x1400567ee
mov dword [rbx + 0x18], 0xbf800000
test al, 2
je 0x1400567fd
test byte [rdi + 0x60], 4
jne 0x1400567fd
mov word [rbx + 0x63], r15w
test al, 4
je 0x140056820
test byte [rdi + 0x60], r14b
jne 0x140056820
mov word [rbx + 0x5a], r15w
bt eax, 0xf
setb cl
inc cl
movzx eax, byte [rbx + 0x6d]
and al, 0xfc
or cl, al
mov byte [rbx + 0x6d], cl
mov word [rbx + 0x50], 0xffff
add rdi, 0x190
mov eax, dword [rdi]
lea ecx, [rax - 1]
test eax, eax
cmove cx, r15w
mov word [rbx + 0x50], cx
lea r15, [0x1400ab1aa]
sub r15d, r13d
mov eax, dword [rdi]
mov r12d, 1
test eax, eax
cmovne r12d, eax
lea ebx, [r12 + r15]
mov edx, dword [rdi + 4]
cmp ebx, edx
jl 0x14005686f
add edx, edx
cmp ebx, edx
cmovg edx, ebx
mov rcx, rdi
call fcn.14001eef0
mov ecx, dword [rdi + 4]
cmp ebx, ecx
jle 0x140056896
test ecx, ecx
je 0x140056885
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
lea r14d, [rcx + rax]
mov edx, ebx
cmp r14d, ebx
cmovg edx, r14d
mov rcx, rdi
call fcn.14001eef0
mov dword [rdi], ebx
movsxd r8, r15d
lea eax, [r12 - 1]
movsxd rcx, eax
add rcx, qword [rdi + 8]
mov rdx, r13
call sub.VCRUNTIME140.dll_memcpy
movsxd rcx, ebx
mov rax, qword [rdi + 8]
mov byte [rcx + rax - 1], 0
mov r12, qword [rsp + 0x48]
xor r15d, r15d
call fcn.140035e30
mov rcx, qword [rsi + 0x80]
mov rdx, qword [rsi + 0x88]
cmp rcx, rdx
je 0x1400570da
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
movdqa xmm1, xmmword [0x1400abcf0]
movdqu xmmword [rbp + 0x10], xmm1
mov byte [rbp], 0
mov qword [rsp + 0x78], r15
mov byte [rsp + 0x30], 0
lea rbx, [r12 + 0x19f0]
mov qword [rbp - 0x60], rbx
mov rax, qword [0x1400c46e8]
movss xmm2, dword [rax + 0x3d60]
addss xmm2, dword [rax + 0x3938]
sub rdx, rcx
sar rdx, 4
mov rcx, rbx
call fcn.140004760
mov rcx, rbx
call fcn.1400050e0
test al, al
je 0x14005708e
movsxd r12, dword [r12 + 0x19f8]
mov dword [rsp + 0x38], r12d
mov rax, qword [rsp + 0x48]
cmp r12d, dword [rax + 0x19fc]
jge 0x14005704b
mov eax, r12d
mov rcx, qword [rsp + 0x48]
nop word [rax + rax]
test r12, r12
js 0x140057032
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov rcx, qword [rsi + 0x80]
mov rax, qword [rsi + 0x88]
sub rax, rcx
sar rax, 4
cmp r12, rax
jae 0x1400569c6
mov rdi, r12
add rdi, rdi
mov rax, qword [rcx + rdi*8 + 8]
test rax, rax
je 0x1400569ae
lock inc dword [rax + 8]
mov r13, qword [rcx + rdi*8]
mov qword [rbp - 0x10], r13
mov rdi, qword [rcx + rdi*8 + 8]
mov qword [rbp - 8], rdi
movdqa xmm1, xmmword [rbp - 0x10]
jmp 0x1400569dd
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x10], xmm1
psrldq xmm0, 8
movq rdi, xmm0
movq r13, xmm1
test rdi, rdi
je 0x140056ff6
cmp dword [rdi + 8], 0
je 0x140056ff6
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
lock inc dword [rdi + 8]
movdqa xmmword [rsp + 0x50], xmm1
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rbp]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
call fcn.140057750
lea r8, [r13 + 0x550]
lea rdx, [rsp + 0x50]
lea rcx, [rsi + 0xc0]
call fcn.1400613f0
lea r8, [r13 + 0x550]
mov rbx, qword [rsp + 0x60]
mov rdx, rbx
call fcn.1400614c0
test al, al
jne 0x140056a57
mov rbx, qword [rsi + 0xc0]
cmp rbx, qword [rsi + 0xc0]
setne r15b
movaps xmm1, xmm8
xor ecx, ecx
call fcn.1400335d0
mov rax, qword [0x1400c46e8]
mov r14, qword [rax + 0x4e50]
test r14, r14
je 0x140056fa7
cmp byte [r14 + 0x237], 0
je 0x140056ab0
mov ecx, dword [r14 + 0x74]
lea eax, [rcx + 1]
cmp eax, dword [r14 + 0x6c]
jge 0x140056ab0
cmp ecx, 0xffffffff
je 0x140056aa8
mov rcx, r14
call fcn.140034200
mov edx, dword [r14 + 0x74]
inc edx
jmp 0x140056abd
movaps xmm1, xmm8
xor ecx, ecx
call fcn.1400335d0
xor edx, edx
mov rcx, r14
call fcn.140034030
movsxd rax, dword [r14 + 0x74]
imul rcx, rax, 0x70
mov rax, qword [r14 + 0x18]
cmp byte [rcx + rax + 0x67], 0
je 0x140056fa7
mov qword [rsp + 0x70], 0
lea rcx, [r13 + 0x550]
cmp qword [rcx + 0x18], 0xf
jbe 0x140056af6
mov rcx, qword [rcx]
lea r9, [rsp + 0x70]
mov r8d, 0x1000002
movzx edx, r15b
call fcn.140042f70
test al, al
je 0x140056fa7
mov r8, qword [rsi + 0x98]
lea rdx, [rbp - 0x58]
mov rcx, rsi
call fcn.140051f00
nop
mov r8, qword [rax + 0x10]
test r8, r8
jne 0x140056b3e
mov r8d, 1
lea rdx, [0x1400ab08c]
jmp 0x140056b50
cmp rsi, rax
je 0x140056b59
cmp qword [rax + 0x18], 0xf
jbe 0x140056b4d
mov rax, qword [rax]
mov rdx, rax
mov rcx, rsi
call fcn.1400473a0
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x140056b94
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056b8f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005705d
call fcn.140095280
xor r15b, r15b
cmp dword [rdi + 8], 0
je 0x140056f9b
lea rcx, [r13 + 0x550]
lea r14, [rcx + 0x10]
mov r8, qword [r14]
cmp qword [rcx + 0x18], 0xf
jbe 0x140056bb9
mov rcx, qword [rcx]
cmp r8, 2
jne 0x140056c4f
lea rdx, [0x1400ab184]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
sete al
test al, al
je 0x140056c4f
mov r8, qword [rsi + 0x28]
mov rax, r8
sub rax, qword [rsi + 0x20]
sar rax, 5
cmp rax, 1
jbe 0x140056f9b
add r8, 0xffffffffffffffc0
lea rdx, [rbp - 0x80]
mov rcx, rsi
call fcn.140051f00
mov rdx, rax
mov rcx, rsi
call fcn.14005aa20
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x140056c47
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056c42
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140057064
call fcn.140095280
mov r15b, 1
jmp 0x140056f9b
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x20], 0xf
mov byte [rbp - 0x38], r15b
mov r8b, 0x5c
mov edx, 1
lea rcx, [rbp - 0x80]
cmp byte [rsi + 0x1190], 0
je 0x140056db4
call fcn.14005aae0
or dword [rsp + 0x40], 1
lea rdx, [r13 + 0x550]
lea r8, [rbp - 0x80]
lea rcx, [rsp + 0x50]
call fcn.14005cf80
mov rbx, rax
lea rax, [rbp - 0x38]
cmp rax, rbx
je 0x140056d1c
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x140056ce9
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056ce4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005706b
call fcn.140095280
xor r14d, r14d
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], 0xf
mov byte [rbp - 0x38], r14b
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x28], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 0xf
mov byte [rbx], r14b
jmp 0x140056d1f
xor r14d, r14d
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140056d5c
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056d57
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005706b
call fcn.140095280
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x140056edb
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056ed6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140056ed6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rbx, [r13 + 0x550]
call fcn.14005aae0
or dword [rsp + 0x40], 2
lea r8, [rbp - 0x80]
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.14005cf80
nop
cmp qword [rbx + 0x18], 0xf
jbe 0x140056de1
mov rbx, qword [rbx]
mov r8, qword [r14]
mov rdx, rbx
mov rcx, rax
call fcn.14005ba50
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
xor r14d, r14d
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], r14b
or dword [rsp + 0x40], 4
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x140056e48
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056e43
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140057072
call fcn.140095280
movups xmmword [rbp - 0x38], xmm6
movups xmmword [rbp - 0x28], xmm7
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140056e8d
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056e88
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140057079
call fcn.140095280
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x140056edb
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056ed6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140057080
call fcn.140095280
mov rcx, qword [rsi + 0xf8]
mov rax, qword [rcx]
lea rdx, [rbp - 0x38]
call qword [rax + 8]
test al, al
je 0x140056f60
cmp byte [rsi + 0x1190], 0
je 0x140056f3a
lea rdx, [r13 + 0x550]
cmp rsi, rdx
je 0x140056f1b
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140056f13
mov rdx, qword [rdx]
mov rcx, rsi
call fcn.1400473a0
lea rcx, [rsi + 0x11e8]
cmp rcx, rsi
je 0x140056f5d
mov rdx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x140056f34
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
jmp 0x140056f58
lea rax, [rbp - 0x38]
cmp rsi, rax
je 0x140056f5d
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0xf
cmova rdx, qword [rbp - 0x38]
mov r8, qword [rbp - 0x28]
mov rcx, rsi
call fcn.1400473a0
mov r15b, 1
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x140056f9b
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056f96
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140057087
call fcn.140095280
mov byte [rsi + 0x102], r15b
call fcn.140017680
cmp qword [rsp + 0x78], 0
je 0x140056fb4
call fcn.1400122f0
cmp byte [rsp + 0x30], 0
je 0x140056ff6
mov r8, qword [0x1400c46e8]
movsxd rax, dword [r8 + 0x4ac8]
cmp eax, 1
jl 0x140056ff6
lea rdx, [rax + rax*4]
mov rcx, qword [r8 + 0x4ad0]
movsxd rax, dword [rcx + rdx*4 - 0x14]
add rax, rax
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
movups xmmword [r8 + rax*8 + 0x39d4], xmm0
dec dword [r8 + 0x4ac8]
test rdi, rdi
je 0x140057029
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140057029
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, ebx
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x140057029
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov rcx, qword [rsp + 0x48]
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
inc r12
cmp eax, dword [rcx + 0x19fc]
jl 0x140056970
mov rbx, qword [rbp - 0x60]
mov rcx, rbx
call fcn.1400050e0
mov r12, qword [rsp + 0x48]
jmp 0x14005693b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [r12 + 0x19f0]
call fcn.140004940
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x1400570da
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400570d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400570d5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140095280
call fcn.1400329b0
mov rbx, qword [0x1400c46e8]
mov rax, qword [rbx + 0x4040]
dec dword [rax + 0x108]
mov rcx, qword [rbx + 0x4040]
cmp qword [rbx + 0x4b68], rcx
jne 0x140057127
cmp byte [rbx + 0x4c01], 0
je 0x140057127
cmp dword [rbx + 0x4b78], 0
jne 0x140057127
mov eax, dword [rbx + 0x4c04]
and eax, 0xfffffff2
or eax, 2
mov dword [rbx + 0x4c04], eax
test dword [rcx + 0x14], 0x1000000
je 0x140057137
mov byte [rbx + 0x3f96], 1
call fcn.140011a10
mov byte [rbx + 0x3f96], 0
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140094fc0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret