Function at 0x41b5f0
Capabilities:
Check if file exists
Enumerate gui resources
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46be75
mov eax, dword fs:[0]
push eax
mov eax, 0x1530
call fcn.004481c0
mov eax, dword [0x4914f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x1fe
push eax
lea ecx, [ebp - 0x60e]
push ecx
mov word [ebp - 0x610], ax
call fcn.00446290
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
push 0x415730
call dword [sym.imp.USER32.dll_EnumWindows]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x210]
push eax
call ebx
test eax, eax
jne 0x41b7c3
push eax
push 2
lea ecx, [ebp - 0xa10]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [ebp - 0xa10]
push edx
lea eax, [ebp - 0xe10]
push eax
call edi
lea ecx, [ebp - 0xa10]
push ecx
lea edx, [ebp - 0x1010]
push edx
call edi
lea eax, [ebp - 0xa10]
push eax
lea ecx, [ebp - 0xc10]
push ecx
call edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x475960
lea edx, [ebp - 0xe10]
push edx
call esi
push 0x47592c
lea eax, [ebp - 0x1010]
push eax
call esi
push 0x475900
lea ecx, [ebp - 0xc10]
push ecx
call esi
lea edx, [ebp - 0xe10]
push edx
call ebx
test eax, eax
je 0x41b707
push 0
lea eax, [ebp - 0x610]
push eax
lea ecx, [ebp - 0xe10]
push ecx
call fcn.0045be40
add esp, 0xc
jmp 0x41b764
lea edx, [ebp - 0x1010]
push edx
call ebx
test eax, eax
je 0x41b72e
push 0
lea eax, [ebp - 0x610]
push eax
lea ecx, [ebp - 0x1010]
push ecx
call fcn.0045be40
add esp, 0xc
jmp 0x41b764
lea edx, [ebp - 0xc10]
push edx
call ebx
test eax, eax
je 0x41b755
push 0
lea eax, [ebp - 0x610]
push eax
lea ecx, [ebp - 0xc10]
push ecx
call fcn.0045be40
add esp, 0xc
jmp 0x41b764
lea edx, [ebp - 0x610]
push edx
call fcn.00417670
add esp, 4
push 0x100
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x610]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea edx, [ebp - 0x210]
push edx
call ebx
test eax, eax
jne 0x41b7c3
push str.TypePath
lea eax, [ebp - 0x810]
push eax
call edi
push 0
lea ecx, [ebp - 0x810]
push ecx
push str.SOFTWARETencentPlatForm_Type_List1
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0045bc30
add esp, 0x10
lea edx, [ebp - 0x810]
push edx
lea eax, [ebp - 0x210]
push eax
call edi
lea ecx, [ebp - 0x210]
push ecx
call ebx
test eax, eax
jne 0x41b7e4
push eax
push 0x47588c
lea edx, [ebp - 0x210]
push edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
push 0x1fe
push eax
lea ecx, [ebp - 0x40e]
push ecx
mov word [ebp - 0x410], ax
call fcn.00446290
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x210]
push str.LegalCopyright
push eax
call fcn.0045b690
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrW]
add esp, 0x18
push str.2011
lea ecx, [ebp - 0x410]
push ecx
call esi
mov ebx, 1
test eax, eax
je 0x41b83d
mov dword [0x493780], ebx
push str.2012
lea edx, [ebp - 0x410]
push edx
call esi
test eax, eax
jne 0x41b878
push str.2011
lea eax, [ebp - 0x410]
push eax
call esi
test eax, eax
jne 0x41b878
lea ecx, [ebp - 0x210]
push ecx
call fcn.00413230
add esp, 4
test eax, eax
je 0x41b955
lea edx, [ebp - 0x210]
push 0x4937ac
push edx
call fcn.0041b1e0
mov eax, dword [0x4937ac]
mov eax, dword [eax - 0xc]
add esp, 8
test eax, eax
jne 0x41b9f4
mov ecx, 0x3e
mov esi, 0x475758
lea edi, [ebp - 0x810]
rep movsd dword es:[edi], dword [esi]
push 0x106
push eax
lea ecx, [ebp - 0x716]
push ecx
movsw word es:[edi], word [esi]
call fcn.00446290
add esp, 0xc
push ebx
push 0x473cb0
lea edx, [ebp - 0x810]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, ebx
jne 0x41b9f4
mov ecx, 6
mov esi, 0x473c90
lea edi, [ebp - 0x1210]
rep movsd dword es:[edi], dword [esi]
push 0x1e6
lea eax, [ebp - 0x11f6]
push 0
push eax
movsw word es:[edi], word [esi]
call fcn.00446290
add esp, 0xc
push ebx
push 0
push 0
lea ecx, [ebp - 0x1210]
push ecx
push 6
push 0x473c80
push 0
push ebx
lea ecx, [ebp - 0x1534]
call fcn.004361a8
lea ecx, [ebp - 0x1534]
mov dword [ebp - 4], 0
call fcn.00436a09
lea ecx, [ebp - 0x1534]
cmp eax, ebx
je 0x41b95c
mov dword [ebp - 4], 0xffffffff
call fcn.004360a5
xor eax, eax
jmp 0x41be87
lea edx, [ebp - 0x1538]
push edx
call fcn.00436b38
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp - 0x1538]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b99a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x210]
push 0x4937ac
push ecx
call fcn.0041b1e0
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x210]
push str.LegalCopyright
push eax
call fcn.0045b690
add esp, 0x14
push str.2011
lea ecx, [ebp - 0x410]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
je 0x41b9e2
mov dword [0x493780], ebx
lea ecx, [ebp - 0x1534]
mov dword [ebp - 4], 0xffffffff
call fcn.004360a5
mov edx, dword [0x4937ac]
cmp dword [edx - 0xc], 0
je 0x41b955
call fcn.0042fa4e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41ba1e
push 0x80004005
call fcn.00401350
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x153c], eax
mov edx, dword [0x4937ac]
push ebx
push 0x472650
push 0
lea ecx, [ebp - 0x153c]
push ecx
push edx
mov dword [ebp - 4], ebx
call fcn.0045d8a0
push str.MiscLoginPanel
lea eax, [ebp - 0x153c]
push eax
lea ecx, [ebp - 0x1538]
push ecx
call fcn.00413e40
add esp, 0x20
push eax
mov ecx, 0x4937b8
mov byte [ebp - 4], 2
call fcn.00403a00
mov eax, dword [ebp - 0x1538]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41ba9d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xa
push str.I18N2052
lea ecx, [ebp - 0x153c]
call fcn.00403340
lea ecx, [ebp - 0x153c]
push ecx
mov ecx, 0x4937b4
call fcn.00403a00
push str.Themesdefault.rdb
lea edx, [ebp - 0x1538]
push 0x4937ac
push edx
call fcn.00413e40
add esp, 0xc
push eax
mov ecx, 0x4937e8
mov byte [ebp - 4], 3
call fcn.00403a00
mov eax, dword [ebp - 0x1538]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bb0d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str._res.rdb
lea ecx, [ebp - 0x1538]
push 0x4937ac
push ecx
call fcn.00413e40
add esp, 0xc
push eax
mov ecx, 0x4937e4
mov byte [ebp - 4], 4
call fcn.00403a00
mov eax, dword [ebp - 0x1538]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41bb5a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.xtml.rdb
lea ecx, [ebp - 0x1538]
push 0x4937ac
push ecx
call fcn.00413e40
add esp, 0xc
push eax
mov ecx, 0x4937e0
mov byte [ebp - 4], 5
call fcn.00403a00
mov eax, dword [ebp - 0x1538]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41bba7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.StringBundle.xml
lea ecx, [ebp - 0x1538]
push 0x4937b4
push ecx
call fcn.00413e40
add esp, 0xc
push eax
mov ecx, 0x4937d8
mov byte [ebp - 4], 6
call fcn.00403a00
mov eax, dword [ebp - 0x1538]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41bbf4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.PreLoadStringBundle.xml
lea ecx, [ebp - 0x1538]
push 0x4937b4
push ecx
call fcn.00413e40
add esp, 0xc
push eax
mov ecx, 0x4937dc
mov byte [ebp - 4], 7
call fcn.00403a00
mov eax, dword [ebp - 0x1538]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41bc41
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.Themescfold_default.rdb
lea ecx, [ebp - 0x1538]
push 0x4937ac
push ecx
call fcn.00413e40
add esp, 0xc
push eax
mov ecx, 0x4937d4
mov byte [ebp - 4], 8
call fcn.00403a00
mov eax, dword [ebp - 0x1538]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41bc8e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.cfold_xtml.rdb
lea ecx, [ebp - 0x1538]
push 0x4937ac
push ecx
call fcn.00413e40
add esp, 0xc
push eax
mov ecx, 0x4937cc
mov byte [ebp - 4], 9
call fcn.00403a00
mov eax, dword [ebp - 0x1538]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41bcdb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.cfold_res.rdb
lea ecx, [ebp - 0x1538]
push 0x4937ac
push ecx
call fcn.00413e40
add esp, 0xc
push eax
mov ecx, 0x4937d0
mov byte [ebp - 4], 0xa
call fcn.00403a00
mov eax, dword [ebp - 0x1538]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41bd28
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.cfold_StringBundle.xml
lea ecx, [ebp - 0x1538]
push 0x4937b4
push ecx
call fcn.00413e40
add esp, 0xc
push eax
mov ecx, 0x4937c4
mov byte [ebp - 4], 0xb
call fcn.00403a00
mov eax, dword [ebp - 0x1538]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41bd75
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.cfold_PreLoadStringBundle.xml
lea ecx, [ebp - 0x1538]
push 0x4937b4
push ecx
call fcn.00413e40
add esp, 0xc
push eax
mov ecx, 0x4937c8
mov byte [ebp - 4], 0xc
call fcn.00403a00
mov eax, dword [ebp - 0x1538]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41bdc2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.cfold_fringe_bkg.png.gft
lea ecx, [ebp - 0x1538]
push 0x4937b8
push ecx
call fcn.00413e40
add esp, 0xc
push eax
mov ecx, 0x49381c
mov byte [ebp - 4], 0xd
call fcn.00403a00
mov eax, dword [ebp - 0x1538]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41be0f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str._fringe_bkg.png.gft
lea ecx, [ebp - 0x1538]
push 0x4937b8
push ecx
call fcn.00413e40
add esp, 0xc
push eax
mov ecx, 0x493818
mov byte [ebp - 4], 0xe
call fcn.00403a00
mov eax, dword [ebp - 0x1538]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41be5c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x153c]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41be85
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044665f
mov esp, ebp
pop ebp
ret