Function at 0x102baaf
Capabilities:
Get common file path

Disassembly:
push 0xe48
push 0x1003a20
call fcn.0103454c
mov eax, dword [0x10372d8]
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.0102e096
push eax
push 0x400
lea eax, [ebp - 0xe30]
push eax
push 0x8c
call fcn.01016633
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 0x102bb55
push 0x1003a0c
push edi
lea eax, [ebp - 0x430]
push eax
call fcn.01007b43
cmp eax, ebx
jl 0x102bb55
lea eax, [ebp - 0x430]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0xe34], eax
cmp dword [ebp - 0xe34], ebx
jne 0x102bb78
push 0x10039fc
push 0xca
push dword [ebp - 0xe38]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
jmp 0x102bc9a
push 0x10039ec
push dword [ebp - 0xe34]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov dword [ebp - 0xe44], eax
push 0x10039d8
push dword [ebp - 0xe34]
call esi
mov dword [ebp - 0xe40], eax
push 0x10039c0
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.010345f0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [ebp - 0xe54], esi
jmp 0x102bc02
or dword [ebp - 4], 0xffffffff
cmp esi, ebx
je 0x102bc88
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 0x10021c8
push esi
call dword [ebp - 0xe44]
test eax, eax
je 0x102bc88
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 0x10039a4
push 0x100
lea eax, [ebp - 0x630]
push eax
call fcn.0100d577
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 0x102bcaf
mov ecx, eax
call fcn.01013e1b
jmp 0x102bcb1
xor eax, eax
mov dword [esi + 4], eax
cmp eax, ebx
je 0x102bcf7
push 0x22
push ebx
push ebx
push ebx
push ebx
push 0x2bc
push 0xa
push 0x1001ec0
push dword [ebp - 0xe38]
mov ecx, eax
call fcn.01013e42
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 [0x103738c]
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.01034242
call fcn.01034587
ret 4