Function at 0x468940
Capabilities:
Check if file exists
Copy file
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x497df6
mov eax, dword fs:[0]
push eax
sub esp, 0x840
mov eax, dword [0x4d01d4]
xor eax, esp
mov dword [esp + 0x838], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d01d4]
xor eax, esp
push eax
lea eax, [esp + 0x854]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x864]
lea eax, [ebp + 0x18]
mov dword [esp + 0x14], eax
mov byte [eax + 0x1c], 1
add eax, 4
mov ebx, ecx
push eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ecx, ecx
mov dword [esp + 0x85c], ecx
mov eax, dword [ebp + 0x44]
lea esi, [ebp + 0x38]
cmp eax, ecx
je 0x4689bc
mov ecx, dword [esi + 0x14]
sub ecx, eax
sar ecx, 2
mov edi, dword [esi + 0x10]
mov edx, edi
sub edx, eax
sar edx, 2
cmp edx, ecx
jae 0x4689d4
mov dword [edi], ebx
add edi, 4
mov dword [esi + 0x10], edi
jmp 0x4689f2
cmp eax, edi
jbe 0x4689dd
call fcn.0047198a
mov eax, dword [esi]
push edi
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov eax, esi
call fcn.00467fb0
mov edx, dword [esi + 0x10]
sub edx, dword [esi + 0xc]
and edx, 0xfffffffc
cmp edx, 4
jne 0x468c2b
push ebp
call fcn.004695d0
lea esi, [esp + 0x28]
mov edi, eax
call fcn.00469770
mov byte [esp + 0x85c], 1
lea esi, [edi*8]
sub esi, edi
add esi, esi
mov edx, dword [esi + esi + 0x4d2428]
add esi, esi
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x468a36
sub eax, edi
sar eax, 1
push eax
push edx
lea eax, [esp + 0x30]
call fcn.00403a30
mov ecx, dword [esp + 0x2c]
mov edi, 8
cmp dword [esp + 0x40], edi
jae 0x468a63
lea ecx, [esp + 0x2c]
mov eax, dword [esi + 0x4d2424]
push 1
push eax
call fcn.004112e0
add esp, 8
test eax, eax
jle 0x468b63
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x40], edi
jae 0x468a8a
lea ecx, [esp + 0x2c]
mov edx, dword [esi + 0x4d2424]
push 2
push edx
call fcn.004112e0
add esp, 8
test eax, eax
jle 0x468b63
mov ecx, dword [esi + 0x4d2424]
lea edx, [esp + 0x44]
call fcn.00411400
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x40], edi
jae 0x468ac0
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x44]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x468aea
test dx, dx
je 0x468ae6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x468aea
add eax, 4
add ecx, 4
test dx, dx
jne 0x468ac4
xor eax, eax
jmp 0x468aef
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x468b29
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x468b29
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x40], edi
jae 0x468b10
lea eax, [esp + 0x2c]
push 0
push eax
lea ecx, [esp + 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea edx, [esp + 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0
push 0
push 0
push 0
push 6
push ebp
call fcn.00468d60
mov byte [esp + 0x85c], 0
cmp dword [esp + 0x40], edi
jb 0x468b56
mov eax, dword [esp + 0x2c]
push eax
call fcn.00471099
add esp, 4
mov dword [esp + 0x3c], 0
jmp 0x468c1c
mov ebx, dword [esi + 0x4d2424]
call fcn.00411130
mov ebx, dword [esi + 0x4d2424]
call fcn.004111b0
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x40], edi
jae 0x468b87
lea ecx, [esp + 0x2c]
mov edx, dword [esi + 0x4d2424]
push edx
call fcn.00411040
add esp, 4
test al, al
jne 0x468bc4
mov ebx, dword [esi + 0x4d2424]
call fcn.00411130
mov ebx, dword [esi + 0x4d2424]
call fcn.004111b0
push 0
push 0
push 0
push 0
push 0
push 7
push ebp
call fcn.00468d60
jmp 0x468bfc
push 0
push 0
push 0
push 0
push 0
push 4
push ebp
call fcn.00468d60
push 0
mov ecx, ebp
call fcn.00489a70
cmp dword [ebp + 0x54], 0
jne 0x468bfc
push 0x468720
push 0x3e8
push 0x64
push 0
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebp + 0x54], eax
xor ebx, ebx
mov byte [esp + 0x85c], bl
cmp dword [esp + 0x40], edi
jb 0x468c18
mov eax, dword [esp + 0x2c]
push eax
call fcn.00471099
add esp, 4
mov dword [esp + 0x3c], ebx
xor ecx, ecx
mov word [esp + 0x2c], cx
mov dword [esp + 0x40], 7
mov dword [esp + 0x85c], 0xffffffff
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
mov byte [edx + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x854]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x838]
xor ecx, esp
call fcn.00470f4c
add esp, 0x84c
ret 4