Function at 0x552700
Capabilities:
Check if file exists
Get common file path
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x635038
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3d4], ecx
push 1
push 0
push 0
push 0xffff8ad0
push 0xffff8ad0
mov eax, dword [ebp - 0x3d4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
push 0
mov edx, dword [ebp - 0x3d4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x3d4]
cmp dword [ecx + 0xe7c], 0
jne 0x552777
jmp 0x552dde
mov edx, dword [ebp - 0x3d4]
mov dword [edx + 0xe7c], 0
push 0x657618
mov ecx, dword [ebp - 0x3d4]
add ecx, 0x2c
call sym.demo.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x348]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x28]
call eax
mov dword [ebp - 0x3d8], eax
mov ecx, dword [ebp - 0x3d8]
mov dword [ebp - 0x3dc], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x3dc]
call sym.demo.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
lea ecx, [ebp - 0x88]
call fcn.0040e4b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x348]
call sym.demo.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
cmp dword [ebp - 0x10], 0
je 0x552906
mov ecx, dword [ebp - 0x10]
call sym.demo.exe_public:_bool___thiscall_DuiLib::COptionUI::IsSelected_void_const
movzx edx, al
test edx, edx
jne 0x552906
push 0x657630
mov eax, dword [ebp - 0x3d4]
add eax, 0x904
push eax
call fcn.00412570
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x5528ef
push 0
push 0x657634
lea ecx, [ebp - 0x88]
call fcn.0040e5f0
cmp eax, dword [0x63f3a0]
je 0x5528ef
push 0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x34c], esp
push 0x65763c
call fcn.0040e4b0
mov dword [ebp - 0x3e0], eax
mov edx, dword [ebp - 0x3e0]
mov dword [ebp - 0x3e4], edx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3d4]
add ecx, 0x904
call fcn.0040e5d0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x350], esp
push eax
call fcn.0040e4b0
mov dword [ebp - 0x3e8], eax
mov eax, dword [ebp - 0x3e8]
mov dword [ebp - 0x3ec], eax
mov byte [ebp - 4], 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x354], esp
push 0x657640
call fcn.0040e4b0
mov dword [ebp - 0x3f0], eax
mov ecx, dword [ebp - 0x3f0]
mov dword [ebp - 0x3f4], ecx
mov byte [ebp - 4], 5
call fcn.00412530
mov byte [ebp - 4], 2
mov ecx, eax
call fcn.0040b820
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.0040e530
jmp 0x552dde
push 0
push 0x657650
mov ecx, dword [ebp - 0x3d4]
add ecx, 0x7b4
call fcn.0040e5f0
cmp eax, dword [0x63f3a0]
jne 0x552944
push 0
push 0x657658
lea ecx, [ebp - 0x88]
call fcn.0040e5f0
cmp eax, dword [0x63f3a0]
je 0x552a09
push 0x657660
mov edx, dword [ebp - 0x3d4]
add edx, 0x904
push edx
call fcn.00412570
add esp, 8
movzx eax, al
test eax, eax
je 0x552a09
push 0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x358], esp
push 0x657664
call fcn.0040e4b0
mov dword [ebp - 0x3f8], eax
mov ecx, dword [ebp - 0x3f8]
mov dword [ebp - 0x3fc], ecx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x3d4]
add ecx, 0x904
call fcn.0040e5d0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x35c], esp
push eax
call fcn.0040e4b0
mov dword [ebp - 0x400], eax
mov edx, dword [ebp - 0x400]
mov dword [ebp - 0x404], edx
mov byte [ebp - 4], 7
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x360], esp
push 0x657668
call fcn.0040e4b0
mov dword [ebp - 0x408], eax
mov eax, dword [ebp - 0x408]
mov dword [ebp - 0x40c], eax
mov byte [ebp - 4], 8
call fcn.00412530
mov byte [ebp - 4], 2
mov ecx, eax
call fcn.0040b820
mov ecx, dword [ebp - 0x3d4]
add ecx, 0x494
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x364], esp
push 0x657678
call fcn.0040e3a0
mov dword [ebp - 0x410], eax
mov edx, dword [ebp - 0x410]
mov dword [ebp - 0x414], edx
mov byte [ebp - 4], 9
call fcn.00412590
mov byte [ebp - 4], 2
mov ecx, eax
call fcn.0051f7b0
call fcn.00412590
mov ecx, eax
call fcn.00528700
cmp dword [ebp + 8], 0
je 0x552a7a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.0040e530
jmp 0x552dde
mov eax, dword [ebp - 0x3d4]
cmp dword [eax + 0x4c8], 0
je 0x552c36
xor ecx, ecx
mov word [ebp - 0x294], cx
push 0x206
push 0
lea edx, [ebp - 0x292]
push edx
call fcn.005b4de0
add esp, 0xc
push 0
push 0x19
lea eax, [ebp - 0x294]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x552ad6
push 0
push 0x10
lea ecx, [ebp - 0x294]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0x294]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x552c1f
push 0x657680
lea eax, [ebp - 0x294]
push eax
call fcn.005b4d90
add esp, 8
mov ecx, dword [ebp - 0x3d4]
add ecx, 0x840
call fcn.0040e5d0
push eax
lea ecx, [ebp - 0x294]
push ecx
call fcn.005b4d90
add esp, 8
lea edx, [ebp - 0x294]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x552c1f
lea ecx, [ebp - 0x2c4]
call fcn.0044a670
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x380]
call fcn.0040e4b0
mov byte [ebp - 4], 0xb
push 0
lea ecx, [ebp - 0x380]
push ecx
lea edx, [ebp - 0x39c]
push edx
call fcn.0043a030
add esp, 8
mov dword [ebp - 0x418], eax
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0x41c], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x41c]
call fcn.0040e460
push eax
mov ecx, dword [ebp - 0x3d4]
add ecx, 0x8b0
push ecx
lea edx, [ebp - 0x3b8]
push edx
call fcn.0043a030
add esp, 8
mov dword [ebp - 0x420], eax
mov eax, dword [ebp - 0x420]
mov dword [ebp - 0x424], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x424]
call fcn.0040e460
push eax
lea ecx, [ebp - 0x2c4]
call fcn.0044a9a0
mov dword [ebp - 0x298], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x3b8]
call fcn.0040e3e0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x39c]
call fcn.0040e3e0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x380]
call fcn.0040e530
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c4]
call fcn.0044a6e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.0040e530
jmp 0x552dde
lea ecx, [ebp - 0x6c]
call fcn.00546550
mov byte [ebp - 4], 0xe
push 0
push 0x657684
mov ecx, dword [ebp - 0x3d4]
add ecx, 0x8b0
call fcn.0040e5f0
cmp eax, dword [0x63f3a0]
je 0x552d06
mov ecx, dword [ebp - 0x3d4]
add ecx, 0x8cc
sub esp, 0x1c
mov edx, esp
mov dword [ebp - 0x3bc], esp
push ecx
mov ecx, edx
call fcn.0040e4f0
mov dword [ebp - 0x428], eax
mov eax, dword [ebp - 0x428]
mov dword [ebp - 0x42c], eax
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x3d4]
add ecx, 0x8b0
sub esp, 0x1c
mov edx, esp
mov dword [ebp - 0x3c0], esp
push ecx
mov ecx, edx
call fcn.0040e4f0
mov dword [ebp - 0x430], eax
mov eax, dword [ebp - 0x430]
mov dword [ebp - 0x434], eax
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x3d4]
add ecx, 0x840
sub esp, 0x1c
mov edx, esp
mov dword [ebp - 0x3c4], esp
push ecx
mov ecx, edx
call fcn.0040e4f0
mov dword [ebp - 0x438], eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x6c]
call fcn.00546d00
jmp 0x552dc0
push 0
push 0x657690
mov ecx, dword [ebp - 0x3d4]
add ecx, 0x894
call fcn.0040e5f0
cmp eax, dword [0x63f3a0]
je 0x552dc0
mov eax, dword [ebp - 0x3d4]
add eax, 0x894
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x3c8], esp
push eax
call fcn.0040e4f0
mov dword [ebp - 0x43c], eax
mov ecx, dword [ebp - 0x43c]
mov dword [ebp - 0x440], ecx
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x3d4]
add edx, 0x840
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x3cc], esp
push edx
call fcn.0040e4f0
mov dword [ebp - 0x444], eax
mov eax, dword [ebp - 0x444]
mov dword [ebp - 0x448], eax
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x3d4]
add ecx, 0x760
sub esp, 0x1c
mov edx, esp
mov dword [ebp - 0x3d0], esp
push ecx
mov ecx, edx
call fcn.0040e4f0
mov dword [ebp - 0x44c], eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x6c]
call fcn.00546630
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
call fcn.005465c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.0040e530
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret 4