Function at 0x6013a4a0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x6014b432
mov eax, dword fs:[0]
push eax
mov eax, 0x1608
mov dword fs:[0], esp
call fcn.601479f0
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov edi, dword [esp + 0x1628]
mov eax, dword [edi + 4]
xor ebp, ebp
cmp eax, ebx
mov dword [esp + 0x1620], ebx
mov dword [esp + 0x10], ebp
jbe 0x6013a6a0
jmp 0x6013a500
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
cmp ebp, eax
mov byte [esp + 0x1620], 2
jae 0x6013a969
mov eax, dword [edi]
lea ecx, [esp + 0x3c]
push ecx
lea eax, [eax + ebp*4]
mov eax, dword [eax]
lea edx, [esp + 0x20]
push edx
push eax
call fcn.60140f70
test eax, eax
jl 0x6013a5e5
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x34]
call fcn.6010a820
mov eax, dword [esp + 0x20]
cmp eax, ebx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ecx
jbe 0x6013a5e5
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + ebx*4]
mov esi, dword [edi]
lea ecx, [eax - 0x10]
sub esi, 0x10
cmp ecx, esi
je 0x6013a5d3
mov edx, dword [esi + 0xc]
test edx, edx
lea ebp, [esi + 0xc]
jl 0x6013a5c7
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x6013a5c7
push ecx
call fcn.60109070
mov dword [esp + 0x68], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x6013a5bc
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov eax, dword [esp + 0x64]
add eax, 0x10
mov dword [edi], eax
jmp 0x6013a5d3
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, edi
call fcn.60104370
mov eax, dword [esp + 0x60]
inc ebx
add edi, 4
cmp ebx, eax
jb 0x6013a577
mov ebp, dword [esp + 0x10]
xor ebx, ebx
mov edi, dword [esp + 0x1c]
cmp edi, ebx
mov byte [esp + 0x1620], 1
je 0x6013a630
mov ebx, dword [esp + 0x20]
xor esi, esi
test ebx, ebx
jbe 0x6013a622
nop
mov eax, dword [edi + esi*4]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x6013a61d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
inc esi
cmp esi, ebx
jb 0x6013a600
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
mov edi, dword [esp + 0x3c]
test edi, edi
mov byte [esp + 0x1620], 0
je 0x6013a680
mov eax, dword [esp + 0x40]
xor esi, esi
test eax, eax
mov ebx, eax
jbe 0x6013a676
lea esp, [esp]
mov eax, dword [edi + esi*4]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x6013a66d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
inc esi
cmp esi, ebx
jb 0x6013a650
mov edi, dword [esp + 0x3c]
push edi
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
mov eax, dword [esp + 0x1628]
mov eax, dword [eax + 4]
mov edi, dword [esp + 0x1628]
inc ebp
xor ebx, ebx
cmp ebp, eax
mov dword [esp + 0x10], ebp
jb 0x6013a500
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.60139d30
mov dword [esp + 0x10], eax
mov eax, dword [edi + 4]
xor ebp, ebp
cmp eax, ebx
jbe 0x6013a7fd
nop
xor edx, edx
cmp ebp, eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], edx
mov word [esp + 0x58], dx
mov dword [esp + 0x40], 3
jae 0x6013a969
mov eax, dword [edi]
lea esi, [ebp*4]
add eax, esi
mov eax, dword [eax]
push 0x1000
push eax
lea eax, [esp + 0x620]
push eax
call dword [sym.imp.MSVCR71.dll__mbsnbcpy]
mov eax, dword [edi + 4]
add esp, 0xc
cmp ebp, eax
jae 0x6013a969
mov eax, dword [edi]
mov ecx, dword [eax + esi]
add eax, esi
mov eax, dword [ecx - 0xc]
mov byte [esp + eax + 0x619], 0
lea eax, [esp + 0x3c]
lea edx, [esp + 0x618]
push eax
mov dword [esp + 0x48], edx
mov word [esp + 0x50], 0x414
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
cmp eax, ebx
jle 0x6013a7f1
cmp ebp, dword [edi + 4]
jae 0x6013a969
mov eax, dword [edi]
add eax, esi
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x6013a7f1
cmp ebp, dword [edi + 4]
jae 0x6013a969
mov eax, dword [edi]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x16c]
add eax, esi
push ecx
mov dword [esp + 0x170], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x6013a7e8
mov eax, dword [esp + 0x17c]
sub eax, 2
jne 0x6013a7e8
lea ecx, [esp + 0x200]
call fcn.601264c0
lea ecx, [esp + 0x200]
mov byte [esp + 0x1620], 3
call fcn.601268e0
test eax, eax
je 0x6013a873
lea ecx, [esp + 0x200]
mov byte [esp + 0x1620], 0
call fcn.601268c0
mov edi, dword [esp + 0x1628]
xor ebx, ebx
mov eax, dword [edi + 4]
inc ebp
cmp ebp, eax
jb 0x6013a6c0
cmp dword [esp + 0x2c], ebx
mov dword [esp + 0x1620], 0xffffffff
je 0x6013a854
mov edi, dword [esp + 0x30]
xor esi, esi
cmp edi, ebx
jbe 0x6013a846
jmp 0x6013a820
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + esi*4]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x6013a841
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
inc esi
cmp esi, edi
jb 0x6013a820
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
mov ecx, dword [esp + 0x1618]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1614
ret 4
push 0x601264d0
lea edx, [esp + 0x204]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.6011af90
add esp, 0xc
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1620], 4
mov dword [esp + 0x68], ecx
call dword [0x6015b0d8]
test edi, edi
mov ebx, eax
jne 0x6013a8af
mov dword [esp + 0x68], edi
jmp 0x6013a8f5
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x80
jle 0x6013a8e0
lea edx, [esi + esi]
push edx
call dword [sym.imp.MSVCR71.dll_malloc]
add esp, 4
test eax, eax
mov dword [esp + 0x68], eax
jne 0x6013a8e4
push 0x8007000e
call fcn.601040a0
mov eax, dword [esp + 0x68]
push esi
push eax
push esi
push edi
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x6013a973
mov eax, dword [esp + 0x68]
push eax
lea ecx, [esp + 0x204]
mov byte [esp + 0x1624], 5
call fcn.60126500
test eax, eax
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x6c]
setne bl
cmp eax, ecx
je 0x6013a929
push eax
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x1620], 3
call dword [esp + 0x18]
lea ecx, [esp + 0x200]
mov byte [esp + 0x1620], 0
call fcn.601268c0
test bl, bl
mov edi, dword [esp + 0x1628]
jne 0x6013a7ef
mov dword [esp + 0x10], 0x320001
jmp 0x6013a7ef
push 0x80070057
call fcn.601040a0
call fcn.6010e0e0
int3