Function at 0x102bf8e
Capabilities:
Get common file path

Disassembly:
push 0xe48
push 0x1003a40
call fcn.01034d88
mov eax, dword [0x10372b8]
mov dword [ebp - 0x1c], eax
mov esi, ecx
mov dword [ebp - 0xe3c], esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xe38], edi
xor ebx, ebx
mov dword [ebp - 0xe34], ebx
call fcn.0102e593
push eax
push 0x400
lea eax, [ebp - 0xe30]
push eax
push 0x8c
call fcn.01016a53
lea eax, [ebp - 0xe30]
push eax
push 0xce
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, 0x104
push edi
lea eax, [ebp - 0x430]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x102c034
push 0x1003a2c
push edi
lea eax, [ebp - 0x430]
push eax
call fcn.01007c70
cmp eax, ebx
jl 0x102c034
lea eax, [ebp - 0x430]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0xe34], eax
cmp dword [ebp - 0xe34], ebx
jne 0x102c057
push 0x1003a1c
push 0xca
push dword [ebp - 0xe38]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
jmp 0x102c18f
push 0x1003a0c
push dword [ebp - 0xe34]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov dword [ebp - 0xe44], eax
push 0x10039f8
push dword [ebp - 0xe34]
call esi
mov dword [ebp - 0xe40], eax
push 0x10039e0
push dword [ebp - 0xe34]
call esi
mov esi, eax
push edi
lea eax, [ebp - 0x228]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov word [ebp - 0x20], bx
lea eax, [ebp - 0xe50]
push eax
lea eax, [ebp - 0x228]
push eax
call esi
mov dword [ebp - 0xe48], eax
mov dword [ebp - 4], ebx
add eax, 3
and eax, 0xfffffffc
call fcn.01034ea0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [ebp - 0xe54], esi
jmp 0x102c0f7
or dword [ebp - 4], 0xffffffff
cmp esi, ebx
je 0x102c17d
push esi
push dword [ebp - 0xe48]
push ebx
lea eax, [ebp - 0x228]
push eax
call dword [ebp - 0xe40]
lea eax, [ebp - 0xe58]
push eax
lea eax, [ebp - 0xe4c]
push eax
push 0x10021e8
push esi
call dword [ebp - 0xe44]
test eax, eax
je 0x102c17d
mov eax, dword [ebp - 0xe4c]
movzx ecx, word [eax + 0xc]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
push ecx
movzx eax, word [eax + 0xa]
push eax
push 0x10039c4
push 0x100
lea eax, [ebp - 0x630]
push eax
call fcn.0100d7d2
add esp, 0x1c
lea eax, [ebp - 0x630]
push eax
push 0xca
push dword [ebp - 0xe38]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push dword [ebp - 0xe34]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [ebp - 0xe3c]
push 4
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
cmp eax, ebx
je 0x102c1a4
mov ecx, eax
call fcn.01014237
jmp 0x102c1a6
xor eax, eax
mov dword [esi + 4], eax
cmp eax, ebx
je 0x102c1ec
push 0x22
push ebx
push ebx
push ebx
push ebx
push 0x2bc
push 0xa
push 0x1001ee0
push dword [ebp - 0xe38]
mov ecx, eax
call fcn.0101425e
push ebx
mov eax, dword [esi + 4]
push dword [eax]
push 0x30
push 0xcf
push dword [ebp - 0xe38]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push 0x30
push 0x30
push 1
push 0x71
push dword [0x103736c]
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [esi + 8], eax
add esi, 0xc
push esi
push 0xd0
push dword [ebp - 0xe38]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push esi
push dword [ebp - 0xe38]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea esp, [ebp - 0xe64]
mov ecx, dword [ebp - 0x1c]
call fcn.01034a90
call fcn.01034dc3
ret 4