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

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xccd0]
mov eax, 0xcdd0
call fcn.1400f1270
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0xce08], rbx
mov qword [rsp + 0xce10], rsi
mov qword [rsp + 0xce18], rdi
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rbp + 0xccc0], rax
mov rdi, rcx
xor esi, esi
mov word [0x1401a7240], si
mov word [0x1401a8240], si
mov word [0x1401a9240], si
mov byte [0x1401a7236], sil
mov edx, dword [0x1401df220]
mov rax, qword gs:[0x58]
mov r8d, 4
mov rcx, qword [rax + rdx*8]
lea r15, [0x1401aa450]
lea r13, [0x1401aa510]
lea r12, [0x1401aa5d0]
mov eax, dword [r8 + rcx]
cmp dword [0x1401aae98], eax
jle 0x1400d3771
lea rcx, [0x1401aae98]
call fcn.1400f1a08
cmp dword [0x1401aae98], 0xffffffff
jne 0x1400d3771
mov rcx, r15
call fcn.14008e328
nop
mov rcx, r13
call fcn.14008e328
nop
mov rcx, r12
call fcn.14008e328
nop
lea rcx, [0x14010df1c]
call fcn.1400f1818
nop
lea rcx, [0x1401aae98]
call fcn.1400f19a8
mov qword [0x1401a7228], r15
mov rcx, r15
call fcn.14008e520
mov rcx, r13
call fcn.14008e520
mov rcx, r12
call fcn.14008e520
mov al, byte [0x140147ca4]
mov byte [0x1401aae97], al
test rdi, rdi
jne 0x1400d37d1
mov qword [rsp + 0x20], r15
lea r9, [0x1400d40b0]
mov r8, qword [0x140147cd8]
lea rdx, str.FINDFILES
mov rcx, qword [0x14017f140]
call qword [sym.imp.USER32.dll_DialogBoxParamW]
test rax, rax
je 0x1400d407f
lea r9, [0x1400d4e6c]
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 9]
call fcn.1400c83d4
lea rcx, str.HELPSearchResults
call fcn.1400c9838
mov r14d, 1
cmp byte [0x1401aae93], sil
je 0x1400d3808
mov cl, r14b
call fcn.140049d78
test rdi, rdi
je 0x1400d3883
mov r8d, 0x40a
lea rdx, [0x14015eb34]
lea rcx, [rbp + 0x84a0]
call fcn.14008e2e4
mov word [0x1401aae91], 0x101
mov byte [0x1401aae90], sil
lea rdx, [0x14010f558]
mov rcx, r12
call fcn.14008e364
lea rbx, [0x140160b58]
mov rcx, rbx
call fcn.14008e548
jmp 0x1400d3865
lea rdx, [rbp + 0x8cc0]
mov rcx, r15
call fcn.14008e364
mov r8d, 0x800
lea rdx, [rbp + 0x8cc0]
mov rcx, rbx
call fcn.14008e438
test al, al
jne 0x1400d3856
jmp 0x1400d3925
mov word [rbp + 0x84a0], si
cmp word [0x1401aa690], si
je 0x1400d3925
mov ebx, 0x40a
cmp byte [0x1401aae94], sil
je 0x1400d38bb
mov r8d, ebx
lea rdx, [0x14011d40c]
lea rcx, [rbp + 0x84a0]
call fcn.14008e2ac
cmp byte [0x1401aae95], sil
je 0x1400d38da
mov r8, rbx
lea rdx, [0x14011d410]
lea rcx, [rbp + 0x84a0]
call fcn.14008e2ac
cmp byte [0x1401aae96], sil
je 0x1400d38f9
mov r8, rbx
lea rdx, [0x14011d414]
lea rcx, [rbp + 0x84a0]
call fcn.14008e2ac
mov r8, rbx
lea rdx, [0x140118fa8]
lea rcx, [rbp + 0x84a0]
call fcn.14008e2ac
mov r8, rbx
lea rdx, [0x1401aa690]
lea rcx, [rbp + 0x84a0]
call fcn.14008e2ac
lea r12, [0x14016b340]
cmp byte [0x140147ca4], sil
je 0x1400d394a
mov r8d, 0x800
lea rdx, [rbp + 0xbcc0]
mov rcx, r12
call fcn.1400054d8
mov dword [0x1401a7230], esi
mov byte [0x1401a7235], sil
mov byte [0x1401a7234], r14b
cmp byte [0x1401aae90], sil
je 0x1400d3976
cmp byte [0x1401aae97], sil
mov r8d, 2
je 0x1400d3979
mov r8d, esi
test rdi, rdi
cmove rdi, r13
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov rdx, rdi
lea rcx, [rbp + 0x32d0]
call fcn.14008a674
nop
mov qword [rbp + 0xf60], rsi
mov qword [rbp + 0xf68], rsi
mov qword [rbp + 0xf70], rsi
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x32d0]
call fcn.14008b1d4
test eax, eax
jne 0x1400d3f6b
lea r13, [0x1401aa5d0]
mov al, byte [0x140147ca6]
test al, al
jne 0x1400d3f71
call fcn.14004628c
mov edx, dword [0x1401a7230]
test edx, edx
je 0x1400d3a06
mov r8b, byte [0x1401aae97]
mov rcx, qword [0x140148cf0]
call fcn.1400d7500
mov dword [0x1401a7230], esi
cmp word [rsp + 0x50], 0x2e
jne 0x1400d3a1b
cmp word [rsp + 0x52], 0x5c
lea rdx, [rsp + 0x54]
je 0x1400d3a20
lea rdx, [rsp + 0x50]
mov r8d, 0x800
lea rcx, [rbp + 0x9cc0]
call fcn.14008e2e4
mov edx, 0x50
lea rcx, [rbp + 0x9cc0]
call fcn.1400462e8
mov rbx, rax
mov ecx, 0x523
call fcn.1400881f8
mov r8, rax
mov r9, rbx
mov edx, 0x800
lea rcx, [rbp + 0xacc0]
call fcn.1400026d0
lea r8, [rbp + 0xacc0]
mov edx, 0x9b
mov rcx, qword [0x140148cf0]
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp byte [0x1401aae92], sil
je 0x1400d3e09
cmp byte [rbp + 0xf5c], sil
jne 0x1400d3e09
mov rcx, r13
call fcn.14008e548
jmp 0x1400d3ab8
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.14006cf30
test al, al
jne 0x1400d3acd
mov rcx, r13
call fcn.14008e3d8
test rax, rax
mov rbx, rax
jne 0x1400d3aa4
jmp 0x1400d3e09
mov dil, r14b
cmp word [rbx], 0x2a
jne 0x1400d3b18
cmp word [rbx + 2], si
jne 0x1400d3b18
mov al, byte [0x1401aae97]
test al, al
jne 0x1400d3b1e
mov byte [rsp + 0x38], r14b
mov byte [rsp + 0x30], sil
mov byte [rsp + 0x28], sil
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, r12
call fcn.14000596c
mov dil, al
test al, al
je 0x1400d3e09
mov al, byte [0x1401aae97]
mov ebx, 2
mov qword [0x140149e40], rbx
movzx ecx, byte [0x14016b8c4]
test al, al
cmovne ecx, r14d
mov byte [0x14016b8c4], cl
cmp word [rbp + 0x84a0], si
setne r8b
mov r9d, r14d
lea rdx, [rsp + 0x50]
mov rcx, r12
call fcn.140005d3c
cmp eax, ebx
jne 0x1400d3b6e
call fcn.140047a3c
test al, al
je 0x1400d3f6b
jmp 0x1400d3f52
cmp eax, r14d
jne 0x1400d3e09
mov word [rbp + 0x8cc0], si
mov byte [rsp + 0x38], r14b
mov byte [rsp + 0x30], sil
mov byte [rsp + 0x28], sil
mov qword [rsp + 0x20], rsi
mov r9d, 0x800
lea r8, [rbp + 0x8cc0]
lea rdx, [rsp + 0x50]
mov rcx, r12
call fcn.14000596c
lea rdx, [rbp + 0x8cc0]
lea rcx, [rsp + 0x50]
call fcn.140091328
test eax, eax
je 0x1400d3c64
lea rcx, [rbp + 0x8cc0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400d3f52
mov r8d, 0x800
lea rdx, [0x14010f568]
lea rcx, [rbp + 0x8cc0]
call fcn.140079770
lea rdx, [rbp + 0x8cc0]
lea rcx, [rsp + 0x50]
call fcn.140091328
test eax, eax
je 0x1400d3c1f
lea rcx, [rbp + 0x8cc0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400d3f52
mov r8d, 0x800
lea rdx, [0x14010f560]
lea rcx, [rbp + 0x8cc0]
call fcn.140079770
lea rdx, [rbp + 0x8cc0]
lea rcx, [rsp + 0x50]
call fcn.140091328
test eax, eax
je 0x1400d3c64
lea rcx, [rbp + 0x8cc0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
movzx edi, dil
cmp eax, 0xffffffff
cmovne edi, esi
test dil, dil
je 0x1400d3f52
mov rcx, r12
cmp word [rbp + 0x84a0], si
jne 0x1400d3d27
mov ebx, esi
mov qword [rbp + 0x3260], rsi
mov qword [rbp + 0x3268], rsi
mov qword [rbp + 0x3270], rsi
jmp 0x1400d3d0b
cmp byte [0x140147ca6], sil
jne 0x1400d3f52
add ebx, r14d
test bl, 0x1f
jne 0x1400d3cb0
call fcn.14004628c
mov rcx, r15
call fcn.14008e548
jmp 0x1400d3cd3
mov r8d, 4
lea rdx, [rbp + 0x21d0]
mov rcx, rax
call fcn.14006cf30
test al, al
jne 0x1400d3ce2
mov rcx, r15
call fcn.14008e3d8
test rax, rax
jne 0x1400d3cba
jmp 0x1400d3d08
mov ecx, dword [rbp + 0x3278]
call fcn.140069520
mov r8b, al
lea r9, [0x14011153c]
lea rdx, [rbp + 0x21d0]
lea rcx, [rsp + 0x50]
call fcn.1400da854
mov rcx, r12
mov r8b, r14b
lea rdx, [rbp + 0x21d0]
call fcn.140005554
test al, al
jne 0x1400d3c96
jmp 0x1400d3f52
lea rdx, [rbp + 0xfa0]
call fcn.1400054f8
mov rcx, r12
call fcn.140005204
bt rax, 0xa
jae 0x1400d3d60
mov ecx, 0x3ac
call fcn.1400881f8
mov rdx, rax
lea rcx, [0x14015fb52]
call fcn.1400d6844
jmp 0x1400d3f52
xor ecx, ecx
call fcn.1400c0990
mov r8d, 0x800
lea rdx, [0x14015fb52]
mov rcx, r12
call fcn.140005104
mov eax, dword [rbp + 0x10e8]
mov dword [0x14015caf4], eax
lea rcx, [0x140160b58]
call fcn.14008e520
mov rcx, r15
call fcn.14008e548
jmp 0x1400d3dad
mov rdx, rax
lea rcx, [0x140160b58]
call fcn.14008e364
mov rcx, r15
call fcn.14008e3d8
test rax, rax
jne 0x1400d3d9e
mov byte [0x14015aa11], r14b
mov qword [0x14015a9f0], rsi
mov qword [0x14015a9f8], rsi
lea r9, [rbp + 0x84a0]
lea r8, [0x14011d418]
mov edx, 0x810
lea rcx, [0x14015eb32]
call fcn.1400026d0
mov byte [0x14015eb18], r14b
mov qword [0x140149e40], rbx
mov rcx, r12
call fcn.140006d94
jmp 0x1400d3f52
cmp byte [0x1401aae91], sil
je 0x1400d3f52
cmp byte [rbp + 0xf5c], sil
je 0x1400d3e2c
cmp word [rbp + 0x84a0], si
jne 0x1400d3f52
mov rcx, r15
call fcn.14008e548
jmp 0x1400d3e4d
mov r8d, 4
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.14006cf30
test al, al
jne 0x1400d3e5f
mov rcx, r15
call fcn.14008e3d8
test rax, rax
jne 0x1400d3e36
jmp 0x1400d3f52
mov ecx, 0x10000
call fcn.1400f8130
mov rbx, rax
test rax, rax
jne 0x1400d3e82
lea rcx, [0x14017f200]
call fcn.14006338c
jmp 0x1400d3f52
cmp word [rbp + 0x84a0], si
jne 0x1400d3ec2
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 0x84a0]
xor edx, edx
xor ecx, ecx
call fcn.14006af24
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.14006af24
jmp 0x1400d3f4a
lea rcx, [rbp + 0x11a0]
call fcn.140067cfc
nop
mov r8d, 4
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x11a0]
call fcn.1400682d0
test al, al
jne 0x1400d3ef8
lea rcx, [rbp + 0x11a0]
call fcn.140067d38
jmp 0x1400d3f52
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x84a0]
xor edx, edx
xor ecx, ecx
jmp 0x1400d3f1d
movsxd rdx, eax
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rcx, rbx
xor r9d, r9d
call fcn.14006af24
mov r8d, 0x10000
mov rdx, rbx
lea rcx, [rbp + 0x11a0]
call fcn.140068534
test eax, eax
jne 0x1400d3f0f
lea rcx, [rbp + 0x11a0]
call fcn.140067d38
mov rcx, rbx
call fcn.1400f8128
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x32d0]
call fcn.14008b1d4
test eax, eax
je 0x1400d39d0
mov al, byte [0x140147ca6]
mov byte [0x1401a7234], sil
test al, al
je 0x1400d3f8f
movzx eax, al
cmp byte [0x1401a7236], sil
cmovne eax, esi
mov byte [0x140147ca6], al
mov edx, dword [0x1401a7230]
test edx, edx
je 0x1400d3fb2
mov r8b, byte [0x1401aae97]
mov rcx, qword [0x140148cf0]
call fcn.1400d7500
mov dword [0x1401a7230], esi
mov byte [0x1401a7235], sil
mov ecx, 0x271
call fcn.1400881f8
mov r8, rax
mov edx, 0x9b
mov rcx, qword [0x140148cf0]
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp byte [0x140147ca6], sil
je 0x1400d3ff0
mov rcx, qword [0x140148cf0]
call qword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x1400d3ff5
call fcn.1400c9850
cmp word [0x1401a8240], si
je 0x1400d401f
lea rdx, [0x1401a8240]
lea rbx, [0x14016e120]
mov rcx, rbx
call fcn.1400411fc
cmp word [0x1401a7240], si
je 0x1400d4049
jmp 0x1400d4037
cmp word [0x1401a7240], si
je 0x1400d405a
lea rbx, [0x14016e120]
mov rcx, rbx
call fcn.14003ef14
mov r8b, r14b
lea rdx, [0x1401a7240]
mov rcx, rbx
call fcn.14003e9c4
lea rdx, [0x1401a9240]
mov rcx, rbx
call fcn.1400407cc
jmp 0x1400d4073
cmp byte [0x140147ca4], sil
je 0x1400d4073
lea rdx, [rbp + 0xbcc0]
mov rcx, r12
call fcn.140006dcc
nop
lea rcx, [rbp + 0x32d0]
call fcn.14008a744
mov rcx, qword [rbp + 0xccc0]
xor rcx, rsp
call fcn.1400f12e0
lea r11, [rsp + 0xcdd0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret