Function at 0x140020370
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push rdi
mov eax, 0x20f0
call fcn.1403aeb10
sub rsp, rax
mov qword [rsp + 0xd8], 0xfffffffffffffffe
mov qword [rsp + 0x2108], rbx
mov qword [rsp + 0x2110], rsi
mov rax, qword [0x1404e41f8]
xor rax, rsp
mov qword [rsp + 0x20e0], rax
mov rsi, rcx
mov rdx, rcx
lea rcx, [rsp + 0x10e0]
call qword [sym.imp.SHLWAPI.dll_StrCpyW]
lea rcx, [rsp + 0x10e0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400203e4
xor edx, edx
lea rcx, [rsp + 0x10e0]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rdx, [rsp + 0x10e0]
lea rcx, [rsp + 0xe0]
call qword [sym.imp.SHLWAPI.dll_StrCpyW]
lea rdx, str._config.ini
lea rcx, [rsp + 0xe0]
call qword [sym.imp.SHLWAPI.dll_StrCatW]
lea rdx, [rsp + 0xb8]
mov rcx, rsi
call fcn.140016ec0
nop
lea rdx, str.Server_url
lea rcx, [rsp + 0xa8]
call qword [0x1403f4480]
nop
lea rdx, str.Server_port
lea rcx, [rsp + 0xa0]
call qword [0x1403f4480]
nop
lea rdx, [rsp + 0x90]
mov rcx, rsi
call fcn.140016e90
nop
lea rdx, str.Server_Configuration
lea rcx, [rsp + 0xc0]
call qword [0x1403f4480]
nop
lea rdx, str.Backup_Settings
lea rcx, [rsp + 0x40]
call qword [0x1403f4480]
nop
lea rdx, str.Location
lea rcx, [rsp + 0x80]
call qword [0x1403f4480]
nop
lea rdx, str.Last_Location
lea rcx, [rsp + 0x48]
call qword [0x1403f4480]
nop
lea rdx, str.LicSrvr_Configuration
lea rcx, [rsp + 0xc8]
call qword [0x1403f4480]
nop
lea rdx, str.Server_Name
lea rcx, [rsp + 0xb0]
call qword [0x1403f4480]
nop
lea rdx, str.Validate_URL
lea rcx, [rsp + 0xd0]
call qword [0x1403f4480]
nop
lea rdx, str.Status_URL
lea rcx, [rsp + 0x98]
call qword [0x1403f4480]
nop
lea rdx, str.Proxy_Configuration
lea rcx, [rsp + 0x28]
call qword [0x1403f4480]
nop
lea rdx, str.Proxy_Server_Url
lea rcx, [rsp + 0x60]
call qword [0x1403f4480]
nop
lea rdx, str.Proxy_Server_Port
lea rcx, [rsp + 0x50]
call qword [0x1403f4480]
nop
lea rdx, str.UserName
lea rcx, [rsp + 0x88]
call qword [0x1403f4480]
nop
lea rdx, str.Password
lea rcx, [rsp + 0x68]
call qword [0x1403f4480]
nop
lea rdx, str.General_Configuration
lea rcx, [rsp + 0x38]
call qword [0x1403f4480]
nop
lea rdx, [0x140400760]
lea rcx, [rsp + 0x78]
call qword [0x1403f4480]
nop
lea rdx, str.Check_Update
lea rcx, [rsp + 0x58]
call qword [0x1403f4480]
nop
lea rdx, str.Startup_Launch
lea rcx, [rsp + 0x70]
call qword [0x1403f4480]
nop
call sub.mfc90u.dll_AfxFailMaxChars
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rdi, rax
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rbx, rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rcx, rax
lea r9, [rsp + 0xe0]
mov r8, rdi
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14001f580
mov rcx, rax
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rdi, rax
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rbx, rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rcx, rax
lea r9, [rsp + 0xe0]
mov r8, rdi
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CView::CView]
lea rcx, [rsp + 0x30]
call qword [0x1403f4428]
nop
mov r8d, dword [rsi + 0x1050]
lea rdx, [0x1403f6544]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc90u.dll_COleServerDoc::XOleObject::EnumAdvise]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rbx, rax
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rcx, rax
lea r9, [rsp + 0xe0]
mov r8, rbx
lea rdx, str.Proxy_Enabled
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140001a00
mov rcx, rax
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rdi, rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rbx, rax
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rcx, rax
lea r9, [rsp + 0xe0]
mov r8, rdi
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CView::CView]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140001a60
mov rcx, rax
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rdi, rax
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rbx, rax
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rcx, rax
lea r9, [rsp + 0xe0]
mov r8, rdi
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CView::CView]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140001a30
mov rcx, rax
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rdi, rax
lea rcx, [rsp + 0x88]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rbx, rax
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rcx, rax
lea r9, [rsp + 0xe0]
mov r8, rdi
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov r8d, dword [rsi + 0x1060]
lea rdx, [0x1403f6544]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc90u.dll_COleServerDoc::XOleObject::EnumAdvise]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rdi, rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rbx, rax
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rcx, rax
lea r9, [rsp + 0xe0]
mov r8, rdi
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140016ef0
mov rcx, rax
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rdi, rax
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rbx, rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rcx, rax
lea r9, [rsp + 0xe0]
mov r8, rdi
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CView::CView]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140001000
mov rcx, rax
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rdi, rax
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rbx, rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rcx, rax
lea r9, [rsp + 0xe0]
mov r8, rdi
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CView::CView]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140001a90
mov rcx, rax
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rdi, rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rbx, rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rcx, rax
lea r9, [rsp + 0xe0]
mov r8, rdi
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CView::CView]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
lea rcx, [rsp + 0x20]
call qword [0x1403f4480]
nop
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1400201e0
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x88]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x98]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0xd0]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0xb0]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0xc8]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0xc0]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0xa0]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0xa8]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0xb8]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov rcx, qword [rsp + 0x20e0]
xor rcx, rsp
call fcn.1403addc0
lea r11, [rsp + 0x20f0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret