Function at 0x464c60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x24]
call fcn.0040d170
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x38]
add ecx, 0x628
call fcn.0044be00
mov ecx, eax
call fcn.0044e380
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x38]
add ecx, 0x628
call fcn.0044be00
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x54]
mov eax, dword [edx + 4]
call eax
push eax
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x38]
add ecx, 0x628
call fcn.0044be00
mov ecx, eax
call fcn.005cb2e0
lea ecx, [ebp - 0x3c]
call fcn.0040dd70
movzx eax, al
test eax, eax
jne 0x464cfd
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, 0x6f749c
call fcn.0042b310
test eax, eax
jne 0x464d0a
lea ecx, [ebp - 0x3c]
call fcn.00413870
jmp 0x465529
mov edx, dword [ebp + 0x10]
shr edx, 0x10
and edx, 0xffff
movsx eax, dx
push eax
mov ecx, dword [ebp + 0x10]
and ecx, 0xffff
movsx edx, cx
push edx
lea ecx, [ebp - 0x48]
call fcn.00413560
lea ecx, [ebp - 0x34]
call fcn.0040d170
lea ecx, [ebp - 0x14]
call fcn.0040d170
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x730], 0
je 0x464dc1
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x38]
add ecx, 0x628
call fcn.0044be00
push eax
mov ecx, dword [ebp - 0x38]
call fcn.00466800
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x464d78
mov dword [ebp - 0x58], 1
jmp 0x464d7f
mov dword [ebp - 0x58], 0
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x628
call fcn.0044be00
push eax
mov ecx, dword [ebp - 0x38]
call fcn.004668d0
push 0
push 1
push 0
mov ecx, dword [ebp - 0x38]
call fcn.004f91d0
mov ecx, dword [ebp - 0x38]
call fcn.004f7940
lea ecx, [ebp - 0x3c]
call fcn.00413870
jmp 0x465529
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x38]
call fcn.004636e0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x8c]
push edx
mov eax, dword [ebp - 0x90]
push eax
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x464e2e
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x38]
call fcn.004659d0
push 0
push 1
push 0
mov ecx, dword [ebp - 0x38]
call fcn.004f91d0
mov ecx, dword [ebp - 0x38]
call fcn.004f7940
lea ecx, [ebp - 0x3c]
call fcn.00413870
jmp 0x465529
push 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x38]
call fcn.00463770
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
push ecx
mov edx, dword [ebp - 0x98]
push edx
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x464e9d
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x38]
call fcn.00465db0
push 0
push 1
push 0
mov ecx, dword [ebp - 0x38]
call fcn.004f91d0
mov ecx, dword [ebp - 0x38]
call fcn.004f7940
lea ecx, [ebp - 0x3c]
call fcn.00413870
jmp 0x465529
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.00463640
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
push ecx
mov edx, dword [ebp - 0xa0]
push edx
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4652c5
lea ecx, [ebp - 0x6c]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x38]
add ecx, 0x628
call fcn.0044be00
mov ecx, eax
call fcn.005cac60
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x6b4
call fcn.0040d360
lea ecx, [ebp - 0x6c]
call fcn.00413870
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x38]
add ecx, 0x628
call fcn.0044be00
mov ecx, eax
call fcn.005cb170
lea ecx, [ebp - 0x40]
call fcn.0040d3c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4651c8
lea edx, [ebp - 0xcc]
push edx
mov ecx, dword [ebp - 0x38]
add ecx, 0x670
call fcn.00418cd0
push eax
mov eax, dword [ebp - 0x38]
add eax, 0x6b4
push eax
lea ecx, [ebp - 0xd0]
push ecx
mov ecx, dword [ebp - 0x38]
add ecx, 0x670
call fcn.0042fc70
mov ecx, eax
call fcn.00413ab0
movzx edx, al
test edx, edx
je 0x4651c3
lea ecx, [ebp - 0xc8]
call fcn.0046aac0
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x628
call fcn.0044be00
mov ecx, eax
call fcn.005caa30
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xb4], 0
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0xbc]
call fcn.0040d360
mov edx, dword [ebp - 0x38]
add edx, 0x6b4
push edx
lea ecx, [ebp - 0xc0]
call fcn.0040d360
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x620
call fcn.0058fbf0
push eax
lea ecx, [ebp - 0xb8]
call fcn.0040d360
lea ecx, [ebp - 0x70]
call fcn.00413870
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x38]
add ecx, 0x628
call fcn.0044be00
add eax, 0x18
mov ecx, eax
call fcn.0040d3c0
push eax
lea ecx, [ebp - 0xb0]
call fcn.00421de0
lea edx, [ebp - 0x74]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x628
call fcn.0044be00
mov ecx, eax
call fcn.005cb0c0
push eax
lea ecx, [ebp - 0xac]
call fcn.0040d360
lea ecx, [ebp - 0x74]
call fcn.00413870
mov ecx, dword [ebp - 0x38]
add ecx, 0x6b4
push ecx
mov ecx, dword [ebp - 0x38]
add ecx, 0x670
call fcn.0044bf60
mov dword [eax], 1
push 0x210c
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0x60c]
mov ecx, dword [eax + 4]
push ecx
push 0
push ecx
mov ecx, esp
lea edx, [ebp - 0x40]
push edx
call fcn.00421650
push ecx
mov ecx, esp
mov eax, dword [ebp - 0x38]
add eax, 0x6b4
push eax
call fcn.00421650
call fcn.004da4c0
add esp, 0x14
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0xc8]
push ecx
lea edx, [ebp - 0x5c]
push edx
mov ecx, dword [ebp - 0x38]
add ecx, 0x6a4
call fcn.0046abd0
mov ecx, eax
call fcn.0044bc50
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 0x6c0], eax
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0xc4]
mov dword [edx + 0x6c4], eax
lea ecx, [ebp - 0x78]
push ecx
mov ecx, dword [ebp - 0x38]
add ecx, 0x620
call fcn.00590270
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x6c8
call fcn.0040d360
lea ecx, [ebp - 0x78]
call fcn.00413870
push 0x6892b8
mov edx, dword [ebp - 0x38]
add edx, 0x6c8
push edx
call fcn.00429e60
add esp, 8
movzx eax, al
test eax, eax
jne 0x46516e
push 0x6892c0
mov ecx, dword [ebp - 0x38]
add ecx, 0x6c8
push ecx
call fcn.00429e60
add esp, 8
movzx edx, al
test edx, edx
je 0x4651a2
lea eax, [ebp - 0x7c]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x38]
add ecx, 0x628
call fcn.0044be00
mov ecx, eax
call fcn.005cab00
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x6c8
call fcn.0040d360
lea ecx, [ebp - 0x7c]
call fcn.00413870
push 0
push 1
push 0
mov ecx, dword [ebp - 0x38]
call fcn.004f91d0
mov ecx, dword [ebp - 0x38]
call fcn.004f7940
lea ecx, [ebp - 0xc8]
call fcn.00454660
jmp 0x4652b0
lea ecx, [ebp - 0x4c]
call fcn.00413220
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x38]
add ecx, 0x628
call fcn.0044be00
mov ecx, eax
call fcn.005caa30
push eax
push 0x6892c8
lea eax, [ebp - 0x4c]
push eax
call fcn.00422a10
add esp, 0xc
push ecx
push esp
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x38]
add ecx, 0x628
call fcn.0044be00
mov ecx, eax
call fcn.005cb0c0
push ecx
mov esi, esp
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x38]
add ecx, 0x628
call fcn.0044be00
add eax, 0x18
mov ecx, eax
call fcn.0040d3c0
push eax
mov ecx, esi
call fcn.0044a380
push ecx
mov ecx, esp
lea eax, [ebp - 0x4c]
push eax
call fcn.00421650
push ecx
push esp
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x38]
add ecx, 0x628
call fcn.0044be00
mov ecx, eax
call fcn.005cab00
lea edx, [ebp - 0x40]
push edx
call fcn.00466d70
add esp, 0x14
push 0
push 0x8011
push 0x111
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x440]
push ecx
call fcn.004f4c80
add esp, 0x10
push 0
push 0
push 0x2113
mov edx, dword [ebp - 0x38]
mov ecx, dword [edx + 0x60c]
add ecx, 4
call fcn.00416590
lea ecx, [ebp - 0x4c]
call fcn.00413870
lea ecx, [ebp - 0x40]
call fcn.00413870
lea ecx, [ebp - 0x3c]
call fcn.00413870
jmp 0x465529
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x38]
call fcn.004635e0
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
push ecx
mov edx, dword [ebp - 0xa8]
push edx
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4653f1
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x38]
add ecx, 0x628
call fcn.0044be00
push eax
mov ecx, dword [ebp - 0x38]
call fcn.00466940
push 0
push 0
push 0x2111
mov ecx, dword [ebp - 0x38]
call fcn.004f9b70
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
mov ecx, dword [edx + 0x668]
imul ecx, dword [eax + 0x644]
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0x640]
sub eax, 1
cmp ecx, eax
jl 0x46536b
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x668]
sub edx, 1
mov eax, dword [ebp - 0x38]
mov dword [eax + 0x668], edx
mov ecx, dword [ebp - 0x38]
cmp dword [ecx + 0x668], 0
jge 0x465384
mov edx, dword [ebp - 0x38]
mov dword [edx + 0x668], 0
push 1
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x668]
push ecx
mov ecx, dword [ebp - 0x38]
call fcn.00463820
push 0
push 0x8011
push 0x111
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0x440]
push eax
call fcn.004f4c80
add esp, 0x10
mov dword [ebp - 0x80], 1
lea ecx, [ebp - 0x80]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0x200
mov ecx, dword [ebp - 0x38]
call fcn.00461600
push 0
push 1
push 0
mov ecx, dword [ebp - 0x38]
call fcn.004f91d0
lea ecx, [ebp - 0x3c]
call fcn.00413870
jmp 0x465529
mov ecx, dword [ebp - 0x38]
cmp dword [ecx + 0x64c], 0
je 0x46541d
mov edx, dword [ebp - 0x38]
mov ecx, dword [edx + 0x64c]
call fcn.004f7590
test eax, eax
je 0x46541d
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x64c]
call fcn.004f79f0
mov ecx, dword [ebp - 0x38]
cmp dword [ecx + 0x64c], 0
je 0x465468
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0x64c]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x50], ecx
cmp dword [ebp - 0x50], 0
je 0x46545e
push 1
mov edx, dword [ebp - 0x50]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x50]
mov edx, dword [eax + 4]
call edx
mov dword [ebp - 0x88], eax
jmp 0x465468
mov dword [ebp - 0x88], 0
push 0x3a28
call fcn.006135e5
add esp, 4
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x465497
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x668]
push ecx
push 1
mov ecx, dword [ebp - 0x60]
call fcn.0044aa10
mov dword [ebp - 0x64], eax
jmp 0x46549e
mov dword [ebp - 0x64], 0
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x64]
mov dword [edx + 0x64c], eax
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x38]
mov ecx, dword [edx + 0x60c]
call fcn.004fe4c0
mov ecx, eax
call fcn.004f8260
push 0x90000000
push 0x6892d0
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx + 0x60c]
call fcn.004fe4c0
mov edx, dword [eax + 0x34]
push edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x64c]
call fcn.004f9df0
push 1
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x648]
push edx
sub esp, 0x2c
mov ecx, esp
mov eax, dword [ebp - 0x38]
add eax, 0x620
push eax
call fcn.0044a8f0
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx + 0x64c]
call fcn.0045a950
lea ecx, [ebp - 0x3c]
call fcn.00413870
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret 0xc