Function at 0x459c40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x24]
call fcn.00413220
mov dword [ebp - 0x30], 1
lea ecx, [ebp - 0x14]
call fcn.0040d170
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x34]
call fcn.00413220
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x620]
sub ecx, 4
mov dword [ebp - 0x1c], ecx
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.0045a3a0
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x65c], 0
jl 0x459cd9
mov ecx, dword [ebp - 0x18]
add ecx, 0x63c
call fcn.0042aed0
test eax, eax
jne 0x459cd9
mov dword [ebp - 0x30], 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x634
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.0045a550
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x68c], 0
jl 0x459d23
mov ecx, dword [ebp - 0x18]
add ecx, 0x66c
call fcn.0042aed0
test eax, eax
jne 0x459d23
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov edx, dword [eax + 0x68c]
cmp edx, dword [ecx + 0x624]
jge 0x459d23
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x18]
add eax, 0x664
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0045a550
mov dword [ebp - 0x2c], 0
jmp 0x459d3e
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x2c], 8
jge 0x459f63
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x65c], 0
jl 0x459d86
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ecx + 0x65c]
jl 0x459d86
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x65c]
mov edx, dword [ebp - 0x18]
add ecx, dword [edx + 0x3a24]
cmp dword [ebp - 0x1c], ecx
jge 0x459d86
mov eax, dword [ebp - 0x18]
add eax, 0x634
mov dword [ebp - 0x20], eax
jmp 0x459dca
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x68c], 0
jl 0x459dc5
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [edx + 0x68c]
jl 0x459dc5
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x68c]
mov eax, dword [ebp - 0x18]
add edx, dword [eax + 0x3a24]
cmp dword [ebp - 0x1c], edx
jge 0x459dc5
mov ecx, dword [ebp - 0x18]
add ecx, 0x664
mov dword [ebp - 0x20], ecx
jmp 0x459dca
jmp 0x459d2c
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
sub eax, dword [edx + 0x28]
mov dword [ebp - 0x28], eax
js 0x459de8
mov ecx, dword [ebp - 0x20]
add ecx, 8
call fcn.0042aed0
cmp dword [ebp - 0x28], eax
jl 0x459ded
jmp 0x459d2c
push 0x64
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x3a20]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x3a1c]
push ecx
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 8
call fcn.0044be00
mov ecx, eax
call fcn.005cb970
push eax
lea ecx, [ebp - 0x34]
call fcn.0040d360
lea ecx, [ebp - 0x38]
call fcn.00413870
lea ecx, [ebp - 0x34]
call fcn.0040d3c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x459e4b
jmp 0x459d2c
push 0x64
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x3a20]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x3a1c]
push ecx
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 8
call fcn.0044be00
mov ecx, eax
call fcn.005cb740
push eax
lea ecx, [ebp - 0x24]
call fcn.0040d360
lea ecx, [ebp - 0x3c]
call fcn.00413870
lea ecx, [ebp - 0x24]
call fcn.0040d3c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x459f57
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0x6a0
call fcn.00418cd0
push eax
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x6a0
call fcn.0042fc70
mov ecx, eax
call fcn.00413ab0
movzx ecx, al
test ecx, ecx
je 0x459f57
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x18]
add ecx, 0x6a0
call fcn.0044bf60
mov dword [eax], 1
push 0x210e
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x60c]
mov edx, dword [ecx + 4]
push edx
push 0
push ecx
mov ecx, esp
lea eax, [ebp - 0x34]
push eax
call fcn.00421650
push ecx
mov ecx, esp
lea edx, [ebp - 0x24]
push edx
call fcn.00421650
call fcn.004da4c0
add esp, 0x14
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x20]
call fcn.0058fbf0
push eax
lea ecx, [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0x6a8
call fcn.0044beb0
mov ecx, eax
call fcn.0040d360
lea ecx, [ebp - 0x44]
call fcn.00413870
mov dword [ebp - 0x30], 0
jmp 0x459d2c
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x48], edx
lea ecx, [ebp - 0x34]
call fcn.00413870
lea ecx, [ebp - 0x24]
call fcn.00413870
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret