Function at 0x436c70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc40e
mov eax, dword fs:[0]
push eax
mov eax, 0x10088
call fcn.004b4380
mov eax, dword [0x50bd24]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10070], ecx
push 0
mov ecx, dword [ebp - 0x10070]
call fcn.0045fa40
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10070]
mov dword [eax], vtable.DuiLib::CPaintManagerUI.0
mov ecx, dword [ebp - 0x10070]
add ecx, 0x24
call fcn.004612c0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10070]
add ecx, 0x3ec
call fcn.004321d0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10070]
mov dword [ecx + 0x470], 0
mov edx, dword [ebp - 0x10070]
mov dword [edx + 0x474], 0
mov eax, dword [ebp - 0x10070]
mov dword [eax + 0x478], 0
mov ecx, dword [ebp - 0x10070]
mov dword [ecx + 0x47c], 0
mov edx, dword [ebp - 0x10070]
mov dword [edx + 0x480], 0
mov eax, dword [ebp - 0x10070]
mov dword [eax + 0x484], 0
mov ecx, dword [ebp - 0x10070]
mov dword [ecx + 0x488], 0
mov edx, dword [ebp - 0x10070]
mov dword [edx + 0x48c], 0
mov eax, dword [ebp - 0x10070]
mov dword [eax + 0x490], 0
mov ecx, dword [ebp - 0x10070]
mov byte [ecx + 0x494], 0
mov edx, dword [ebp - 0x10070]
mov byte [edx + 0x495], 0
mov eax, dword [ebp - 0x10070]
mov dword [eax + 0x498], 0
mov ecx, dword [ebp - 0x10070]
mov dword [ecx + 0x4a4], 0
mov edx, dword [ebp - 0x10070]
mov byte [edx + 0x4e8], 0
mov eax, dword [ebp - 0x10070]
mov byte [eax + 0x4e9], 0
mov ecx, dword [ebp - 0x10070]
mov dword [ecx + 0x4ec], 0
mov ecx, dword [ebp - 0x10070]
add ecx, 0x4f0
call fcn.0045c000
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x10070]
mov dword [edx + 0x5ac], 0
mov eax, dword [ebp - 0x10070]
mov dword [eax + 0x5b0], 0
mov ecx, dword [ebp - 0x10070]
mov dword [ecx + 0x5b4], 0
mov edx, dword [ebp - 0x10070]
mov dword [edx + 0x5b8], 0
mov eax, dword [ebp - 0x10070]
mov dword [eax + 0x5bc], 0
mov ecx, dword [ebp - 0x10070]
mov dword [ecx + 0x608], 0x1000
mov edx, dword [ebp - 0x10070]
mov byte [edx + 0x60c], 1
mov eax, dword [ebp - 0x10070]
mov byte [eax + 0x60d], 0
mov ecx, dword [ebp - 0x10070]
mov byte [ecx + 0x60e], 0
mov edx, dword [ebp - 0x10070]
mov byte [edx + 0x60f], 1
mov eax, dword [ebp - 0x10070]
mov byte [eax + 0x610], 0xff
mov ecx, dword [ebp - 0x10070]
mov byte [ecx + 0x611], 0
mov edx, dword [ebp - 0x10070]
mov byte [edx + 0x624], 0
mov eax, dword [ebp - 0x10070]
mov byte [eax + 0x638], 0
mov ecx, dword [ebp - 0x10070]
mov byte [ecx + 0x639], 0
mov edx, dword [ebp - 0x10070]
mov byte [edx + 0x63b], 0
push 0
mov ecx, dword [ebp - 0x10070]
add ecx, 0x63c
call fcn.004322c0
mov byte [ebp - 4], 4
push 0
mov ecx, dword [ebp - 0x10070]
add ecx, 0x648
call fcn.004322c0
mov byte [ebp - 4], 5
push 0
mov ecx, dword [ebp - 0x10070]
add ecx, 0x654
call fcn.004322c0
mov byte [ebp - 4], 6
push 0
mov ecx, dword [ebp - 0x10070]
add ecx, 0x660
call fcn.004322c0
mov byte [ebp - 4], 7
push 0
mov ecx, dword [ebp - 0x10070]
add ecx, 0x66c
call fcn.004322c0
mov byte [ebp - 4], 8
push 0
mov ecx, dword [ebp - 0x10070]
add ecx, 0x678
call fcn.004322c0
mov byte [ebp - 4], 9
push 0
mov ecx, dword [ebp - 0x10070]
add ecx, 0x684
call fcn.004322c0
mov byte [ebp - 4], 0xa
push 0
mov ecx, dword [ebp - 0x10070]
add ecx, 0x690
call fcn.004322c0
mov byte [ebp - 4], 0xb
push 0
mov ecx, dword [ebp - 0x10070]
add ecx, 0x69c
call fcn.004322c0
mov byte [ebp - 4], 0xc
push 0
mov ecx, dword [ebp - 0x10070]
add ecx, 0x6a8
call fcn.004322c0
mov byte [ebp - 4], 0xd
push 0x53
mov ecx, dword [ebp - 0x10070]
add ecx, 0x6b4
call fcn.00432310
mov byte [ebp - 4], 0xe
push 0x53
mov ecx, dword [ebp - 0x10070]
add ecx, 0x6c0
call fcn.00432310
mov byte [ebp - 4], 0xf
push 0x53
mov ecx, dword [ebp - 0x10070]
add ecx, 0x6cc
call fcn.00432310
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x10070]
mov byte [eax + 0x6d8], 0
mov ecx, dword [ebp - 0x10070]
add ecx, 0x6dc
call fcn.004374b0
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x10070]
mov byte [ecx + 0x7fc], 0
mov edx, dword [ebp - 0x10070]
mov dword [edx + 0x800], 0
mov ecx, 0x50f110
call fcn.00433360
movzx eax, al
test eax, eax
je 0x43716f
mov dword [0x50f0f8], 0xffa7a6aa
mov dword [0x50f0fc], 0xff000000
mov dword [0x50f100], 0xff0000ff
mov dword [0x50f104], 0xffd3215f
mov dword [0x50f108], 0xffbae4ff
push 0x5c
push 0
lea ecx, [ebp - 0x1006c]
push ecx
call fcn.004b5de0
add esp, 0xc
lea edx, [ebp - 0x1006c]
push edx
push 0x5c
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov byte [ebp - 0x10055], 1
lea eax, [ebp - 0x1006c]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [ebp - 0x10084], eax
mov ecx, dword [ebp - 0x10084]
mov dword [0x50f10c], ecx
lea edx, [ebp - 0x10050]
push edx
mov ecx, 0x50f110
call fcn.004324e0
mov eax, dword [ebp - 0x1006c]
neg eax
mov dword [0x50f194], eax
mov ecx, dword [ebp - 0x1005c]
mov dword [0x50f198], ecx
movzx edx, byte [ebp - 0x10057]
cmp edx, 1
jne 0x43711b
mov dword [ebp - 0x10078], 1
jmp 0x437125
mov dword [ebp - 0x10078], 0
mov al, byte [ebp - 0x10078]
mov byte [0x50f19c], al
movzx ecx, byte [ebp - 0x10058]
cmp ecx, 1
jne 0x437148
mov dword [ebp - 0x1007c], 1
jmp 0x437152
mov dword [ebp - 0x1007c], 0
mov dl, byte [ebp - 0x1007c]
mov byte [0x50f19d], dl
push 0x3c
push 0
push 0x50f1a0
call fcn.004b5de0
add esp, 0xc
mov eax, dword [ebp - 0x10070]
mov ecx, dword [0x50f0f8]
mov dword [eax + 0x6dc], ecx
mov edx, dword [ebp - 0x10070]
mov eax, dword [0x50f0fc]
mov dword [edx + 0x6e0], eax
mov ecx, dword [ebp - 0x10070]
mov edx, dword [0x50f100]
mov dword [ecx + 0x6e4], edx
mov eax, dword [ebp - 0x10070]
mov ecx, dword [0x50f104]
mov dword [eax + 0x6e8], ecx
mov edx, dword [ebp - 0x10070]
mov eax, dword [0x50f108]
mov dword [edx + 0x6ec], eax
cmp dword [0x50efd4], 0
jne 0x437246
push 0xdc
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
mov dword [0x50efd4], eax
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov dword [ebp - 0x10088], 0x7fff
mov ecx, dword [ebp - 0x10088]
push ecx
lea edx, [ebp - 0x10010]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [ebp - 0x1008c], eax
cmp dword [ebp - 0x1008c], 0
jne 0x437223
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10094], eax
push str..msimg32.dll
lea eax, [ebp - 0x10010]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 8
push 0
lea ecx, [ebp - 0x10010]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edx, dword [ebp - 0x10070]
mov dword [edx + 0x5c8], 0
mov eax, dword [ebp - 0x10070]
mov dword [eax + 0x5cc], 0
mov ecx, dword [ebp - 0x10070]
mov dword [ecx + 0x5d0], 0
mov edx, dword [ebp - 0x10070]
mov dword [edx + 0x5d4], 0
mov eax, dword [ebp - 0x10070]
mov dword [eax + 0x5d8], 0
mov ecx, dword [ebp - 0x10070]
mov dword [ecx + 0x5dc], 0
mov edx, dword [ebp - 0x10070]
mov dword [edx + 0x5f4], 0
mov eax, dword [ebp - 0x10070]
mov dword [eax + 0x5f0], 0
push 0x10
push 0
mov ecx, dword [ebp - 0x10070]
add ecx, 0x5e0
push ecx
call fcn.004b5de0
add esp, 0xc
push 0x10
push 0
mov edx, dword [ebp - 0x10070]
add edx, 0x5f8
push edx
call fcn.004b5de0
add esp, 0xc
push 0x10
push 0
mov eax, dword [ebp - 0x10070]
add eax, 0x614
push eax
call fcn.004b5de0
add esp, 0xc
push 0x10
push 0
mov ecx, dword [ebp - 0x10070]
add ecx, 0x628
push ecx
call fcn.004b5de0
add esp, 0xc
mov edx, dword [ebp - 0x10070]
mov dword [edx + 0x5c4], 0xffffffff
mov eax, dword [ebp - 0x10070]
mov dword [eax + 0x5c0], 0xffffffff
push 0x10
call fcn.004b4047
add esp, 4
mov dword [ebp - 0x10074], eax
cmp dword [ebp - 0x10074], 0
je 0x4373a3
mov ecx, dword [ebp - 0x10074]
mov dword [ecx], 1
mov edx, dword [ebp - 0x10074]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x10074]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x10074]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x10074]
mov dword [ebp - 0x10080], edx
jmp 0x4373ad
mov dword [ebp - 0x10080], 0
mov eax, dword [ebp - 0x10080]
mov dword [ebp - 0x10090], eax
mov ecx, dword [ebp - 0x10070]
mov edx, dword [ebp - 0x10090]
mov dword [ecx + 0x4a0], edx
push 0
mov eax, dword [ebp - 0x10070]
mov ecx, dword [eax + 0x4a0]
push ecx
mov edx, dword [ebp - 0x10070]
add edx, 0x49c
push edx
call sub.gdiplus.dll_GdiplusStartup
mov eax, dword [0x50efc0]
push eax
call fcn.0045c5b0
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10070]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b42e4
mov esp, ebp
pop ebp
ret