Function at 0x14002cc10
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, [rax - 0x138]
sub rsp, 0x200
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
mov rax, qword [0x1400db010]
xor rax, rsp
mov qword [rbp + 0xc8], rax
mov r13, 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 [0x1400cbbbc]
movss dword [rbp + 0xa0], xmm0
movss xmm0, dword [rsp + 0x3c]
mulss xmm0, dword [0x1400cbbbc]
movss dword [rbp + 0xa4], xmm0
lea rcx, str.IGFD_Path_Popup
call fcn.140015cc0
test al, al
je 0x14002d7a0
lea rdi, [r13 + 0x10]
mov rax, qword [0x1400dc040]
mov rbx, qword [rax + 0x3ea0]
mov rdx, r13
mov rcx, rbx
call fcn.140008130
mov esi, eax
add rbx, 0xe8
mov ecx, dword [rbx]
mov r8d, dword [rbx + 4]
lea r14d, [r15 + 8]
cmp ecx, r8d
jne 0x14002ccfe
inc ecx
test r8d, r8d
je 0x14002ccec
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x14002ccef
mov eax, r14d
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.14001d490
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], esi
inc dword [rbx]
mov rbx, qword [0x1400dc040]
mov rax, qword [rbx + 0x3ea0]
movsxd r8, dword [rax + 0xe8]
mov rax, qword [rax + 0xf0]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
lea rcx, str.FileDialog_pathTable
call fcn.140003030
mov esi, eax
cmp dword [rbx + 0x3ee8], eax
jne 0x14002cd56
lea r8, str.FileDialog_pathTable
mov edx, 0xb
mov ecx, eax
call fcn.14001c180
xorps xmm8, xmm8
movss dword [rsp + 0x28], xmm8
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9d, 0x2022044
mov r8d, 1
mov edx, esi
lea rcx, str.FileDialog_pathTable
call fcn.14005bf30
test al, al
je 0x14002d747
call fcn.14005f0f0
lea r12, str.File_name
mov rax, qword [0x1400dc040]
mov rsi, qword [rax + 0x4ae8]
movsx rcx, byte [rsi + 0x1fb]
cmp ecx, dword [rsi + 0x74]
jge 0x14002cede
imul rbx, rcx, 0x68
add rbx, qword [rsi + 0x18]
inc cl
mov byte [rsi + 0x1fb], cl
mov r8d, 0x4008
mov rdx, rbx
mov rcx, rsi
call fcn.14005d0d0
mov dword [rbx + 0x30], r15d
mov eax, dword [rbx]
mov dword [rbx + 0x1c], 0xbf800000
cmp byte [rsi + 0x213], r15b
je 0x14002ce3c
comiss xmm8, dword [rbx + 0x10]
jbe 0x14002ce0b
comiss xmm8, dword [rbx + 0x18]
jbe 0x14002ce0b
test r14b, al
je 0x14002ce0b
mov dword [rbx + 0x18], 0xbf800000
test al, 2
je 0x14002ce1a
test byte [rsi + 0x68], 4
jne 0x14002ce1a
mov word [rbx + 0x5b], r15w
test al, 4
je 0x14002ce3c
test byte [rsi + 0x68], r14b
jne 0x14002ce3c
mov byte [rbx + 0x56], r15b
bt eax, 0xf
setb cl
inc cl
movzx eax, byte [rbx + 0x65]
and al, 0xfc
or cl, al
mov byte [rbx + 0x65], cl
mov word [rbx + 0x50], 0xffff
add rsi, 0x190
mov eax, dword [rsi]
lea ecx, [rax - 1]
test eax, eax
cmove cx, r15w
mov word [rbx + 0x50], cx
lea r15, [0x1400c9fba]
sub r15d, r12d
mov eax, dword [rsi]
mov r12d, 1
test eax, eax
cmovne r12d, eax
lea ebx, [r12 + r15]
mov edx, dword [rsi + 4]
cmp ebx, edx
jl 0x14002ce8b
add edx, edx
cmp ebx, edx
cmovg edx, ebx
mov rcx, rsi
call fcn.14001ce80
mov ecx, dword [rsi + 4]
cmp ebx, ecx
jle 0x14002ceb2
test ecx, ecx
je 0x14002cea1
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, rsi
call fcn.14001ce80
mov dword [rsi], ebx
movsxd r8, r15d
lea eax, [r12 - 1]
movsxd rcx, eax
add rcx, qword [rsi + 8]
lea rdx, str.File_name
call sub.VCRUNTIME140.dll_memcpy
movsxd rcx, ebx
mov rax, qword [rsi + 8]
mov byte [rcx + rax - 1], 0
xor r15d, r15d
call fcn.140061450
mov rcx, qword [rdi + 0x80]
mov rdx, qword [rdi + 0x88]
cmp rcx, rdx
je 0x14002d742
xorps xmm0, xmm0
movups xmmword [rbp + 0xa8], xmm0
movdqa xmm1, xmmword [0x1400cbdb0]
movdqu xmmword [rbp + 0xb8], xmm1
mov byte [rbp + 0xa8], 0
mov qword [rsp + 0x58], r15
mov byte [rsp + 0x30], 0
lea rbx, [r13 + 0x1940]
mov qword [rbp - 0x70], rbx
mov rax, qword [0x1400dc040]
movss xmm2, dword [rax + 0x3c00]
addss xmm2, dword [rax + 0x3830]
sub rdx, rcx
sar rdx, 4
mov rcx, rbx
call fcn.140003f60
mov rcx, rbx
call fcn.1400049f0
test al, al
je 0x14002d6f5
movsxd rcx, dword [rbx]
mov dword [rsp + 0x38], ecx
cmp ecx, dword [r13 + 0x1944]
jge 0x14002cf56
mov r13, rcx
mov rax, qword [rsp + 0x48]
nop
test r13, r13
js 0x14002d69a
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
mov rdx, qword [rdi + 0x80]
mov rax, qword [rdi + 0x88]
sub rax, rdx
sar rax, 4
cmp r13, rax
jae 0x14002cfde
mov rcx, r13
add rcx, rcx
mov rax, qword [rdx + rcx*8 + 8]
test rax, rax
je 0x14002cfc1
lock inc dword [rax + 8]
mov rax, qword [rdx + rcx*8]
mov qword [rbp + 0x90], rax
mov r12, qword [rdx + rcx*8 + 8]
mov qword [rbp + 0x98], r12
mov ecx, dword [rsp + 0x38]
jmp 0x14002cff0
movdqa xmmword [rbp + 0x90], xmm0
psrldq xmm0, 8
movq r12, xmm0
test r12, r12
je 0x14002d651
cmp dword [r12 + 8], 0
je 0x14002d651
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x80], xmm0
lock inc dword [r12 + 8]
movdqa xmm6, xmmword [rbp + 0x90]
movdqa xmmword [rbp - 0x80], xmm6
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xa8]
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x80]
call fcn.14002dd90
movq rbx, xmm6
add rbx, 0x2b0
mov r8, rbx
lea rdx, [rbp + 0x18]
lea rcx, [rdi + 0xc0]
call fcn.14003a700
mov rsi, qword [rbp + 0x28]
cmp byte [rsi + 0x19], 0
jne 0x14002d078
lea r8, [rsi + 0x20]
mov rdx, rbx
call fcn.140037f10
test al, al
je 0x14002d07f
mov rsi, qword [rdi + 0xc0]
cmp rsi, qword [rdi + 0xc0]
setne r15b
movaps xmm1, xmm8
xor ecx, ecx
call fcn.14005f210
mov rax, qword [0x1400dc040]
mov r14, qword [rax + 0x4ae8]
test r14, r14
je 0x14002d5ed
cmp byte [r14 + 0x212], 0
je 0x14002d0d8
mov ecx, dword [r14 + 0x7c]
lea eax, [rcx + 1]
cmp eax, dword [r14 + 0x74]
jge 0x14002d0d8
cmp ecx, 0xffffffff
je 0x14002d0d0
mov rcx, r14
call fcn.14005fe40
mov edx, dword [r14 + 0x7c]
inc edx
jmp 0x14002d0e5
movaps xmm1, xmm8
xor ecx, ecx
call fcn.14005f210
xor edx, edx
mov rcx, r14
call fcn.14005fc50
mov ecx, dword [r14 + 0x7c]
mov rax, qword [r14 + 0x60]
bt rax, rcx
jae 0x14002d5ed
mov qword [rsp + 0x50], 0
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14002d115
mov rcx, qword [rbx]
lea r9, [rsp + 0x50]
mov r8d, 0x1000002
movzx edx, r15b
call fcn.140076610
test al, al
je 0x14002d5ed
mov r8, qword [rdi + 0x98]
lea rdx, [rbp - 8]
mov rcx, rdi
call fcn.140027cf0
nop
mov r8, qword [rax + 0x10]
test r8, r8
jne 0x14002d15d
mov r8d, 1
lea rdx, [0x1400c9f0c]
jmp 0x14002d16f
cmp rdi, rax
je 0x14002d178
cmp qword [rax + 0x18], 0x10
jb 0x14002d16c
mov rax, qword [rax]
mov rdx, rax
mov rcx, rdi
call fcn.140033cb0
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x14002d1b3
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002d1ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002d6bd
call fcn.14007fe0c
xor sil, sil
cmp dword [r12 + 8], 0
je 0x14002d5e1
mov r8, qword [rbx + 0x10]
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14002d1d3
mov rcx, qword [rbx]
cmp r8, 2
jne 0x14002d27c
lea rdx, [0x1400c9fac]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14002d27c
mov r8, qword [rdi + 0x28]
mov rax, r8
sub rax, qword [rdi + 0x20]
sar rax, 5
cmp rax, 1
jbe 0x14002d5e1
add r8, 0xffffffffffffffc0
lea rdx, [rbp - 0x68]
mov rcx, rdi
call fcn.140027cf0
mov rdx, rax
mov rcx, rdi
call fcn.140032ba0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x14002d260
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002d25b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002d6c4
call fcn.14007fe0c
mov qword [rbp - 0x58], 0
mov qword [rbp - 0x50], 0xf
mov byte [rbp - 0x68], sil
mov sil, 1
jmp 0x14002d5e1
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
xor r15d, r15d
mov qword [rbp + 0x80], r15
mov qword [rbp + 0x88], 0xf
mov byte [rbp + 0x70], sil
mov r8b, 0x5c
lea edx, [r15 + 1]
cmp byte [rdi + 0x1190], r15b
je 0x14002d398
lea rcx, [rbp - 0x48]
call fcn.140032c60
nop
mov r8, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14002d2c7
mov r8, qword [rbx]
mov r9, qword [rbx + 0x10]
mov rcx, rax
call fcn.1400383e0
movups xmm6, xmmword [rax]
movups xmmword [rbp + 0x30], xmm6
movups xmm7, xmmword [rax + 0x10]
movups xmmword [rbp + 0x40], xmm7
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r14d, dword [rsp + 0x40]
or r14d, 1
mov dword [rsp + 0x40], r14d
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x14002d33d
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002d338
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002d6cb
call fcn.14007fe0c
movups xmmword [rbp + 0x70], xmm6
movups xmmword [rbp + 0x80], xmm7
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x14002d383
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002d37e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002d6d2
call fcn.14007fe0c
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], 0
jmp 0x14002d51c
lea rcx, [rbp - 0x28]
call fcn.140032c60
nop
mov r8, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14002d3af
mov r8, qword [rdi]
mov r9, qword [rdi + 0x10]
mov rcx, rax
call fcn.1400383e0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r14d, dword [rsp + 0x40]
or r14d, 2
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14002d403
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rsp + 0x60]
call fcn.140033e10
movups xmm6, xmmword [rax]
movups xmmword [rbp + 0x50], xmm6
movups xmm7, xmmword [rax + 0x10]
movups xmmword [rbp + 0x60], xmm7
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or r14d, 4
mov dword [rsp + 0x40], r14d
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x14002d476
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002d471
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002d6d9
call fcn.14007fe0c
movups xmmword [rbp + 0x70], xmm6
movups xmmword [rbp + 0x80], xmm7
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x14002d4be
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002d4b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002d6e0
call fcn.14007fe0c
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x14002d50c
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002d507
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002d6e7
call fcn.14007fe0c
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
mov rcx, qword [rdi + 0xf8]
mov rax, qword [rcx]
lea rdx, [rbp + 0x70]
call qword [rax + 8]
test al, al
je 0x14002d5a3
cmp byte [rdi + 0x1190], 0
je 0x14002d577
cmp rdi, rbx
je 0x14002d558
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x14002d54d
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rdi
call fcn.140033cb0
lea rcx, [rdi + 0x11e8]
cmp rcx, rdi
je 0x14002d5a0
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14002d571
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
jmp 0x14002d59b
lea rax, [rbp + 0x70]
cmp rdi, rax
je 0x14002d5a0
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 0x10
cmovae rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x80]
mov rcx, rdi
call fcn.140033cb0
mov sil, 1
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x14002d5e1
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002d5dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002d6ee
call fcn.14007fe0c
mov byte [rdi + 0x102], sil
call fcn.140015ad0
cmp qword [rsp + 0x58], 0
je 0x14002d5fa
call fcn.1400114c0
cmp byte [rsp + 0x30], 0
je 0x14002d63c
mov r8, qword [0x1400dc040]
movsxd rax, dword [r8 + 0x47e8]
cmp eax, 1
jl 0x14002d63c
lea rdx, [rax + rax*4]
mov rcx, qword [r8 + 0x47f0]
movsxd rax, dword [rcx + rdx*4 - 0x14]
add rax, rax
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
movups xmmword [r8 + rax*8 + 0x38a8], xmm0
dec dword [r8 + 0x47e8]
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [r12 + 8], eax
cmp eax, 1
jne 0x14002d691
jmp 0x14002d669
test r12, r12
je 0x14002d695
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [r12 + 8], eax
cmp eax, 1
jne 0x14002d695
mov rbx, qword [rbp + 0x98]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14002d691
mov rcx, qword [rbp + 0x98]
mov rax, qword [rcx]
call qword [rax + 8]
mov ecx, dword [rsp + 0x38]
mov rax, qword [rsp + 0x48]
inc ecx
mov dword [rsp + 0x38], ecx
inc r13
cmp ecx, dword [rax + 0x1944]
jl 0x14002cf80
mov r13, qword [rsp + 0x48]
mov rbx, qword [rbp - 0x70]
jmp 0x14002cf56
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
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, rbx
call fcn.1400041c0
nop
mov rdx, qword [rbp + 0xc0]
cmp rdx, 0x10
jb 0x14002d742
inc rdx
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002d73d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002d73d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007fe0c
call fcn.14005e6b0
mov rbx, qword [0x1400dc040]
mov rax, qword [rbx + 0x3ea0]
dec dword [rax + 0xe8]
mov rax, qword [rbx + 0x3ea0]
cmp qword [rbx + 0x4880], rax
jne 0x14002d784
cmp byte [rbx + 0x48dd], 0
je 0x14002d784
cmp dword [rbx + 0x48bc], 0
jne 0x14002d784
or dword [rbx + 0x48e0], 2
test dword [rax + 0xc], 0x1000000
je 0x14002d794
mov byte [rbx + 0x3e2e], 1
call fcn.140010f20
mov byte [rbx + 0x3e2e], 0
mov rcx, qword [rbp + 0xc8]
xor rcx, rsp
call fcn.14007fba0
lea r11, [rsp + 0x200]
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