Function at 0x4eb560
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x604010
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x34], esi
call fcn.0041a430
xor ebx, ebx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ebx
lea edi, [esi + 0x10]
mov dword [esp + 0x58], ebx
mov ecx, dword [edi]
cmp ecx, ebx
je 0x4eb5be
push str..skn
lea eax, [esp + 0x48]
push eax
call fcn.004eaf20
cmp dword [esp + 0x4c], ebx
jne 0x4eb5ca
mov ecx, dword [edi]
call fcn.004ebaf0
jmp 0x4eb8c4
lea eax, [esi + 0xc]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ebx, str.Skin2.0_recommend_
call fcn.0040aab0
add esp, 8
mov byte [esp + 0x58], 1
mov edx, dword [0x677600]
mov eax, dword [edx + 0xc]
mov ecx, 0x677600
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x58], 2
mov ecx, dword [esp + 0x48]
mov ebp, dword [ecx]
mov dword [esp + 0x30], ebp
jmp 0x4eb610
cmp ebp, dword [esp + 0x48]
je 0x4eb70f
mov ecx, dword [ebp + 8]
mov esi, dword [esp + 0x18]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x4eb671
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x4eb664
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4eb664
call fcn.0040a210
mov ebp, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4eb657
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x30]
jmp 0x4eb671
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x1c]
call fcn.004037a0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
lea ebx, [esp + 0x28]
call fcn.0041eb50
mov esi, eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x30]
push ecx
mov ebx, edi
mov byte [esp + 0x68], 3
call fcn.0041eb50
mov esi, dword [esi]
mov eax, dword [eax]
add esp, 0x10
push 5
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
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 0x4eb6cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x58], 2
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 0x4eb6f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp ebp, dword [esp + 0x48]
jne 0x4eb6fd
call fcn.005d29f1
mov ecx, dword [ebp]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x30], ecx
mov ebp, ecx
jmp 0x4eb610
lea ebp, [esi + 0xc]
lea edx, [esp + 0x2c]
push ebp
push edx
mov ebx, str.Skin_
call fcn.0040aab0
push eax
lea eax, [esp + 0x30]
push eax
mov ebx, str.wizardskin.lst
mov byte [esp + 0x68], 4
call fcn.0040aab0
mov esi, eax
lea ecx, [esp + 0x2c]
push edi
push ecx
mov byte [esp + 0x70], 5
call fcn.0040aab0
mov esi, dword [esi]
mov eax, dword [eax]
add esp, 0x18
push 5
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4eb77a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x58], 4
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 0x4eb79f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x58], 2
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 0x4eb7c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
push ebp
push ecx
mov ebx, str.Skin_
call fcn.0040aab0
push eax
lea edx, [esp + 0x28]
push edx
mov ebx, str.SkinlistOrder.dat
mov byte [esp + 0x68], 6
call fcn.0040aab0
mov esi, eax
lea eax, [esp + 0x3c]
push edi
push eax
mov byte [esp + 0x70], 7
call fcn.0040aab0
mov esi, dword [esi]
mov eax, dword [eax]
add esp, 0x18
push 5
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
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 0x4eb82c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x58], 6
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 0x4eb851
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x58], 2
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 0x4eb876
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x58], 1
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 0x4eb89b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x58], 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 0x4eb8c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x34]
mov edi, dword [edi]
push 5
push 0
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
call fcn.0041a430
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 0
lea ebp, [esi + 0x14]
mov byte [esp + 0x58], 8
mov ecx, dword [ebp]
test ecx, ecx
je 0x4eb907
push 0x626528
lea edx, [esp + 0x3c]
push edx
call fcn.004eaf20
cmp dword [esp + 0x40], 0
jne 0x4eb914
mov ecx, dword [ebp]
call fcn.004ebaf0
jmp 0x4eba95
add esi, 0xc
lea eax, [esp + 0x20]
push esi
push eax
mov ebx, str.CDict_recommend_
call fcn.0040aab0
add esp, 8
mov byte [esp + 0x58], 9
mov edx, dword [0x677600]
mov eax, dword [edx + 0xc]
mov ecx, 0x677600
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
mov byte [esp + 0x58], 0xa
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x3c]
je 0x4eba4f
mov ecx, dword [eax + 8]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
je 0x4eb9b2
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4eb9a1
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4eb9a1
call fcn.0040a210
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4eb998
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea edi, [ebx + 0x10]
mov dword [esp + 0x18], edi
jmp 0x4eb9b2
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x1c]
call fcn.004037a0
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
lea ebx, [esp + 0x28]
call fcn.0041eb50
mov esi, eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x38]
push ecx
mov ebx, ebp
mov byte [esp + 0x68], 0xb
call fcn.0041eb50
mov esi, dword [esi]
mov eax, dword [eax]
add esp, 0x10
push 5
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
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 0x4eba0e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x58], 0xa
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 0x4eba33
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x28]
cmp esi, dword [esp + 0x3c]
jne 0x4eba42
call fcn.005d29f1
mov ecx, dword [esi]
mov dword [esp + 0x28], ecx
mov eax, ecx
jmp 0x4eb955
lea eax, [edi - 0x10]
mov byte [esp + 0x58], 9
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4eba70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x58], 8
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 0x4eba95
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp]
push 5
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ebx, [esp + 0x38]
call fcn.0044a010
mov edx, dword [esp + 0x3c]
push edx
call fcn.005d2367
add esp, 4
lea ebx, [esp + 0x44]
mov dword [esp + 0x3c], 0
call fcn.0044a010
mov eax, dword [esp + 0x48]
push eax
call fcn.005d2367
add esp, 4
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret