Function at 0x401daa
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push 0x40d61c
mov eax, dword [ebp + 0x10]
push eax
call fcn.00403bc0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x401e17
push str._DIR
call fcn.00403800
add esp, 4
mov ecx, dword [ebp - 4]
add ecx, eax
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
jne 0x401e17
mov eax, dword [ebp - 4]
push eax
push str.Could_not_set_current_directory_to___s_.
push 0x40e7c0
call fcn.00403b6c
add esp, 0xc
push 0x30
push str.NovaLogic_Local_File_Update_Wizard_v1.0.10d
push 0x40e7c0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp + 0x10]
mov dword [0x40e960], ecx
mov edx, dword [ebp + 8]
mov dword [0x40e8c0], edx
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push 0x104
push 0
push 0x40eaa0
call fcn.00403730
add esp, 0xc
push 0x104
push 0
push 0x40ebc0
call fcn.00403730
add esp, 0xc
push 0x104
push 0
push 0x40ece0
call fcn.00403730
add esp, 0xc
push 0x80
push 0
push 0x40e8e0
call fcn.00403730
add esp, 0xc
push 0x80
push 0
push 0x40e740
call fcn.00403730
add esp, 0xc
push 0x80
push 0
push 0x40ea00
call fcn.00403730
add esp, 0xc
push 0x80
push 0
push 0x40ee00
call fcn.00403730
add esp, 0xc
push 0x40ece0
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
jne 0x401eea
push 0x30
push str.NovaLogic_Local_File_Update_Wizard_v1.0.10d
push str.Error__Could_not_set_BaseDirectory_variable.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x40200a
xor eax, eax
test eax, eax
je 0x401f38
push 0
push 0x40364a
push 0
push 0x72
mov ecx, dword [0x40e8c0]
push ecx
call dword [sym.imp.USER32.dll_DialogBoxParamA]
test eax, eax
jne 0x401f13
xor eax, eax
jmp 0x40200a
push 0x40ea80
call fcn.00401d33
add esp, 4
mov dword [0x40e8cc], eax
cmp dword [0x40e8cc], 0x7c0751e1
je 0x401f38
xor eax, eax
jmp 0x40200a
push 0
push 0x403531
push 0
push str.LICENSE
mov edx, dword [0x40e8c0]
push edx
call dword [sym.imp.USER32.dll_DialogBoxParamA]
test eax, eax
jne 0x401f5e
xor eax, eax
jmp 0x40200a
push 0
push 0x4020d3
push 0
push 0x71
mov eax, dword [0x40e8c0]
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov dword [0x40e964], eax
cmp dword [0x40e964], 0
jne 0x401f91
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
jmp 0x40200a
push str.NovaLogic_Local_File_Update_Wizard_v1.0.10d
mov ecx, dword [0x40e964]
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 5
mov edx, dword [0x40e964]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x40e964]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0
push 0
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401ff3
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [0x40e474], 0
je 0x401ff1
jmp 0x401ff3
jmp 0x401fbe
call fcn.004034a3
mov ecx, dword [0x40e964]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [0x40e8c4]
mov esp, ebp
pop ebp
ret 0x10