Function at 0x4cee90
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x5a4100
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 8]
mov eax, dword [eax - 0xc]
lea edi, [esi + 8]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x24], esi
je 0x4cf1e7
mov ecx, dword [esi + 0xc]
add esi, 0xc
cmp dword [ecx - 0xc], ebx
je 0x4cf1e7
call fcn.0041ddc0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x58], ebx
mov ecx, dword [edi]
cmp ecx, ebx
je 0x4cf1d1
push 0x5be44c
lea edx, [esp + 0x2c]
push edx
call fcn.004cf200
cmp eax, ebx
je 0x4cf1d1
mov eax, dword [0x5fcd20]
mov edx, dword [eax + 0xc]
mov ecx, 0x5fcd20
call edx
add eax, 0x10
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
push esi
push eax
mov ebx, str.CDict_recommend_
mov byte [esp + 0x60], 1
call fcn.00412480
add esp, 8
lea edi, [esp + 0x20]
mov byte [esp + 0x58], 2
call fcn.004035d0
mov byte [esp + 0x58], 1
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 0x4cef72
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 + 0x18], eax
mov byte [esp + 0x58], 3
mov edx, dword [0x5fcd20]
mov eax, dword [edx + 0xc]
mov ecx, 0x5fcd20
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x58], 4
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
mov ebp, dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [esp + 0x44], eax
lea ebx, [ebx]
cmp eax, dword [esp + 0x2c]
je 0x4cf162
add eax, 8
lea edi, [esp + 0x18]
call fcn.004035d0
mov esi, dword [esp + 0x18]
push 0x5c
push esi
call fcn.0057b53f
add esp, 8
test eax, eax
jne 0x4cefee
or eax, 0xffffffff
jmp 0x4ceff2
sub eax, esi
sar eax, 1
lea ecx, [eax + 1]
lea esi, [esp + 0x4c]
lea edx, [esp + 0x18]
call fcn.00403540
lea edi, [esp + 0x1c]
mov byte [esp + 0x58], 5
call fcn.004035d0
mov byte [esp + 0x58], 4
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4cf035
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x40]
push edx
lea ebx, [esp + 0x28]
call fcn.00423280
mov esi, eax
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x40]
add edi, 8
push ecx
mov ebx, edi
mov byte [esp + 0x68], 6
call fcn.00423280
mov esi, dword [esi]
mov eax, dword [eax]
add esp, 0x10
push 1
push esi
push eax
call ebp
test eax, eax
mov eax, dword [esp + 0x34]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4cf099
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 + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4cf0be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4cf146
mov ebx, dword [esp + 0x24]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x3c]
add ebx, 0x14
push edx
call fcn.00423280
mov esi, eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x54]
push ecx
mov ebx, edi
mov byte [esp + 0x68], 7
call fcn.00423280
mov esi, dword [esi]
mov eax, dword [eax]
add esp, 0x10
push 0
push esi
push eax
call ebp
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4cf121
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 + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4cf146
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x44]
cmp esi, dword [esp + 0x2c]
jne 0x4cf155
call fcn.00578ff3
mov ecx, dword [esi]
mov dword [esp + 0x44], ecx
mov eax, ecx
jmp 0x4cefc0
mov byte [esp + 0x58], 3
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 0x4cf187
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 0x4cf1ac
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 0x4cf1d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ebx, [esp + 0x28]
call fcn.00449240
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00578327
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