Function at 0x42ac32
Capabilities:
Check if file exists

Disassembly:
push 0x174
mov eax, 0x4a3a08
call fcn.00481da3
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x38], eax
xor ebx, ebx
mov dword [ebp - 0x5c], ebx
xor eax, eax
lea edi, [ebp - 0x58]
stosd dword es:[edi], eax
or esi, 0xffffffff
stosd dword es:[edi], eax
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
call fcn.0045db7e
push eax
lea ecx, [ebp - 0x68]
call fcn.0040161b
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], ebx
call fcn.004134db
mov byte [ebp - 4], 1
xor edi, edi
inc edi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], edi
call fcn.0045db7e
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040161b
cmp dword [ebp - 0x20], ebx
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], ebx
je 0x42afc0
cmp dword [ebp - 0x44], ebx
je 0x42afc0
cmp dword [ebp - 0x1c], ebx
je 0x42afc0
lea eax, [ebp - 0x17c]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x180], eax
call dword [0x4d1acc]
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x180]
push eax
call fcn.0042b6e6
mov byte [ebp - 4], 3
push dword [ebp - 0x180]
lea ecx, [ebp - 0x3c]
call fcn.004014c5
lea eax, [ebp - 0x17c]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x180], eax
je 0x42ad3d
push dword [ebp - 0x180]
call fcn.0047e8b5
pop ecx
push dword [ebp - 0x3c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov esi, dword [ebp - 0x38]
jne 0x42ad4f
mov dword [esi], ebx
cmp dword [esi], ebx
jne 0x42ad5b
lea ecx, [ebp - 0x40]
call fcn.00402a47
call dword [sym.imp.KERNEL32.dll_GetTickCount]
fldz
push dword [ebp - 0x44]
fstp qword [0x4ee558]
mov edi, dword [ebp - 0x20]
push 0x2712
mov edx, edi
mov dword [ebp - 0x50], eax
mov dword [0x4ee284], ebx
mov dword [0x4ee560], ebx
call fcn.00444319
cmp eax, ebx
pop ecx
pop ecx
je 0x42ad97
mov esi, eax
jmp 0x42afc0
cmp dword [esi], ebx
je 0x42ada2
push 0x4b95c4
jmp 0x42ada7
push 0x4b95c8
push dword [ebp - 0x1c]
call fcn.004806b9
cmp eax, ebx
pop ecx
mov dword [ebp - 0x34], eax
pop ecx
jne 0x42adc0
push 0xfffffffffffffffe
pop esi
jmp 0x42b01c
push eax
push 0x2711
mov edx, edi
call fcn.00444319
cmp eax, ebx
pop ecx
pop ecx
jne 0x42ad90
push 0x42a989
push 0x4e6f
mov edx, edi
call fcn.00444319
cmp eax, ebx
pop ecx
pop ecx
jne 0x42ad90
lea eax, [ebp - 0x48]
push eax
push 0x272d
mov edx, edi
call fcn.00444319
test eax, eax
pop ecx
pop ecx
je 0x42ae08
or esi, 0xffffffff
jmp 0x42afc0
push str.Connection:_close
xor edi, edi
call fcn.00444391
mov esi, dword [ebp - 0x20]
pop ecx
push eax
push 0x2727
mov edx, esi
mov dword [ebp - 0x4c], eax
call fcn.00444319
mov eax, dword [ebp - 0x38]
cmp dword [eax], ebx
pop ecx
pop ecx
je 0x42ae97
push 0x42a8b5
push 0x4e6f
mov edx, esi
call fcn.00444319
cmp eax, ebx
pop ecx
pop ecx
jne 0x42ad90
lea eax, [ebp - 0x34]
push eax
push 0x272d
mov edx, esi
call fcn.00444319
cmp eax, ebx
pop ecx
pop ecx
jne 0x42ad90
push 2
push ebx
push dword [ebp - 0x34]
call fcn.00481067
add esp, 0xc
test eax, eax
jne 0x42aebb
push dword [ebp - 0x34]
call fcn.00480c55
pop ecx
push eax
push 0x4b95e0
mov edi, 0x4ee770
push edi
mov dword [ebp - 0x18], eax
call fcn.0042b7a3
jmp 0x42aea9
push 0x4b95e4
push 0x65
mov edi, 0x4ee770
push edi
call fcn.0047fbea
add esp, 0xc
push edi
push 0x2717
mov edx, esi
call fcn.00444319
pop ecx
pop ecx
push 0x42a86d
push 0x4e2b
mov edx, esi
call fcn.00444319
cmp eax, ebx
pop ecx
pop ecx
jne 0x42ad90
lea eax, [ebp - 0x34]
push eax
push 0x2711
mov edx, esi
call fcn.00444319
cmp eax, ebx
pop ecx
pop ecx
jne 0x42ad90
mov edi, dword [ebp - 0x60]
cmp edi, ebx
je 0x42af4f
push 0x42aa54
push 0x4e58
mov edx, esi
call fcn.00444319
cmp eax, ebx
pop ecx
pop ecx
jne 0x42ad90
push ebx
push 0x2b
mov edx, esi
call fcn.00444319
cmp eax, ebx
pop ecx
pop ecx
jne 0x42ad90
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x5c]
push eax
push 0x2749
mov edx, esi
mov dword [ebp - 0x5c], edi
call fcn.00444319
cmp eax, ebx
pop ecx
pop ecx
jne 0x42ad90
push 1
push 0x45
mov edx, esi
call fcn.00444319
pop ecx
pop ecx
call fcn.0044432e
cmp eax, ebx
je 0x42af75
push 0xfffffffffffffffd
pop esi
cmp dword [0x4ee560], esi
je 0x42afc0
jmp 0x42ad90
mov esi, 0x194
cmp dword [ebp - 0x48], esi
je 0x42afc0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 2
push ebx
push dword [ebp - 0x34]
mov esi, eax
call fcn.00481067
add esp, 0xc
test eax, eax
jne 0x42afbe
push dword [ebp - 0x34]
call fcn.00480c55
cmp eax, 1
pop ecx
jl 0x42afbe
mov ecx, esi
sub ecx, dword [ebp - 0x50]
je 0x42afbe
imul eax, eax, 0x3e8
xor edx, edx
div ecx
push eax
call fcn.0040e023
xor esi, esi
cmp dword [ebp - 0x34], ebx
je 0x42b010
push dword [ebp - 0x34]
call fcn.00480d35
pop ecx
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x20]
push 0x20000e
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x18], ebx
call fcn.00444381
test eax, eax
pop ecx
pop ecx
jne 0x42b010
add dword [ebp - 0x18], 0x3840
mov eax, dword [ebp - 0x18]
cdq
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x70], edx
call fcn.00480f61
pop ecx
pop ecx
mov eax, dword [ebp - 0x4c]
cmp eax, ebx
je 0x42b01c
call fcn.004443e1
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.00401325
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff0
call fcn.00401325
mov ecx, dword [ebp - 0x68]
add ecx, 0xfffffff0
call fcn.00401325
mov eax, esi
call fcn.00481e26
ret