Function at 0x100843c8
Capabilities:
Get common file path

Disassembly:
mov eax, 0x100de75e
call fcn.100ac440
sub esp, 0x48
mov eax, dword [0x1011c710]
xor eax, ebp
push ebx
mov dword [ebp - 0x10], eax
push esi
mov esi, ecx
mov eax, 0x323232
xor ebx, ebx
mov dword [esi + 0x14], eax
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 8]
cmp eax, ebx
push edi
mov dword [esi + 0xc], ebx
mov dword [esi + 0x20], 0xf0f0f
mov dword [esi + 0x24], 0xe1e1df
mov dword [esi + 0x28], 0xae7e39
mov dword [esi + 0x18], 0x252525
mov dword [esi + 0x10], ebx
je 0x10084424
push eax
call dword [sym.imp.USER32.dll_DestroyCursor]
mov dword [esi + 8], ebx
call fcn.100cd841
mov edi, dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f89
push ebx
call edi
cmp eax, ebx
mov dword [esi + 8], eax
jne 0x100844b0
call fcn.100c6d12
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x50], eax
mov eax, 0x104
push eax
push eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
call fcn.1000192d
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x50]
call fcn.1000170f
push str.winhlp32.exe
lea ecx, [ebp - 0x50]
call fcn.10007475
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [ebp - 0x54], eax
je 0x100844a1
push 0x6a
push eax
call edi
push dword [ebp - 0x54]
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x50]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.10001199
call fcn.100c6d12
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x50], eax
lea eax, [esi + 4]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], ebx
mov dword [ebp - 4], 1
je 0x100845ba
push str._face.ini
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.10001e18
add esp, 0xc
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.10001eb6
mov ecx, dword [ebp - 0x54]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.10001199
push dword [ebp - 0x50]
mov edi, str.color
push dword [esi + 0x24]
mov ecx, esi
push str.ScrollText
push edi
call fcn.1008415e
push dword [ebp - 0x50]
mov ecx, esi
push dword [esi + 0x14]
mov dword [esi + 0x24], eax
push str.ThinBoder
push edi
call fcn.1008415e
push dword [ebp - 0x50]
mov ecx, esi
push dword [esi + 0x18]
mov dword [esi + 0x14], eax
push str.ThinBoderin
push edi
call fcn.1008415e
push dword [ebp - 0x50]
mov ecx, esi
push dword [esi + 0x1c]
mov dword [esi + 0x18], eax
push str.BannerBoder
push edi
call fcn.1008415e
push dword [ebp - 0x50]
mov ecx, esi
push dword [esi + 0x28]
mov dword [esi + 0x1c], eax
push str.StatusText
push edi
call fcn.1008415e
push dword [ebp - 0x50]
mov ecx, esi
push dword [esi + 0x20]
mov dword [esi + 0x28], eax
push str.StatusBgColor
push edi
call fcn.1008415e
push dword [ebp - 0x50]
mov ecx, esi
push dword [esi + 0xc]
mov dword [esi + 0x20], eax
push str.BgColor
push edi
call fcn.1008415e
push dword [ebp - 0x50]
mov ecx, esi
push dword [esi + 0x10]
mov dword [esi + 0xc], eax
push str.BgColorNormal
push edi
call fcn.1008415e
mov dword [esi + 0x10], eax
push dword [ebp - 0x50]
mov edi, str.font
push 9
push str.fontsize
push edi
call fcn.100027f5
push dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
push 0x20
lea eax, [ebp - 0x30]
push eax
push 0x100e65ec
push str.FontName
push edi
call fcn.100028ab
mov edi, dword [sym.imp.USER32.dll_GetDC]
push 0x48
push 0x5a
push ebx
call edi
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
lea ecx, [esi + 0x2c]
cmp ecx, ebx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x38], bl
mov byte [ebp - 0x37], bl
mov byte [ebp - 0x36], bl
mov byte [ebp - 0x35], 1
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
je 0x10084644
cmp dword [ecx + 4], ebx
je 0x10084644
call fcn.100ca254
lea eax, [ebp - 0x4c]
push eax
lea ecx, [esi + 0x2c]
call fcn.10010464
lea ecx, [esi + 0x3c]
cmp ecx, ebx
je 0x10084661
cmp dword [ecx + 4], ebx
je 0x10084661
call fcn.100ca254
push 0x48
push 0x5a
push ebx
call edi
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
mov eax, dword [ebp - 0x54]
inc eax
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
mov dword [ebp - 0x4c], eax
push 0x100e65ec
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x4c]
push eax
lea ecx, [esi + 0x3c]
call fcn.10010464
add esi, 0x34
cmp esi, ebx
je 0x100846ae
cmp dword [esi + 4], ebx
je 0x100846ae
mov ecx, esi
call fcn.100ca254
push 0x48
push 0x5a
push ebx
call edi
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 7
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
mov dword [ebp - 0x4c], eax
push 0x100f2518
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x4c]
push eax
mov ecx, esi
call fcn.10010464
mov ecx, dword [ebp - 0x50]
add ecx, 0xfffffff0
call fcn.10001199
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.100ac33f
leave
ret