Function at 0x48a530
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3a80
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x268
mov eax, dword [0x5159c4]
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 0x48a57d
mov eax, 1
jmp 0x48a9ed
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.0044da10
add esp, 4
test eax, eax
je 0x48a5c4
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.0048aee0
push 0x17
push 0
push 0x50150c
push 0x501474
lea ecx, [ebp - 0x230]
push ecx
lea edx, [ebp - 0x24c]
push edx
call fcn.0048b020
add esp, 0xc
mov ecx, eax
call fcn.0048af50
push 0
lea ecx, [ebp - 0x230]
call fcn.00462280
movzx eax, al
test eax, eax
je 0x48a625
lea ecx, [ebp - 0x230]
call fcn.0048af00
mov dword [ebp - 4], 0xffffffff
jmp 0x48a9df
lea ecx, [ebp - 0x230]
call fcn.00461ad0
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0048aba0
test eax, eax
jne 0x48a655
lea ecx, [ebp - 0x230]
call fcn.0048af00
mov dword [ebp - 4], 0xffffffff
jmp 0x48a9df
mov dword [ebp - 0x14], 1
lea edx, [ebp - 0x234]
push edx
lea ecx, [ebp - 0x230]
call fcn.004124e0
mov ecx, eax
call fcn.00413950
push 0
lea ecx, [ebp - 0x234]
call fcn.0048aeb0
movzx eax, al
test eax, eax
je 0x48a6ab
lea ecx, [ebp - 0x234]
call fcn.00413e90
lea ecx, [ebp - 0x230]
call fcn.0048af00
mov dword [ebp - 4], 0xffffffff
jmp 0x48a9df
xor ecx, ecx
mov word [ebp - 0x228], cx
push 0x206
push 0
lea edx, [ebp - 0x226]
push edx
call fcn.004c62e0
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.00433e20
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.004124e0
mov ecx, eax
call fcn.004138e0
push 0
lea ecx, [ebp - 0x22c]
call fcn.0048ae80
movzx eax, al
test eax, eax
je 0x48a765
lea ecx, [ebp - 0x22c]
call fcn.00413e40
lea ecx, [ebp - 0x234]
call fcn.00413e90
lea ecx, [ebp - 0x230]
call fcn.0048af00
mov dword [ebp - 4], 0xffffffff
jmp 0x48a9df
cmp dword [ebp + 0x1c], 0
je 0x48a98b
lea ecx, [ebp - 0x238]
call fcn.00433d10
push 0x17
push 0
push 0x4fcfdc
push 0x501488
lea ecx, [ebp - 0x238]
push ecx
lea edx, [ebp - 0x254]
push edx
call fcn.00435390
add esp, 0xc
mov ecx, eax
call fcn.00434560
push 0
lea ecx, [ebp - 0x238]
call fcn.004357c0
movzx eax, al
test eax, eax
je 0x48a7f1
lea ecx, [ebp - 0x238]
call fcn.00437410
lea ecx, [ebp - 0x22c]
call fcn.00413e40
lea ecx, [ebp - 0x234]
call fcn.00413e90
lea ecx, [ebp - 0x230]
call fcn.0048af00
mov dword [ebp - 4], 0xffffffff
jmp 0x48a9df
push str.pw_theme.ui
lea ecx, [ebp - 0x258]
call fcn.00432330
lea ecx, [ebp - 0x258]
push ecx
lea edx, [ebp - 0x25c]
push edx
call fcn.0048d980
add esp, 4
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.00412340
add esp, 0xc
mov ecx, eax
call fcn.00413b20
push eax
lea ecx, [ebp - 0x240]
call fcn.00436630
lea ecx, [ebp - 0x260]
call fcn.00413a40
lea ecx, [ebp - 0x25c]
call fcn.00413a40
lea ecx, [ebp - 0x258]
call fcn.00413a40
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x23c]
call fcn.0048b040
lea ecx, [ebp - 0x23c]
call fcn.0048afd0
movzx edx, al
test edx, edx
je 0x48a8f4
push ecx
mov ecx, esp
mov eax, dword [ebp + 0x10]
push eax
call fcn.00436630
lea ecx, [ebp - 0x23c]
call fcn.0048afa0
mov ecx, eax
call fcn.0048b320
push ecx
mov ecx, esp
lea edx, [ebp - 0x240]
push edx
call fcn.00440ba0
lea ecx, [ebp - 0x23c]
call fcn.0048afa0
mov ecx, eax
call fcn.0048b380
lea ecx, [ebp - 0x240]
call fcn.0048b2c0
push eax
lea ecx, [ebp - 0x244]
call fcn.00432330
mov eax, dword [ebp - 0x244]
push eax
push str._360cb_skin_file_path_is__s
call fcn.004139b0
add esp, 8
lea ecx, [ebp - 0x244]
call fcn.00413a40
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push ecx
mov ecx, esp
mov edx, dword [ebp + 0x10]
push edx
call fcn.00436630
lea ecx, [ebp - 0x238]
call fcn.00433d30
mov ecx, eax
call fcn.0048b3e0
push ecx
mov ecx, esp
lea eax, [ebp - 0x228]
push eax
call fcn.00436630
push 0
lea ecx, [ebp - 0x238]
call fcn.00433d30
mov ecx, eax
call fcn.00436e80
lea ecx, [ebp - 0x238]
call fcn.0043bf60
push eax
push 0
lea ecx, [ebp - 0x22c]
call fcn.00433df0
mov ecx, eax
call fcn.00440e00
lea ecx, [ebp - 0x23c]
call fcn.0048af80
lea ecx, [ebp - 0x240]
call fcn.00436690
lea ecx, [ebp - 0x238]
call fcn.00437410
cmp dword [ebp + 0x14], 0
je 0x48a9a1
lea ecx, [ebp - 0x230]
call fcn.0048af20
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov dword [ebp - 0x18], 1
lea ecx, [ebp - 0x22c]
call fcn.00413e40
lea ecx, [ebp - 0x234]
call fcn.00413e90
lea ecx, [ebp - 0x230]
call fcn.0048af00
jmp 0x48a9d8
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.004c62c9
mov esp, ebp
pop ebp
ret 0x18