Function at 0x4bcc40
Capabilities:
Check if file exists
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x528e60
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x268
mov eax, dword [0x552a7c]
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x274], ecx
mov eax, dword [ebp - 0x274]
cmp dword [eax], 0
je 0x4bcc8d
mov eax, 1
jmp 0x4bd103
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov edx, dword [ebp + 8]
push edx
call fcn.0045ff30
add esp, 4
test eax, eax
je 0x4bccd4
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea ecx, [ebp - 0x230]
call fcn.004bd600
push 0x17
push 0
push 0x5384f8
push 0x538494
lea ecx, [ebp - 0x230]
push ecx
lea edx, [ebp - 0x24c]
push edx
call fcn.004bd740
add esp, 0xc
mov ecx, eax
call fcn.004bd670
push 0
lea ecx, [ebp - 0x230]
call fcn.0046c550
movzx eax, al
test eax, eax
je 0x4bcd35
lea ecx, [ebp - 0x230]
call fcn.004bd620
mov dword [ebp - 4], 0xffffffff
jmp 0x4bd0f5
lea ecx, [ebp - 0x230]
call fcn.0046ba80
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004bd2c0
test eax, eax
jne 0x4bcd65
lea ecx, [ebp - 0x230]
call fcn.004bd620
mov dword [ebp - 4], 0xffffffff
jmp 0x4bd0f5
mov dword [ebp - 0x14], 1
lea edx, [ebp - 0x234]
push edx
lea ecx, [ebp - 0x230]
call fcn.0041bef0
mov ecx, eax
call fcn.0041d020
push 0
lea ecx, [ebp - 0x234]
call fcn.004bd5d0
movzx eax, al
test eax, eax
je 0x4bcdbb
lea ecx, [ebp - 0x234]
call fcn.0041d640
lea ecx, [ebp - 0x230]
call fcn.004bd620
mov dword [ebp - 4], 0xffffffff
jmp 0x4bd0f5
xor ecx, ecx
mov word [ebp - 0x228], cx
push 0x206
push 0
lea edx, [ebp - 0x226]
push edx
call fcn.004f7580
add esp, 0xc
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x228]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x234]
call fcn.0043cb70
mov dword [ebp - 0x278], eax
lea eax, [ebp - 0x228]
push eax
mov ecx, dword [ebp - 0x278]
push ecx
mov edx, dword [ebp - 0x278]
mov eax, dword [edx]
mov ecx, dword [eax + 0x18]
call ecx
lea edx, [ebp - 0x22c]
push edx
lea ecx, [ebp - 0x230]
call fcn.0041bef0
mov ecx, eax
call fcn.0041cfb0
push 0
lea ecx, [ebp - 0x22c]
call fcn.004bd5a0
movzx eax, al
test eax, eax
je 0x4bce75
lea ecx, [ebp - 0x22c]
call fcn.0041d5f0
lea ecx, [ebp - 0x234]
call fcn.0041d640
lea ecx, [ebp - 0x230]
call fcn.004bd620
mov dword [ebp - 4], 0xffffffff
jmp 0x4bd0f5
cmp dword [ebp + 0x1c], 0
je 0x4bd0a1
lea ecx, [ebp - 0x238]
call fcn.0043ca60
push 0x17
push 0
push 0x532b6c
push 0x5384a8
lea ecx, [ebp - 0x238]
push ecx
lea edx, [ebp - 0x254]
push edx
call fcn.0043e090
add esp, 0xc
mov ecx, eax
call fcn.0043d240
push 0
lea ecx, [ebp - 0x238]
call fcn.0043e4c0
movzx eax, al
test eax, eax
je 0x4bcf01
lea ecx, [ebp - 0x238]
call fcn.004400c0
lea ecx, [ebp - 0x22c]
call fcn.0041d5f0
lea ecx, [ebp - 0x234]
call fcn.0041d640
lea ecx, [ebp - 0x230]
call fcn.004bd620
mov dword [ebp - 4], 0xffffffff
jmp 0x4bd0f5
push str.360pw_theme_v3.ui
lea ecx, [ebp - 0x258]
call fcn.0043a9f0
lea ecx, [ebp - 0x258]
push ecx
lea edx, [ebp - 0x25c]
push edx
call fcn.004c2bf0
add esp, 4
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.0041bbc0
add esp, 0xc
mov ecx, eax
call fcn.0041d2b0
push eax
lea ecx, [ebp - 0x23c]
call fcn.0043f2e0
lea ecx, [ebp - 0x260]
call fcn.0041d100
lea ecx, [ebp - 0x25c]
call fcn.0041d100
lea ecx, [ebp - 0x258]
call fcn.0041d100
lea ecx, [ebp - 0x23c]
call fcn.00446370
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4bd015
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x240]
call fcn.004bd760
lea ecx, [ebp - 0x240]
call fcn.004bd6f0
movzx edx, al
test edx, edx
je 0x4bd00a
push ecx
mov ecx, esp
mov eax, dword [ebp + 0x10]
push eax
call fcn.0043f2e0
lea ecx, [ebp - 0x240]
call fcn.004bd6c0
mov ecx, eax
call fcn.004bda40
push ecx
mov ecx, esp
lea edx, [ebp - 0x23c]
push edx
call fcn.00446340
lea ecx, [ebp - 0x240]
call fcn.004bd6c0
mov ecx, eax
call fcn.004bdaa0
lea ecx, [ebp - 0x23c]
call fcn.004bd9e0
push eax
lea ecx, [ebp - 0x244]
call fcn.0043a9f0
lea ecx, [ebp - 0x244]
call fcn.0041d100
lea ecx, [ebp - 0x240]
call fcn.004bd6a0
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x228]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push ecx
mov ecx, esp
mov eax, dword [ebp + 0x10]
push eax
call fcn.0043f2e0
lea ecx, [ebp - 0x238]
call fcn.0043ca80
mov ecx, eax
call fcn.004bdb00
push ecx
mov ecx, esp
lea edx, [ebp - 0x228]
push edx
call fcn.0043f2e0
push 0
lea ecx, [ebp - 0x238]
call fcn.0043ca80
mov ecx, eax
call fcn.0043fb30
lea ecx, [ebp - 0x238]
call fcn.0044d730
push eax
push 0
lea ecx, [ebp - 0x22c]
call fcn.0043cb40
mov ecx, eax
call fcn.00451da0
lea ecx, [ebp - 0x23c]
call fcn.0043f340
lea ecx, [ebp - 0x238]
call fcn.004400c0
cmp dword [ebp + 0x14], 0
je 0x4bd0b7
lea ecx, [ebp - 0x230]
call fcn.004bd640
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov dword [ebp - 0x18], 1
lea ecx, [ebp - 0x22c]
call fcn.0041d5f0
lea ecx, [ebp - 0x234]
call fcn.0041d640
lea ecx, [ebp - 0x230]
call fcn.004bd620
jmp 0x4bd0ee
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x274]
mov eax, dword [ebp - 0x18]
mov dword [edx], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.004f7567
mov esp, ebp
pop ebp
ret 0x18