Function at 0x427670
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bfffe
mov eax, dword fs:[0]
push eax
mov eax, 0x10088
call fcn.00426250
mov eax, dword [0x4eb018]
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.00444ce0
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.004463b0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10070]
add ecx, 0x3ec
call fcn.004397c0
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.00441330
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.00439860
mov byte [ebp - 4], 4
push 0
mov ecx, dword [ebp - 0x10070]
add ecx, 0x648
call fcn.00439860
mov byte [ebp - 4], 5
push 0
mov ecx, dword [ebp - 0x10070]
add ecx, 0x654
call fcn.00439860
mov byte [ebp - 4], 6
push 0
mov ecx, dword [ebp - 0x10070]
add ecx, 0x660
call fcn.00439860
mov byte [ebp - 4], 7
push 0
mov ecx, dword [ebp - 0x10070]
add ecx, 0x66c
call fcn.00439860
mov byte [ebp - 4], 8
push 0
mov ecx, dword [ebp - 0x10070]
add ecx, 0x678
call fcn.00439860
mov byte [ebp - 4], 9
push 0
mov ecx, dword [ebp - 0x10070]
add ecx, 0x684
call fcn.00439860
mov byte [ebp - 4], 0xa
push 0
mov ecx, dword [ebp - 0x10070]
add ecx, 0x690
call fcn.00439860
mov byte [ebp - 4], 0xb
push 0
mov ecx, dword [ebp - 0x10070]
add ecx, 0x69c
call fcn.00439860
mov byte [ebp - 4], 0xc
push 0
mov ecx, dword [ebp - 0x10070]
add ecx, 0x6a8
call fcn.00439860
mov byte [ebp - 4], 0xd
push 0x53
mov ecx, dword [ebp - 0x10070]
add ecx, 0x6b4
call fcn.004398b0
mov byte [ebp - 4], 0xe
push 0x53
mov ecx, dword [ebp - 0x10070]
add ecx, 0x6c0
call fcn.004398b0
mov byte [ebp - 4], 0xf
push 0x53
mov ecx, dword [ebp - 0x10070]
add ecx, 0x6cc
call fcn.004398b0
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.00427eb0
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, 0x4eda38
call fcn.0043a900
movzx eax, al
test eax, eax
je 0x427b6f
mov dword [0x4eda20], 0xffa7a6aa
mov dword [0x4eda24], 0xff000000
mov dword [0x4eda28], 0xff0000ff
mov dword [0x4eda2c], 0xffd3215f
mov dword [0x4eda30], 0xffbae4ff
push 0x5c
push 0
lea ecx, [ebp - 0x1006c]
push ecx
call fcn.0049d5c0
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 [0x4eda34], ecx
lea edx, [ebp - 0x10050]
push edx
mov ecx, 0x4eda38
call fcn.00439a80
mov eax, dword [ebp - 0x1006c]
neg eax
mov dword [0x4edabc], eax
mov ecx, dword [ebp - 0x1005c]
mov dword [0x4edac0], ecx
movzx edx, byte [ebp - 0x10057]
cmp edx, 1
jne 0x427b1b
mov dword [ebp - 0x10078], 1
jmp 0x427b25
mov dword [ebp - 0x10078], 0
mov al, byte [ebp - 0x10078]
mov byte [0x4edac4], al
movzx ecx, byte [ebp - 0x10058]
cmp ecx, 1
jne 0x427b48
mov dword [ebp - 0x1007c], 1
jmp 0x427b52
mov dword [ebp - 0x1007c], 0
mov dl, byte [ebp - 0x1007c]
mov byte [0x4edac5], dl
push 0x3c
push 0
push 0x4edac8
call fcn.0049d5c0
add esp, 0xc
mov eax, dword [ebp - 0x10070]
mov ecx, dword [0x4eda20]
mov dword [eax + 0x6dc], ecx
mov edx, dword [ebp - 0x10070]
mov eax, dword [0x4eda24]
mov dword [edx + 0x6e0], eax
mov ecx, dword [ebp - 0x10070]
mov edx, dword [0x4eda28]
mov dword [ecx + 0x6e4], edx
mov eax, dword [ebp - 0x10070]
mov ecx, dword [0x4eda2c]
mov dword [eax + 0x6e8], ecx
mov edx, dword [ebp - 0x10070]
mov eax, dword [0x4eda30]
mov dword [edx + 0x6ec], eax
cmp dword [0x4ed8fc], 0
jne 0x427c46
push 0xdc
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
mov dword [0x4ed8fc], 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 0x427c23
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.0049d5c0
add esp, 0xc
push 0x10
push 0
mov edx, dword [ebp - 0x10070]
add edx, 0x5f8
push edx
call fcn.0049d5c0
add esp, 0xc
push 0x10
push 0
mov eax, dword [ebp - 0x10070]
add eax, 0x614
push eax
call fcn.0049d5c0
add esp, 0xc
push 0x10
push 0
mov ecx, dword [ebp - 0x10070]
add ecx, 0x628
push ecx
call fcn.0049d5c0
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.004252e9
add esp, 4
mov dword [ebp - 0x10074], eax
cmp dword [ebp - 0x10074], 0
je 0x427da3
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 0x427dad
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 [0x4ed8e8]
push eax
call fcn.004418c0
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.004250ca
mov esp, ebp
pop ebp
ret