Function at 0x180013730
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x9c8]
sub rsp, 0xac8
mov ebx, dword [rbp + 0xa10]
mov edi, ecx
imul eax, ecx, 0x701
mov r13d, ecx
mov dword [rsp + 0x78], eax
cmp ecx, eax
ja 0x180013b3d
mov r12, qword [rbp + 0xa30]
xor edx, edx
mov r15d, dword [rbp + 0xa10]
mov r14, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x58]
nop word [rax + rax]
cmp r13d, 0xa35c
ja 0x180013b0c
je 0x1800139aa
mov eax, r13d
sub eax, 0x2a
je 0x1800138fe
sub eax, 0xb5
je 0x180013899
sub eax, 0x20
je 0x1800137fc
sub eax, 0xa
je 0x180013b9f
cmp eax, 0x8dd3
jne 0x180013b89
test r8, r8
je 0x180013b89
movzx eax, word [rbp + 0x946]
mov word [r8], ax
jmp 0x180013b89
xorps xmm0, xmm0
lea rcx, [rbp + 0xc0]
mov r14, rdx
movdqa xmmword [rbp - 0x80], xmm0
xor edx, edx
mov r8d, 0x104
mov r15d, 1
call fcn.180070440
lea rcx, [rbp - 0x50]
lea rax, [rbp + 0xc0]
lea edx, [r15 + 1]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, r15
jne 0x180013830
mov eax, dword [rax]
mov r8, qword [rbp + 0xa20]
mov r9, qword [rbp + 0xa28]
mov dword [rcx], eax
jmp 0x180013b89
mov eax, dword [r12]
lea r9, [rsp + 0x50]
mov dword [rbp + 0x92c], eax
lea rdx, [rbp + 0x5d0]
mov rax, qword [rbp + 0xa38]
xor r8d, r8d
mov ecx, 0xad
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x50], 0x200
call fcn.18006bdd0
mov ecx, 0xffffff19
lea rdx, [rbp + 0x3d0]
call qword [0x1800d5910]
mov r8, qword [rbp + 0xa20]
xor edx, edx
mov r9, qword [rbp + 0xa28]
mov word [0x1800d5918], dx
jmp 0x180013b89
mov rax, qword [rbp + 0xa40]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
mov eax, dword [rax]
mov dword [rsp + 0x68], eax
mov eax, dword [r9]
lea r9, [rsp + 0x68]
mov dword [rsp + 0x70], eax
movzx eax, word [r8]
mov r8d, 0xdd
mov word [rsp + 0x50], ax
mov rax, qword [rbp + 0xa38]
movzx eax, word [rax]
mov word [rsp + 0x60], ax
mov rax, qword [r12]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call fcn.1800055a0
mov rcx, rax
test rax, rax
je 0x180013afa
mov rax, qword [rbp + 0xa18]
lea r8, [rsp + 0x58]
xor r9d, r9d
mov eax, dword [rax]
mov dword [rcx + 8], eax
lea edx, [r9 + 0x37]
mov rax, qword [r12]
xor ecx, ecx
mov qword [rsp + 0x58], rax
call fcn.180030a70
mov r8, qword [rbp + 0xa20]
xor edx, edx
mov r9, qword [rbp + 0xa28]
jmp 0x180013b89
mov eax, dword [r12 + 0x1c]
lea r9, [rsp + 0x68]
mov dword [rsp + 0x70], eax
lea r8, [rsp + 0x50]
mov eax, dword [r12 + 0x18]
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x60], eax
mov esi, edx
mov eax, dword [r12 + 0x10]
mov edx, 0xc0
mov dword [rsp + 0x68], eax
mov eax, dword [r12 + 0x14]
mov dword [rsp + 0x50], eax
mov rax, qword [r12 + 8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
call fcn.180023940
cmp dword [r12 + 0x1c], 0
mov dword [r12], eax
je 0x180013af7
test r15d, r15d
je 0x180013ada
nop word [rax + rax]
mov edi, 2
mov eax, edi
sub eax, 2
je 0x180013aa3
sub eax, 1
je 0x180013a90
cmp eax, 1
jne 0x180013ac0
lea r8d, [rax + 9]
mov ecx, esi
lea rdx, [rbp - 0x80]
call fcn.1800743d0
lea r8, [rbp - 0x80]
mov edx, 0x104
mov rcx, r14
call fcn.180073290
lea r8, str..bmp
mov edx, 0x104
lea rcx, [rbp - 0x50]
call fcn.1800732f0
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x180013a89
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x180013ac0
xor r15d, r15d
dec esi
jmp 0x180013ac0
mov edx, 0x2e
lea rcx, [rbp - 0x50]
call fcn.18006f960
mov r14, rax
jmp 0x180013ac0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r8, qword [r12 + 8]
lea rcx, [rbp - 0x50]
mov edx, 0x104
inc esi
call fcn.180073290
inc edi
cmp edi, 5
jb 0x180013a25
test r15d, r15d
jne 0x180013a20
mov edi, dword [rbp + 0xa10]
mov r8, qword [rbp + 0xa20]
xor edx, edx
mov r9, qword [rbp + 0xa28]
mov dword [r12 + 0x20], esi
mov rsi, r12
jmp 0x180013b89
mov rsi, r12
mov r8, qword [rbp + 0xa20]
xor edx, edx
mov r9, qword [rbp + 0xa28]
jmp 0x180013b89
cmp r13d, 0xa9c4
je 0x180013d32
cmp r13d, 0x11cd9
je 0x180013b79
cmp r13d, 0x145b9
je 0x180013b6b
cmp r13d, 0x1aad6
je 0x180013b53
cmp r13d, 0x1e816
jne 0x180013b89
mov eax, ebx
add rsp, 0xac8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, qword [rbp + 0xa40]
test rcx, rcx
je 0x180013b89
movzx eax, word [rbp + 0x94a]
mov word [rcx], ax
jmp 0x180013b89
mov dword [rsi + 4], 1
mov ebx, 1
jmp 0x180013b89
test r9, r9
je 0x180013b89
movzx eax, word [rbp + 0x948]
mov word [r9], ax
imul eax, edi, 0xa3
add r13d, eax
cmp r13d, dword [rsp + 0x78]
jbe 0x1800137a0
jmp 0x180013b3d
mov rcx, qword [rbp + 0xa38]
movzx edi, word [r8 + 2]
movzx esi, word [r8]
mov ecx, dword [rcx]
sub ecx, 0x4e
je 0x180013d3c
sub ecx, 0xc2
je 0x180013bd0
cmp ecx, 1
jne 0x180013d8b
jmp 0x180013c72
mov ebx, 0x106
nop word [rax + rax]
mov eax, ebx
sub eax, 0x105
je 0x180013d32
cmp eax, 1
jne 0x180013c62
mov rcx, qword [r12]
call qword [sym.imp.USER32.dll_GetParent]
xor r8d, r8d
lea rdx, [0x180009740]
mov rcx, rax
call qword [sym.imp.USER32.dll_EnumChildWindows]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r8d, r8d
lea rdx, [0x18006c0e0]
mov r9d, eax
lea ecx, [r8 + 4]
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [0x1800d57a0], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r8d, r8d
lea rdx, [0x18005eef0]
mov r9d, eax
lea ecx, [r8 + 0xc]
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [0x1800d57b8], rax
mov rax, qword [r12]
mov qword [0x1800c56a8], rax
dec ebx
cmp ebx, 0x104
ja 0x180013be0
xor edx, edx
mov eax, 0x3ff
mov ecx, edx
cmp si, ax
mov eax, edx
sete cl
test di, di
sete al
test eax, ecx
je 0x180013d32
mov ebx, 0xb4
lea rdi, [0x1800c5280]
nop dword [rax + rax]
cmp ebx, 0xb4
je 0x180013cff
cmp ebx, 0x5fa0
je 0x180013cdc
cmp ebx, 0xbe8c
jne 0x180013d20
mov rcx, qword [0x1800c56a8]
call qword [sym.imp.USER32.dll_GetParent]
xor r9d, r9d
mov edx, 0x111
mov rcx, rax
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x180013d1e
mov rcx, rdx
nop
movzx eax, byte [rbp + rcx + 0x1d0]
mov byte [rcx + rdi], al
lea rcx, [rcx + 1]
test al, al
jne 0x180013ce0
mov dword [0x1800c5384], 1
jmp 0x180013d20
mov rcx, qword [0x1800c56a8]
lea r8, [rbp + 0x1d0]
mov r9d, 0x104
mov edx, 0x3fe
call qword [sym.imp.USER32.dll_GetDlgItemTextW]
xor edx, edx
add ebx, 0x5eec
cmp ebx, 0x11cc4
jbe 0x180013ca0
mov eax, 1
jmp 0x180013b3f
mov rax, qword [r9]
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x58], rax
xor r9d, r9d
mov rax, qword [r12]
xor r8d, r8d
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rdx
xor edx, edx
mov dword [rsp + 0x20], 0xbd
call fcn.180029220
xor edx, edx
mov eax, edx
jmp 0x180013b3f