Function at 0x10011f98
Capabilities:
Get common file path

Disassembly:
push 0x178
push 0x10028040
call fcn.1001c560
mov eax, dword [0x1002d4a0]
mov dword [ebp - 0x1c], eax
mov esi, ecx
mov dword [ebp - 0x180], esi
push 0x50
xor ebx, ebx
push ebx
push esi
call fcn.1001b590
add esp, 0xc
push ebx
push ebx
push ebx
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCA]
mov dword [ebp - 0x174], eax
cmp eax, ebx
je 0x100123e9
push 0x5a
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [ebp - 0x16c], eax
push 0x3c
push ebx
lea eax, [ebp - 0x58]
push eax
call fcn.1001b590
add esp, 0xc
push 0x2d0
push dword [ebp - 0x16c]
push 0x5a
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
call edi
neg eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x48], 0x190
mov byte [ebp - 0x41], bl
mov byte [ebp - 0x3d], 0x31
push str.Courier
lea eax, [ebp - 0x3c]
push eax
call fcn.1001b8a0
pop ecx
pop ecx
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov dword [esi], eax
push 0x3c
push ebx
lea eax, [ebp - 0x58]
push eax
call fcn.1001b590
add esp, 0xc
push 0x2d0
push dword [ebp - 0x16c]
push 0x3c
call edi
neg eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x48], 0x190
mov byte [ebp - 0x41], bl
mov byte [ebp - 0x3d], 0x22
mov byte [ebp - 0x43], 1
push str.MS_Sans_Serif
lea eax, [ebp - 0x3c]
push eax
call fcn.1001b8a0
pop ecx
pop ecx
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov dword [esi + 4], eax
push 0x3c
push ebx
lea eax, [ebp - 0x58]
push eax
call fcn.1001b590
add esp, 0xc
push 0x2d0
push dword [ebp - 0x16c]
push 0x3c
call edi
neg eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x48], 0x190
mov byte [ebp - 0x41], bl
mov byte [ebp - 0x3d], 0x22
push str.MS_Sans_Serif
lea eax, [ebp - 0x3c]
push eax
call fcn.1001b8a0
pop ecx
pop ecx
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov dword [esi + 8], eax
push 0x7f89
push ebx
mov edi, dword [sym.imp.USER32.dll_LoadCursorA]
call edi
mov dword [esi + 0xc], eax
cmp eax, ebx
jne 0x10012152
push 0x104
lea eax, [ebp - 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str.winhlp32.exe
lea eax, [ebp - 0x15c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x178], eax
cmp eax, ebx
je 0x10012152
push 0x6a
push eax
call edi
cmp eax, ebx
je 0x10012146
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [esi + 0xc], eax
push dword [ebp - 0x178]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x7f00
push ebx
call edi
mov dword [esi + 0x10], eax
push 0x7f8a
push ebx
call edi
mov dword [esi + 0x14], eax
push 0x7f02
push ebx
call edi
mov dword [esi + 0x20], eax
push 0x7f85
push ebx
call edi
mov dword [esi + 0x18], eax
push 0x7f84
push ebx
call edi
mov dword [esi + 0x1c], eax
push 0x7f01
push ebx
call edi
mov dword [esi + 0x24], eax
push 5
mov edi, dword [sym.imp.USER32.dll_GetSysColorBrush]
call edi
mov dword [esi + 0x28], eax
push 0xf
call edi
mov dword [esi + 0x30], eax
push 0x14
call edi
mov dword [esi + 0x2c], eax
push 0xc
call edi
mov dword [esi + 0x34], eax
mov byte [esi + 0x4c], bl
mov byte [esi + 0x4d], bl
cmp dword [ebp + 8], ebx
je 0x10012262
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x170]
push eax
push 0x1f4
push 2
push ebx
push 1
push 0x7f
push dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_SendMessageTimeoutA]
call edi
test eax, eax
je 0x100121f5
mov eax, dword [ebp - 0x170]
mov dword [esi + 0x38], eax
jmp 0x100121f8
mov dword [esi + 0x38], ebx
cmp dword [esi + 0x38], ebx
jne 0x1001220b
push 0xfffffffffffffff2
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetClassLongA]
mov dword [esi + 0x38], eax
lea eax, [ebp - 0x170]
push eax
push 0x1f4
push 2
push ebx
push ebx
push 0x7f
push dword [ebp + 8]
call edi
test eax, eax
je 0x10012231
mov eax, dword [ebp - 0x170]
mov dword [esi + 0x3c], eax
jmp 0x10012234
mov dword [esi + 0x3c], ebx
cmp dword [esi + 0x3c], ebx
jne 0x1001225e
push 0xffffffffffffffde
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetClassLongA]
mov dword [esi + 0x3c], eax
jmp 0x1001225e
or dword [ebp - 4], 0xffffffff
push 0x31
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
call edi
mov dword [ebp - 0x188], eax
push 0x32
call edi
cmp dword [esi + 0x3c], ebx
jne 0x1001229a
mov byte [esi + 0x4d], 1
push ebx
push eax
push dword [ebp - 0x188]
push 1
push 0x69
push dword [0x1002ecc0]
call dword [sym.imp.USER32.dll_LoadImageA]
mov dword [esi + 0x3c], eax
push 0xb
call edi
mov dword [ebp - 0x164], eax
push 0xc
call edi
mov dword [ebp - 0x168], eax
cmp dword [esi + 0x38], ebx
jne 0x100122da
mov byte [esi + 0x4c], 1
push ebx
push eax
push dword [ebp - 0x164]
push 1
push 0x69
push dword [0x1002ecc0]
call dword [sym.imp.USER32.dll_LoadImageA]
mov dword [esi + 0x38], eax
cmp eax, ebx
je 0x100123a2
push dword [ebp - 0x168]
push dword [ebp - 0x164]
push dword [ebp - 0x174]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esi + 0x40], eax
cmp eax, ebx
je 0x100123a2
push dword [ebp - 0x174]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x160], eax
cmp eax, ebx
je 0x100123a2
push dword [esi + 0x40]
push eax
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
call edi
mov dword [ebp - 0x17c], eax
push dword [esi + 0x28]
push dword [ebp - 0x160]
call edi
mov dword [ebp - 0x184], eax
push 0xf00021
push dword [ebp - 0x168]
push dword [ebp - 0x164]
push ebx
push ebx
push dword [ebp - 0x160]
call dword [sym.imp.GDI32.dll_PatBlt]
push 3
push ebx
push ebx
push dword [ebp - 0x168]
push dword [ebp - 0x164]
push dword [esi + 0x38]
push ebx
push ebx
push dword [ebp - 0x160]
call dword [sym.imp.USER32.dll_DrawIconEx]
push dword [ebp - 0x184]
push dword [ebp - 0x160]
call edi
push dword [ebp - 0x17c]
push dword [ebp - 0x160]
call edi
push dword [ebp - 0x160]
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edi, 0x1000
push edi
push ebx
push ebx
push ebx
push 0x85
push dword [0x1002ecc0]
call dword [sym.imp.USER32.dll_LoadImageA]
mov dword [esi + 0x44], eax
push edi
push ebx
push 0xff00ff
push ebx
push 7
push 0x88
push dword [0x1002ecc0]
call dword [sym.imp.COMCTL32.dll_ImageList_LoadImageA]
mov dword [esi + 0x48], eax
push dword [ebp - 0x174]
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, esi
mov ecx, dword [ebp - 0x1c]
call fcn.1001b57a
call fcn.1001c59b
ret 4