Function at 0x4b20d0
Capabilities:
Check if file exists
Copy file
Create directory
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x60ba9c
mov eax, dword fs:[0]
push eax
sub esp, 0xa98
mov eax, dword [0x6687b8]
xor eax, esp
mov dword [esp + 0xa90], eax
push ebx
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0xaa8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x28], eax
call fcn.00409dd0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ebx, 0x63118c
mov dword [esp + 0xab8], 0
call fcn.0040aab0
mov eax, dword [eax]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 8
push eax
call edi
mov esi, eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4b2170
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x4b2503
lea esi, [esp + 0x3c]
call fcn.00498dc0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ebx, 0x63118c
call fcn.0040aab0
add esp, 8
mov ecx, 1
mov byte [esp + 0xab0], cl
test byte [0x6809cc], cl
mov esi, dword [eax]
jne 0x4b21c1
or dword [0x6809cc], ecx
push 0x613990
call fcn.005d268a
add esp, 4
push esi
push 0x6809c0
lea ecx, [esp + 0x44]
call fcn.0049a1f0
mov byte [esp + 0xab0], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b21f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x24]
add edi, 0x20
lea ecx, [esp + 0x18]
push edi
push ecx
mov ebx, str.Skin2.0_
call fcn.0040aab0
mov eax, dword [eax]
add esp, 8
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4b223f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x677600]
mov eax, dword [edx + 0xc]
mov ecx, 0x677600
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0xab0], 2
call fcn.0048aa70
push eax
lea ecx, [esp + 0x20]
lea edx, [esp + 0x40]
call fcn.0049b0c0
mov esi, dword [esp + 0x1c]
cmp dword [esi - 0xc], 0
jne 0x4b23ac
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x40]
call fcn.00409dd0
mov esi, eax
lea edx, [esp + 0x28]
push edi
push edx
mov ebx, str.Skin2.0_
mov byte [esp + 0xab8], 3
call fcn.0040aab0
lea ecx, [esp + 0x28]
push esi
push ecx
mov ebx, eax
mov byte [esp + 0xac0], 4
call fcn.0041eb50
push eax
lea edx, [esp + 0x40]
push edx
mov ebx, str..skn
mov byte [esp + 0xac8], 5
call fcn.0040aab0
mov esi, eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x34]
push ecx
mov ebx, 0x63118c
mov byte [esp + 0xad0], 6
call fcn.0040aab0
mov esi, dword [esi]
mov eax, dword [eax]
add esp, 0x20
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4b2323
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xab0], 5
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b234b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xab0], 4
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b2373
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xab0], 3
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b239b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xab0], 2
mov eax, dword [esp + 0x10]
jmp 0x4b24bd
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4b24dd
push 0x5c
push esi
call fcn.005d37a2
add esp, 8
test eax, eax
jne 0x4b23cf
or eax, 0xffffffff
jmp 0x4b23d3
sub eax, esi
sar eax, 1
lea ecx, [eax + 1]
lea esi, [esp + 0x20]
lea edx, [esp + 0x1c]
call fcn.00409f40
lea ecx, [esp + 0x18]
push edi
push ecx
mov ebx, str.Skin2.0_
mov byte [esp + 0xab8], 7
call fcn.0040aab0
mov edx, esi
push edx
lea ecx, [esp + 0x34]
push ecx
mov ebx, eax
mov byte [esp + 0xac0], 8
call fcn.0041eb50
mov esi, eax
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x24]
push eax
mov ebx, 0x63118c
mov byte [esp + 0xac8], 9
call fcn.0040aab0
mov esi, dword [esi]
mov eax, dword [eax]
add esp, 0x18
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b2461
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xab0], 8
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b2489
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xab0], 7
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b24b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xab0], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b24d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x1c]
lea eax, [esi - 0x10]
mov byte [esp + 0xab0], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b2573
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4b2573
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
mov ebx, str.DefaultSkinCoverPack
call fcn.0040aab0
mov eax, dword [eax]
add esp, 8
push eax
call edi
mov esi, eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b2541
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x4b2573
mov eax, 1
test byte [0x6809cc], al
jne 0x4b2565
or dword [0x6809cc], eax
push 0x613990
call fcn.005d268a
add esp, 4
push 0
push 0x6809c0
xor ecx, ecx
call fcn.0049a1f0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
mov ebx, str.FrameConfig.ini
call fcn.0040aab0
mov eax, dword [eax]
add esp, 8
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b25b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x4b29ff
mov esi, dword [esp + 0x24]
add esi, 0x20
lea ecx, [esp + 0x10]
push esi
push ecx
mov ebx, str.FramePic_
call fcn.0040aab0
add esp, 8
mov byte [esp + 0xab0], 0xa
mov eax, dword [eax]
push 0
mov ecx, eax
call fcn.004b3b00
mov byte [esp + 0xab0], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4b2612
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x10]
push esi
push ecx
mov ebx, str.FramePic_
call fcn.0040aab0
mov eax, dword [eax]
add esp, 8
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4b2652
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x20a
lea ecx, [esp + 0x890]
push 0
push ecx
call fcn.005da970
add esp, 0xc
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
mov ebx, str.FrameConfig.ini
call fcn.0040aab0
mov eax, dword [eax]
add esp, 8
push eax
push 0x104
lea ecx, [esp + 0x894]
push ecx
push 0x6244e0
push str.photo
push str.cand
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4b26c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x24]
push edx
lea ebx, [esp + 0x894]
call fcn.0040aab0
add esp, 8
lea eax, [esp + 0x28]
push eax
mov ecx, ebx
mov byte [esp + 0xab4], 0xb
call fcn.00409dd0
mov edi, eax
lea ecx, [esp + 0x10]
push esi
push ecx
mov ebx, str.FramePic_
mov byte [esp + 0xab8], 0xc
call fcn.0040aab0
lea edx, [esp + 0x20]
push edi
push edx
mov ebx, eax
mov byte [esp + 0xac0], 0xd
call fcn.0041eb50
add esp, 0x10
mov byte [esp + 0xab0], 0xf
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b274c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xab0], 0x10
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b2774
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x20a
lea ecx, [esp + 0x890]
push 0
push ecx
call fcn.005da970
add esp, 0xc
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x28]
push eax
mov ebx, str.FrameConfig.ini
call fcn.0040aab0
mov eax, dword [eax]
add esp, 8
push eax
push 0x104
lea ecx, [esp + 0x894]
push ecx
push 0x6244e0
push str.photo
push str.status
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4b27e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
lea ebx, [esp + 0x894]
call fcn.0040aab0
add esp, 8
lea eax, [esp + 0x38]
push eax
mov ecx, ebx
mov byte [esp + 0xab4], 0x11
call fcn.00409dd0
mov edi, eax
lea ecx, [esp + 0x24]
push esi
push ecx
mov ebx, str.FramePic_
mov byte [esp + 0xab8], 0x12
call fcn.0040aab0
lea edx, [esp + 0x34]
push edi
push edx
mov ebx, eax
mov byte [esp + 0xac0], 0x13
call fcn.0041eb50
add esp, 0x10
mov byte [esp + 0xab0], 0x15
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b286e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xab0], 0x16
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b2896
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ecx
call edi
test eax, eax
je 0x4b295f
mov edx, dword [esp + 0x1c]
push edx
call edi
test eax, eax
je 0x4b295f
lea eax, [esp + 0x34]
push esi
push eax
mov ebx, str.FramePicFrameConfig.ini
call fcn.0040aab0
mov esi, eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x3c]
push edx
mov ebx, str.FrameConfig.ini
mov byte [esp + 0xac0], 0x17
call fcn.0040aab0
mov esi, dword [esi]
mov eax, dword [eax]
add esp, 0x10
push 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push eax
call esi
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b291b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xab0], 0x16
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b2943
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
push 0
push ecx
push edx
call esi
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
push 0
push eax
push ecx
call esi
mov byte [esp + 0xab0], 0x11
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4b2987
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xab0], 0x10
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b29af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xab0], 0xb
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b29d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xab0], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b29ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xab0], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b2a2a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0xaa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa90]
xor ecx, esp
call fcn.005d28b3
mov esp, ebp
pop ebp
ret 4