Function at 0x402f36
Capabilities:
Get common file path
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x15c
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00402434
inc eax
je 0x40330b
lea edi, [ebp - 0x140]
mov dword [esp + 4], edi
mov dword [esp], 0x104
call sub.KERNEL32.DLL_GetCurrentDirectoryA
push edx
push edx
mov dword [esp + 4], edi
mov dword [esp], ebx
call fcn.00401abe
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc
mov eax, dword [ebx + 0x48]
mov dword [esp], eax
call sub.USER32.dll_SendMessageA
sub esp, 0x10
mov eax, dword [ebx + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc
mov eax, dword [ebx + 0x28]
mov dword [esp], eax
call sub.USER32.dll_SendMessageA
sub esp, 0x10
mov dword [esp + 0xc], 1
mov eax, dword [ebx + 0xe4]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x30
mov eax, dword [ebx + 0x20]
mov dword [esp], eax
call sub.USER32.dll_SendMessageA
sub esp, 0x10
mov dword [esp + 0xc], 1
mov eax, dword [ebx + 0xe4]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x30
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
call sub.USER32.dll_SendMessageA
sub esp, 0x10
mov dword [esp + 0xc], 1
mov eax, dword [ebx + 0xe4]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x30
mov eax, dword [ebx + 0x44]
mov dword [esp], eax
call sub.USER32.dll_SendMessageA
sub esp, 0x10
mov dword [esp + 0xc], 1
mov eax, dword [ebx + 0xe4]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x30
mov eax, dword [ebx + 0x48]
mov dword [esp], eax
call sub.USER32.dll_SendMessageA
sub esp, 0x10
mov dword [esp + 0xc], 1
mov eax, dword [ebx + 0xe4]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x30
mov eax, dword [ebx + 0x40]
mov dword [esp], eax
call sub.USER32.dll_SendMessageA
sub esp, 0x10
mov dword [esp + 0xc], 1
mov eax, dword [ebx + 0xe4]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x30
mov eax, dword [ebx + 0x4c]
mov dword [esp], eax
call sub.USER32.dll_SendMessageA
sub esp, 0x10
mov dword [esp + 0xc], 1
mov eax, dword [ebx + 0xe4]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x30
mov eax, dword [ebx + 0x54]
mov dword [esp], eax
call sub.USER32.dll_SendMessageA
sub esp, 0x10
mov dword [esp + 0xc], 1
mov eax, dword [ebx + 0xe4]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x30
mov eax, dword [ebx + 0x5c]
mov dword [esp], eax
call sub.USER32.dll_SendMessageA
sub esp, 0x10
mov dword [esp + 0xc], 1
mov eax, dword [ebx + 0xe4]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x30
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
call sub.USER32.dll_SendMessageA
sub esp, 0x10
mov dword [esp + 0xc], 1
mov eax, dword [ebx + 0xe4]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x30
mov eax, dword [ebx + 0x38]
mov dword [esp], eax
call sub.USER32.dll_SendMessageA
sub esp, 0x10
mov dword [esp + 0xc], 1
mov eax, dword [ebx + 0xe4]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x30
mov eax, dword [ebx + 0x60]
mov dword [esp], eax
call sub.USER32.dll_SendMessageA
sub esp, 0x10
mov dword [esp + 0xc], 1
mov eax, dword [ebx + 0xe4]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x30
mov eax, dword [ebx + 0x90]
mov dword [esp], eax
call sub.USER32.dll_SendMessageA
sub esp, 0x10
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x104
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [ebx + 4]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call sub.KERNEL32.DLL_WideCharToMultiByte
sub esp, 0x20
lea esi, [ebp - 0x1c]
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.004015f6
push eax
lea edi, [ebx + 0x10]
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.0045d274
mov dword [esp], esi
call fcn.0045e500
mov dword [esp + 4], edi
lea esi, [ebp - 0x20]
mov dword [esp], esi
call fcn.0045dff4
mov dword [esp + 8], 0x5c
mov dword [esp + 4], 1
mov dword [esp], esi
call fcn.0045d0b8
jmp 0x403253
mov dword [esp + 4], esi
lea eax, [ebx + 0x14]
mov dword [esp], eax
call fcn.0045d274
mov dword [esp], esi
call fcn.0045e500
mov eax, dword [ebx + 0x14]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc
mov eax, dword [ebx + 0x40]
mov dword [esp], eax
call sub.USER32.dll_SendMessageA
sub esp, 0x10
mov eax, dword [ebx + 0x28]
mov dword [esp], eax
call sub.USER32.dll_SetFocus
push edi
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
call sub.USER32.dll_ShowWindow
push esi
push esi
lea esi, [ebp - 0x3c]
jmp 0x4032df
inc eax
je 0x40330b
mov dword [esp + 4], esi
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
call sub.USER32.dll_IsDialogMessageA
push ecx
push ecx
dec eax
je 0x4032df
mov dword [esp], esi
call sub.USER32.dll_TranslateMessage
push edx
mov dword [esp], esi
call sub.USER32.dll_DispatchMessageA
push eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], esi
call sub.USER32.dll_GetMessageA
sub esp, 0x10
test eax, eax
jne 0x4032b6
mov eax, dword [ebp - 0x34]
jmp 0x40330d
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret