Function at 0x53f030
Capabilities:
Get common file path
Hide graphical window
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [0x15da810], 1
push 0x15da818
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, dword [0xe5d644]
mov dword [0x15da920], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [0x15da814], eax
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [0x15da91c], eax
push 0x7f
mov ecx, dword [0x15da920]
push ecx
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [0x15da6fc], eax
push 0x8a
mov edx, dword [0x15da920]
push edx
call dword [sym.imp.USER32.dll_LoadMenuA]
mov dword [0x15da700], eax
push 0xa0
mov eax, dword [0x15da920]
push eax
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov dword [0x15da798], eax
push str.MSWHEEL_ROLLMSG
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
mov dword [0x15da808], eax
call fcn.0053f340
push 0
push 0x53f460
push 0
push 0xcb
mov ecx, dword [0x15da920]
push ecx
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov dword [0x15da928], eax
push 5
mov edx, dword [0x15da928]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
call fcn.005524e0
add esp, 4
mov eax, 1
test eax, eax
je 0x53f313
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x53f14b
push 0
push 0
push 0x400
mov edx, dword [0x15da928]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
call fcn.0049bdd0
push 0
push 0
push 0
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x24], 0x20a
jne 0x53f179
mov ecx, dword [ebp - 0x20]
shr ecx, 0x10
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x24]
cmp eax, dword [0x15da808]
jne 0x53f18b
mov dword [ebp - 0x24], 0x20a
mov byte [ebp - 1], 0
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0x100
je 0x53f1ac
cmp dword [ebp - 8], 0x101
je 0x53f1ac
jmp 0x53f2af
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.0049be40
mov edx, 1
imul eax, edx, 0xcb
movzx ecx, byte [eax + 0xe5daa0]
test ecx, ecx
jne 0x53f2a9
mov edx, 1
imul eax, edx, 0xcd
movzx ecx, byte [eax + 0xe5daa0]
test ecx, ecx
jne 0x53f2a9
mov edx, 1
imul eax, edx, 0xc8
movzx ecx, byte [eax + 0xe5daa0]
test ecx, ecx
jne 0x53f2a9
mov edx, 1
imul eax, edx, 0xd0
movzx ecx, byte [eax + 0xe5daa0]
test ecx, ecx
jne 0x53f2a9
mov edx, 1
imul eax, edx, 0xc7
movzx ecx, byte [eax + 0xe5daa0]
test ecx, ecx
jne 0x53f2a9
mov edx, 1
imul eax, edx, 0xcf
movzx ecx, byte [eax + 0xe5daa0]
test ecx, ecx
jne 0x53f2a9
mov edx, 1
imul eax, edx, 0xd3
movzx ecx, byte [eax + 0xe5daa0]
test ecx, ecx
jne 0x53f2a9
mov edx, 1
imul eax, edx, 0xd1
movzx ecx, byte [eax + 0xe5daa0]
test ecx, ecx
jne 0x53f2a9
mov edx, 1
imul eax, edx, 0xd2
movzx ecx, byte [eax + 0xe5daa0]
test ecx, ecx
jne 0x53f2a9
mov edx, 1
imul eax, edx, 0xc9
movzx ecx, byte [eax + 0xe5daa0]
test ecx, ecx
je 0x53f2ad
mov byte [ebp - 1], 1
jmp 0x53f2b9
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
movzx eax, byte [ebp - 1]
test eax, eax
jne 0x53f30e
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [0x15da798]
push edx
mov eax, dword [0x15da928]
push eax
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x53f30e
cmp dword [0x15da928], 0
je 0x53f2fa
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [0x15da928]
push edx
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x53f30e
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x53f10d
call fcn.0053f020
push 0x15da818
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [0x15da810], 0
mov eax, dword [0x15da80c]
mov esp, ebp
pop ebp
ret