Function at 0x41cdb0
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46bfb1
mov eax, dword fs:[0]
push eax
sub esp, 0x210
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
mov esi, ecx
call fcn.0045b3f0
push 1
push 0x88dfc8
push 4
lea ecx, [esi + 0x8b8]
call fcn.0040a120
push 1
push 0x887b64
xor ebx, ebx
push ebx
lea ecx, [esi + 0x8b8]
call fcn.0040a120
push 1
push 0xff0000
push 1
lea ecx, [esi + 0x8b8]
call fcn.0040a120
push 1
push 0xff
push 3
lea ecx, [esi + 0x8b8]
call fcn.0040a120
push 1
push 0x1e
push ebx
lea ecx, [esi + 0x8b8]
call fcn.0040a160
push 1
push 0x4775e8
lea ecx, [esi + 0x8b8]
call fcn.0040a340
push ebx
push 0x87
lea ecx, [esi + 0x8b8]
call fcn.0040a5e0
push 1
push 0x88dfc8
push 2
lea ecx, [esi + 0x4d4]
call fcn.0040a120
push 1
push 0x887b64
push ebx
lea ecx, [esi + 0x4d4]
call fcn.0040a120
push 1
push 0xff0000
push 1
lea ecx, [esi + 0x4d4]
call fcn.0040a120
push 1
push 0x1e
push ebx
lea ecx, [esi + 0x4d4]
call fcn.0040a160
push 1
push 0x4775a4
lea ecx, [esi + 0x4d4]
call fcn.0040a340
push 1
mov ecx, esi
call fcn.00417130
call fcn.0041c400
call fcn.00414920
xor eax, eax
cmp dword [0x493790], ebx
setne al
push eax
push 6
push 2
push esi
mov dword [0x493790], eax
call fcn.0045c180
add esp, 0x10
cmp dword [0x493790], ebx
je 0x41cf10
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x418d50
call fcn.0042eb95
jmp 0x41cf16
mov dword [0x493794], ebx
cmp esi, ebx
jne 0x41cf22
mov dword [section..QQSKINT], ebx
jmp 0x41cf2a
mov eax, dword [esi + 0x20]
mov dword [section..QQSKINT], eax
push 0x100
lea ecx, [ebp - 0x210]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.0042fa4e
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41cf57
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 - 0x214], eax
mov dword [ebp - 4], ebx
call fcn.0042fa4e
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41cf86
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 - 0x218], eax
push 1
push 0x4754c0
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x214]
push edx
push str.skintool.txt
mov byte [ebp - 4], 1
call fcn.0045d8a0
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrW]
add esp, 0x14
push 0x47759c
lea eax, [ebp - 0x210]
push eax
call edi
test eax, eax
je 0x41cfed
push 8
push str._cartoon
lea ecx, [ebp - 0x214]
call fcn.00403340
jmp 0x41d070
push 0x477580
lea ecx, [ebp - 0x210]
push ecx
call edi
test eax, eax
je 0x41d013
push 7
push str._beauty
lea ecx, [ebp - 0x214]
call fcn.00403340
jmp 0x41d070
push str.i_xQ
lea edx, [ebp - 0x210]
push edx
call edi
test eax, eax
jne 0x41d060
push 0x477560
lea eax, [ebp - 0x210]
push eax
call edi
test eax, eax
je 0x41d03e
push str._baby
jmp 0x41d065
mov eax, dword [0x48f7c4]
cmp eax, 1
jne 0x41d04f
push str._beauty
jmp 0x41d065
cmp eax, 2
jne 0x41d05b
push str._cartoon
jmp 0x41d065
cmp eax, 3
jne 0x41d070
push str._endian
lea ecx, [ebp - 0x214]
call fcn.004058c0
push 1
push 0x4754c0
lea ecx, [ebp - 0x214]
call fcn.00403340
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x214]
call fcn.00403340
mov ecx, dword [ebp - 0x214]
push ecx
push str.skintool.txt
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp - 0x218]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41d0d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x214]
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 0x41d0f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, esi
call fcn.00461c50
call fcn.00411d20
mov ecx, dword [0x4937c4]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ecx
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x41d12f
mov edx, dword [0x4937c4]
mov eax, dword [0x4937d8]
push 1
push edx
push eax
call edi
mov ecx, dword [0x4937c8]
push ecx
call ebx
test eax, eax
jne 0x41d14d
mov edx, dword [0x4937c8]
mov eax, dword [0x4937dc]
push 1
push edx
push eax
call edi
mov ecx, dword [0x4937d0]
push ecx
call ebx
test eax, eax
jne 0x41d16b
mov edx, dword [0x4937d0]
mov eax, dword [0x4937e4]
push 1
push edx
push eax
call edi
mov ecx, dword [0x4937cc]
push ecx
call ebx
test eax, eax
jne 0x41d189
mov edx, dword [0x4937cc]
mov eax, dword [0x4937e0]
push 1
push edx
push eax
call edi
mov ecx, dword [0x4937d4]
push ecx
call ebx
test eax, eax
jne 0x41d1a7
mov edx, dword [0x4937d4]
mov eax, dword [0x4937e8]
push 1
push edx
push eax
call edi
mov ecx, dword [0x49381c]
push ecx
call ebx
test eax, eax
jne 0x41d1c5
mov edx, dword [0x49381c]
mov eax, dword [0x493818]
push 1
push edx
push eax
call edi
mov eax, dword [esi + 0xc9c]
mov ecx, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 1
push 0x80
push ecx
call edi
mov eax, dword [esi + 0xc9c]
mov edx, dword [esi + 0x20]
push eax
push 0
push 0x80
push edx
call edi
xor eax, eax
cmp dword [0x493798], eax
setne al
push eax
push 1
push 2
push esi
mov dword [0x493798], eax
call fcn.0045c180
xor eax, eax
cmp dword [0x49357c], eax
setne al
push eax
push 7
push 2
push esi
mov dword [0x49357c], eax
call fcn.0045c180
xor eax, eax
cmp dword [0x493578], eax
setne al
push eax
push 8
push 2
push esi
mov dword [0x493578], eax
call fcn.0045c180
mov eax, dword [0x49379c]
push eax
push 2
push 2
push esi
call fcn.0045c180
mov ecx, dword [0x493878]
add esp, 0x40
push 0x2270
push 0
push 0x473bb0
push ecx
call fcn.0045b860
add esp, 0x10
mov ecx, esi
call fcn.00411c80
mov edx, dword [esi + 0x20]
mov dword [0x496e70], edx
call fcn.0042fa4e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41d29c
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 - 0x21c], eax
mov ecx, dword [esi + 0x90]
push ecx
lea edx, [ebp - 0x21c]
push edx
mov dword [ebp - 4], 2
call fcn.0045ac30
mov eax, dword [ebp - 0x21c]
push eax
push str.LanID:_s_
add esi, 0x10c
push esi
call fcn.00403af0
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d30c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
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