Function at 0x450b0c
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x440
mov eax, dword [0x500144]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov dword [ebp - 0x428], eax
xor edi, edi
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x438], eax
lea eax, [ebp - 0x21c]
push ecx
push eax
lea eax, [ebp - 0x430]
mov dword [ebp - 0x42c], edi
push eax
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x430], edi
push eax
call fcn.00448d54
mov esi, eax
test esi, esi
jns 0x450bb8
mov eax, dword [section..data]
cmp eax, section..data
je 0x450eb7
test byte [eax + 0x1c], 8
je 0x450eb7
cmp byte [eax + 0x19], 2
jb 0x450eb7
call fcn.0042386b
push esi
push 0x40daa0
push eax
mov eax, dword [section..data]
mov edx, 0x40daf8
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x2f
pop ecx
call fcn.0042371b
jmp 0x450eb7
cmp dword [ebp + 0xc], edi
je 0x450bcd
cmp dword [ebp - 0x42c], edi
je 0x450be2
cmp dword [ebp - 0x430], edi
je 0x450beb
mov esi, edi
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fb5e0
leave
ret 0x14
cmp word [ebp - 0x21c], di
je 0x450bcd
lea eax, [ebp - 0x424]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x450c5e
mov eax, dword [section..data]
cmp eax, section..data
je 0x450c40
test byte [eax + 0x1c], 1
je 0x450c40
cmp byte [eax + 0x19], 2
jb 0x450c40
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.0042386b
push esi
push eax
mov eax, dword [section..data]
mov edx, 0x40daf8
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x30
pop ecx
call fcn.00421fda
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x450eb1
movzx esi, si
or esi, 0x80070000
jmp 0x450eaf
push ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ebx, eax
mov dword [ebp - 0x434], ebx
test ebx, ebx
jne 0x450cb6
mov eax, dword [section..data]
cmp eax, section..data
je 0x450cac
test byte [eax + 0x1c], 8
je 0x450cac
cmp byte [eax + 0x19], 2
jb 0x450cac
call fcn.0042386b
push 0x40afc8
push eax
mov eax, dword [section..data]
mov edx, 0x40daf8
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x31
pop ecx
call fcn.0042200a
mov esi, 0x8007000e
jmp 0x450eb7
push dword [ebp - 0x428]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x428], eax
test eax, eax
jne 0x450d11
mov eax, dword [section..data]
cmp eax, section..data
je 0x450d07
test byte [eax + 0x1c], 8
je 0x450d07
cmp byte [eax + 0x19], 2
jb 0x450d07
call fcn.0042386b
push 0x40afc8
push eax
mov eax, dword [section..data]
mov edx, 0x40daf8
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x32
pop ecx
call fcn.0042200a
mov esi, 0x8007000e
jmp 0x450e9d
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x43c], esi
test esi, esi
jne 0x450d6f
mov eax, dword [section..data]
cmp eax, section..data
je 0x450d65
test byte [eax + 0x1c], 8
je 0x450d65
cmp byte [eax + 0x19], 2
jb 0x450d65
call fcn.0042386b
push 0x40afc8
push eax
mov eax, dword [section..data]
mov edx, 0x40daf8
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x33
pop ecx
call fcn.0042200a
mov esi, 0x8007000e
jmp 0x450e91
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ebx, eax
test ebx, ebx
jne 0x450dc7
mov eax, dword [section..data]
cmp eax, section..data
je 0x450dbd
test byte [eax + 0x1c], 8
je 0x450dbd
cmp byte [eax + 0x19], 2
jb 0x450dbd
call fcn.0042386b
push 0x40afc8
push eax
mov eax, dword [section..data]
mov edx, 0x40daf8
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x34
pop ecx
call fcn.0042200a
mov esi, 0x8007000e
jmp 0x450e7f
push dword [ebp - 0x438]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
test edi, edi
jne 0x450e1b
mov eax, dword [section..data]
cmp eax, section..data
je 0x450e14
test byte [eax + 0x1c], 8
je 0x450e14
cmp byte [eax + 0x19], 2
jb 0x450e14
call fcn.0042386b
push 0x40afc8
push eax
mov eax, dword [section..data]
mov edx, 0x40daf8
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x35
pop ecx
call fcn.0042200a
mov esi, 0x8007000e
jmp 0x450e78
mov edx, dword [ebp - 0x428]
mov ecx, dword [ebp - 0x434]
push edi
push ebx
push esi
call fcn.004a9cf7
mov esi, eax
test esi, esi
jns 0x450e73
mov eax, dword [section..data]
cmp eax, section..data
je 0x450e78
test byte [eax + 0x1c], 8
je 0x450e78
cmp byte [eax + 0x19], 2
jb 0x450e78
call fcn.0042386b
push esi
push 0x40dac8
push eax
mov eax, dword [section..data]
mov edx, 0x40daf8
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x36
pop ecx
call fcn.0042371b
jmp 0x450e78
mov esi, 0x40200
push ebx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x43c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ebx, dword [ebp - 0x434]
push dword [ebp - 0x428]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ebx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
je 0x450eaf
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
jns 0x450bcf
push 1
push ecx
mov edx, 0x33f5
xor ecx, ecx
call fcn.004ab639
jmp 0x450bcf