Function at 0x42e060
Capabilities:
Check if file exists
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1022
mov eax, dword fs:[0]
push eax
mov eax, 0x1530
call fcn.004a9200
mov eax, dword [0x4ccf60]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x151c], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x42e5d6
mov dword [ebp - 0x4dc], 0
mov dword [ebp - 0x4d8], 0
mov dword [ebp - 0x4e4], 0
mov dword [ebp - 0x4e0], 0
mov dword [ebp - 0x4e8], 0
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x278], 0
push 0x254
push 0
lea ecx, [ebp - 0x4d4]
push ecx
call fcn.00499250
add esp, 0xc
push 0x254
push 0
lea edx, [ebp - 0x26c]
push edx
call fcn.00499250
add esp, 0xc
lea eax, [ebp - 0x26c]
push eax
mov ecx, dword [ebp - 0x151c]
mov edx, dword [ecx + 0x608]
push edx
call fcn.00440790
mov ecx, eax
call fcn.00440920
lea eax, [ebp - 0x4d4]
push eax
mov ecx, dword [ebp - 0x151c]
mov edx, dword [ecx + 0x60c]
push edx
call fcn.00440790
mov ecx, eax
call fcn.00440920
lea ecx, [ebp - 0x4ec]
call fcn.0040aa00
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x151c]
mov ecx, dword [eax + 0x40c]
call fcn.00407880
test eax, eax
je 0x42e27d
lea ecx, [ebp - 0x4ec]
push ecx
call fcn.00428150
add esp, 4
test eax, eax
je 0x42e1b2
mov edx, dword [ebp - 0x151c]
cmp dword [edx + 0xa00], 0
jne 0x42e27d
cmp dword [ebp - 0x4c8], 0
ja 0x42e1d7
jb 0x42e1c6
cmp dword [ebp - 0x4cc], 1
jae 0x42e1d7
call fcn.00428be0
mov dword [ebp - 0x4cc], eax
mov dword [ebp - 0x4c8], edx
mov eax, dword [ebp - 0x4c8]
push eax
mov ecx, dword [ebp - 0x4cc]
push ecx
call fcn.00435470
add esp, 8
mov ecx, dword [ebp - 0x151c]
call fcn.0042bfc0
test eax, eax
je 0x42e22e
mov ecx, dword [ebp - 0x151c]
call fcn.0042bb20
mov dword [ebp - 0x1510], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4ec]
call fcn.0040aac0
mov eax, dword [ebp - 0x1510]
jmp 0x42e904
mov edx, dword [ebp - 0x4cc]
mov dword [ebp - 0x4dc], edx
mov eax, dword [ebp - 0x4c8]
mov dword [ebp - 0x4d8], eax
mov ecx, dword [ebp - 0x4c4]
mov dword [ebp - 0x4e4], ecx
mov edx, dword [ebp - 0x4c0]
mov dword [ebp - 0x4e0], edx
mov eax, dword [ebp - 0x494]
add eax, dword [ebp - 0x498]
xor ecx, ecx
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x278], ecx
jmp 0x42e32d
cmp dword [ebp - 0x260], 0
ja 0x42e2a2
jb 0x42e291
cmp dword [ebp - 0x264], 1
jae 0x42e2a2
call fcn.00428be0
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x260], edx
mov ecx, dword [ebp - 0x151c]
call fcn.0042bf30
test eax, eax
je 0x42e2e3
mov ecx, dword [ebp - 0x151c]
call fcn.0042b8c0
mov dword [ebp - 0x1514], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4ec]
call fcn.0040aac0
mov eax, dword [ebp - 0x1514]
jmp 0x42e904
mov edx, dword [ebp - 0x264]
mov dword [ebp - 0x4dc], edx
mov eax, dword [ebp - 0x260]
mov dword [ebp - 0x4d8], eax
mov ecx, dword [ebp - 0x25c]
mov dword [ebp - 0x4e4], ecx
mov edx, dword [ebp - 0x258]
mov dword [ebp - 0x4e0], edx
mov eax, dword [ebp - 0x22c]
add eax, dword [ebp - 0x230]
xor ecx, ecx
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x278], ecx
cmp dword [ebp - 0x4d8], 0
ja 0x42e33f
cmp dword [ebp - 0x4dc], 0
jbe 0x42e371
push 0
push 0x64
mov edx, dword [ebp - 0x4e0]
push edx
mov eax, dword [ebp - 0x4e4]
push eax
call fcn.00499210
mov ecx, dword [ebp - 0x4d8]
push ecx
mov ecx, dword [ebp - 0x4dc]
push ecx
push edx
push eax
call fcn.004ade30
mov dword [ebp - 0x4e8], eax
mov edx, dword [ebp - 0x27c]
or edx, dword [ebp - 0x278]
jne 0x42e4bf
call fcn.0043d540
test eax, eax
jne 0x42e408
mov eax, dword [ebp - 0x151c]
cmp dword [eax + 0x60c], 0
jle 0x42e3b4
mov ecx, dword [ebp - 0x151c]
mov edx, dword [ecx + 0x60c]
push edx
call fcn.00440790
mov ecx, eax
call fcn.00440860
mov eax, dword [ebp - 0x151c]
cmp dword [eax + 0x608], 0
jle 0x42e3dc
mov ecx, dword [ebp - 0x151c]
mov edx, dword [ecx + 0x608]
push edx
call fcn.00440790
mov ecx, eax
call fcn.00440860
push 0
push 0x3e8
push 1
mov ecx, dword [ebp - 0x151c]
add ecx, 4
call fcn.0041db00
push 0
mov ecx, dword [ebp - 0x151c]
add ecx, 4
call fcn.0041db30
jmp 0x42e4bd
mov eax, dword [0x4d6bb8]
add eax, 1
mov dword [0x4d6bb8], eax
cmp dword [0x4d6bb8], 0x5a
jbe 0x42e4bd
mov dword [0x4d6bb8], 0
mov ecx, dword [0x4d6bbc]
add ecx, 1
mov dword [0x4d6bbc], ecx
cmp dword [0x4d6bbc], 3
jbe 0x42e49c
mov ecx, dword [ebp - 0x151c]
call fcn.0042ed60
mov dword [0x4d6bbc], 0
push 0
mov ecx, dword [ebp - 0x151c]
add ecx, 4
call fcn.0041db30
push 0
push 0
mov ecx, dword [ebp - 0x151c]
call fcn.00434640
push eax
mov ecx, dword [ebp - 0x151c]
call fcn.004344d0
push eax
push 4
call fcn.0043c170
add esp, 0x14
mov ecx, dword [ebp - 0x151c]
call fcn.0042b320
jmp 0x42e4bd
mov ecx, dword [ebp - 0x151c]
call fcn.0042ed60
mov ecx, dword [ebp - 0x151c]
call fcn.0042ead0
mov ecx, dword [ebp - 0x151c]
call fcn.0042ece0
jmp 0x42e4d3
mov dword [0x4d6bb8], 0
mov dword [0x4d6bbc], 0
lea ecx, [ebp - 0x4f0]
call fcn.0040aa00
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x27c]
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x1524], edx
mov dword [ebp - 0x1520], eax
mov ecx, dword [ebp - 0x1520]
mov dword [ebp - 0x1528], ecx
and dword [ebp - 0x1520], 0x7fffffff
fild qword [ebp - 0x1524]
and dword [ebp - 0x1528], 0x80000000
mov dword [ebp - 0x152c], 0
fild qword [ebp - 0x152c]
fchs
faddp st(1)
fdiv qword [0x4c3360]
sub esp, 8
fstp qword [esp]
push 0x4c019c
lea edx, [ebp - 0x4f0]
push edx
call fcn.00414920
add esp, 0x10
lea ecx, [ebp - 0x4f0]
call fcn.00436d80
push eax
mov ecx, dword [ebp - 0x151c]
add ecx, 0x50c
call fcn.00405e10
mov eax, dword [ebp - 0x4e8]
push eax
mov ecx, dword [ebp - 0x151c]
add ecx, 0x9c
call fcn.00426770
mov ecx, dword [ebp - 0x4d8]
push ecx
mov edx, dword [ebp - 0x4dc]
push edx
mov eax, dword [ebp - 0x4e0]
push eax
mov ecx, dword [ebp - 0x4e4]
push ecx
mov ecx, dword [ebp - 0x151c]
call fcn.004322e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4f0]
call fcn.0040aac0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4ec]
call fcn.0040aac0
jmp 0x42e902
cmp dword [ebp - 0x10], 1
jne 0x42e610
call fcn.0043d540
test eax, eax
je 0x42e60b
mov ecx, dword [ebp - 0x151c]
call fcn.0042ead0
mov ecx, dword [ebp - 0x151c]
call fcn.0042ece0
push 1
mov ecx, dword [ebp - 0x151c]
add ecx, 4
call fcn.0041db30
jmp 0x42e902
cmp dword [ebp - 0x10], 2
jne 0x42e71d
mov edx, dword [ebp - 0x151c]
cmp dword [edx + 0x688], 0x1e
jle 0x42e649
push 2
mov ecx, dword [ebp - 0x151c]
add ecx, 4
call fcn.0041db30
mov eax, dword [ebp - 0x151c]
mov dword [eax + 0x688], 0
lea ecx, [ebp - 0x1518]
push ecx
call fcn.00428810
add esp, 4
mov dword [ebp - 0x1530], eax
mov edx, dword [ebp - 0x1530]
mov dword [ebp - 0x1534], edx
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x1534]
push eax
mov ecx, dword [ebp - 0x151c]
add ecx, 0x408
push ecx
lea edx, [ebp - 0x4f4]
push edx
call fcn.00435cf0
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1518]
call fcn.0040aac0
lea ecx, [ebp - 0x4f4]
call fcn.00436d80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42e6eb
push 2
mov ecx, dword [ebp - 0x151c]
add ecx, 4
call fcn.0041db30
mov eax, dword [ebp - 0x151c]
mov dword [eax + 0x688], 0
lea ecx, [ebp - 0x4f4]
push ecx
mov ecx, dword [ebp - 0x151c]
call fcn.0042e920
mov edx, dword [ebp - 0x151c]
mov eax, dword [edx + 0x688]
add eax, 1
mov ecx, dword [ebp - 0x151c]
mov dword [ecx + 0x688], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4f4]
call fcn.0040aac0
jmp 0x42e902
cmp dword [ebp - 0x10], 0xa0
jne 0x42e902
lea ecx, [ebp - 0x4f8]
call fcn.004123b0
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x4f8]
call fcn.00435fb0
push eax
push 0x4b2634
mov ecx, dword [ebp - 0x151c]
add ecx, 0x614
call fcn.004360b0
mov dword [ebp - 0x4fc], eax
cmp dword [ebp - 0x4fc], 0
jl 0x42e8d2
lea ecx, [ebp - 0x4f8]
call fcn.00436d80
test eax, eax
je 0x42e8d2
lea ecx, [ebp - 0x4f8]
call fcn.00436d80
mov dword [ebp - 0x1538], eax
lea edx, [ebp - 0x500]
push edx
mov eax, dword [ebp - 0x1538]
push eax
mov ecx, dword [ebp - 0x1538]
mov edx, dword [ecx]
mov eax, dword [edx + 0xe0]
call eax
mov dword [ebp - 0x504], 0
lea ecx, [ebp - 0x4f8]
call fcn.00436d80
mov dword [ebp - 0x153c], eax
lea ecx, [ebp - 0x504]
push ecx
mov edx, dword [ebp - 0x153c]
push edx
mov eax, dword [ebp - 0x153c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x78]
call edx
mov dword [ebp - 0x4fc], eax
cmp dword [ebp - 0x500], 4
jne 0x42e8d0
cmp dword [ebp - 0x4fc], 0
jl 0x42e8d0
mov eax, dword [ebp - 0x504]
push eax
lea ecx, [ebp - 0x508]
call fcn.0040aa40
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x504]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0x1000
push 0
lea edx, [ebp - 0x150c]
push edx
call fcn.00499250
add esp, 0xc
lea ecx, [ebp - 0x508]
call fcn.00436d80
push eax
push str._GDL__Timer____TIMER_ID_ON_IE_COMPLETE__URL:_s_n
lea eax, [ebp - 0x150c]
push eax
call fcn.0041ca10
add esp, 0xc
lea ecx, [ebp - 0x150c]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x4c021c
lea ecx, [ebp - 0x508]
call fcn.00435b00
test eax, eax
je 0x42e8b6
push 0x4c0238
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 5
mov ecx, dword [ebp - 0x151c]
add ecx, 0x614
call fcn.0041b990
push 0xa0
mov ecx, dword [ebp - 0x151c]
add ecx, 4
call fcn.0041db30
jmp 0x42e8c1
push str._GDL__Timer____TIMER_ID_ON_IE_COMPLETE______n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x508]
call fcn.0040aac0
jmp 0x42e8f0
push 0x4c0328
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0xa0
mov ecx, dword [ebp - 0x151c]
add ecx, 4
call fcn.0041db30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4f8]
call fcn.00423740
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049536b
mov esp, ebp
pop ebp
ret 0x10