Function at 0x43b6e0
Capabilities:
Check if file exists
Copy file
Delete file
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x5a92c0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
lea eax, [esp + 0x1c]
push eax
call fcn.00404460
xor esi, esi
mov dword [esp + 0x60], esi
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
cmp eax, esi
je 0x43bb4a
jl 0x43bb4a
push str.SkinConvert
push ecx
call fcn.0057880c
mov ecx, dword [esp + 0x24]
add esp, 8
cmp eax, esi
je 0x43bb4a
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x43bb4a
lea edi, [esp + 0x28]
call fcn.00474ab0
mov byte [esp + 0x60], 1
mov eax, dword [esp + 0x28]
cmp dword [eax - 0xc], esi
jne 0x43b7cc
mov byte [esp + 0x60], 0
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43b78b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x60], 0xffffffff
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 0x43b7b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
lea eax, [esp + 0x28]
call fcn.0047aca0
call fcn.004642e0
mov dword [esp + 0x50], eax
mov byte [eax + 0x15], 1
mov eax, dword [esp + 0x50]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x50]
mov dword [eax], eax
mov eax, dword [esp + 0x50]
mov dword [eax + 8], eax
mov dword [esp + 0x54], esi
lea ecx, [esp + 0x4c]
push ecx
mov byte [esp + 0x64], 2
call fcn.00474e70
mov edx, dword [0x5fcd20]
mov eax, dword [edx + 0xc]
add esp, 4
mov ecx, 0x5fcd20
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x60], 3
mov edx, dword [0x5fcd20]
mov eax, dword [edx + 0xc]
mov ecx, 0x5fcd20
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x60], 4
mov ecx, dword [esp + 0x50]
mov esi, dword [ecx]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ebx, [esp + 0x4c]
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
lea esp, [esp]
test ebx, ebx
mov edi, dword [esp + 0x50]
je 0x43b870
lea edx, [esp + 0x4c]
cmp ebx, edx
je 0x43b875
call fcn.00578ff3
cmp esi, edi
je 0x43bae4
test ebx, ebx
jne 0x43b886
call fcn.00578ff3
cmp esi, dword [ebx + 4]
jne 0x43b890
call fcn.00578ff3
lea eax, [esi + 0x10]
lea edi, [esp + 0x18]
call fcn.004035d0
cmp esi, dword [ebx + 4]
jne 0x43b8a6
call fcn.00578ff3
lea eax, [esi + 0xc]
lea edi, [esp + 0x24]
call fcn.004035d0
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43bace
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x34]
push edx
mov ebx, str.SkinAppSkin.xml
call fcn.00412480
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x38]
push ecx
mov ebx, str.SkinProgramSkin.xml
mov byte [esp + 0x70], 5
call fcn.00412480
mov edx, dword [esp + 0x40]
add esp, 0x10
push edx
call ebp
mov eax, dword [esp + 0x2c]
push eax
call ebp
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 0x43b923
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x60], 4
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 0x43b948
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x5fcd20]
mov eax, dword [edx + 0xc]
mov ecx, 0x5fcd20
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x40]
push edx
mov ebx, 0x5c0400
mov byte [esp + 0x68], 6
call fcn.00412480
add esp, 8
lea edi, [esp + 0x34]
mov byte [esp + 0x60], 7
call fcn.004035d0
mov byte [esp + 0x60], 6
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43b9ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x34]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43b9cf
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
call ebp
mov edx, dword [0x5fcd20]
mov eax, dword [edx + 0xc]
mov ecx, 0x5fcd20
call eax
add eax, 0x10
mov dword [esp + 0x38], eax
mov byte [esp + 0x60], 8
mov eax, dword [esp + 0x24]
push ecx
add eax, 0xfffffff0
lea ebx, [esp + 0x3c]
mov dword [esp + 0x44], esp
mov esi, esp
call fcn.00403ce0
add eax, 0x10
mov dword [esi], eax
call fcn.0043bb90
mov esi, dword [esp + 0x3c]
add esp, 4
test eax, eax
je 0x43ba8c
cmp dword [esi - 0xc], 0
je 0x43ba8c
push str.10000000_0000_0000_0000_000000000001
push esi
call fcn.00579288
add esp, 8
test eax, eax
je 0x43ba8c
lea ecx, [esp + 0x20]
call fcn.00404530
mov byte [esp + 0x60], 9
call fcn.00484980
lea ecx, [esp + 0x20]
push ecx
call fcn.00484b40
test eax, eax
je 0x43ba83
mov ebx, dword [esp + 0x20]
cmp dword [ebx - 0xc], 0
je 0x43ba83
call fcn.0040cbf0
mov edx, dword [0x5fe584]
push edx
mov dword [0x5fe580], 1
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push 0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [esp + 0x20]
call fcn.00404510
lea eax, [esi - 0x10]
mov byte [esp + 0x60], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43baad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x60], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43bace
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x44]
call fcn.0046ca60
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
jmp 0x43b860
mov byte [esp + 0x60], 3
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 0x43bb09
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x60], 2
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 0x43bb2e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x4c]
mov byte [esp + 0x60], 1
call fcn.00420770
mov byte [esp + 0x60], 0
mov eax, dword [esp + 0x28]
jmp 0x43b76f
lea eax, [ecx - 0x10]
mov dword [esp + 0x60], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43bb6e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret