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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4af262
mov eax, dword fs:[0]
push eax
mov eax, 0x1538
call fcn.004a76e0
mov eax, dword [0x4caef0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1524], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x42d999
mov dword [ebp - 0x4d8], 0
mov dword [ebp - 0x4e4], 0
mov dword [ebp - 0x4e0], 0
mov dword [ebp - 0x4ec], 0
mov dword [ebp - 0x4e8], 0
mov dword [ebp - 0x4f0], 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.00497550
add esp, 0xc
push 0x254
push 0
lea edx, [ebp - 0x26c]
push edx
call fcn.00497550
add esp, 0xc
lea eax, [ebp - 0x26c]
push eax
mov ecx, dword [ebp - 0x1524]
mov edx, dword [ecx + 0x638]
push edx
call fcn.0043fe70
mov eax, dword [eax + 0x10]
call eax
add esp, 8
lea ecx, [ebp - 0x4d4]
push ecx
mov edx, dword [ebp - 0x1524]
mov eax, dword [edx + 0x63c]
push eax
call fcn.0043fe70
mov ecx, dword [eax + 0x10]
call ecx
add esp, 8
mov edx, dword [0x4d5328]
mov dword [ebp - 0x264], edx
mov eax, dword [0x4d532c]
mov dword [ebp - 0x260], eax
mov ecx, dword [ebp - 0x1524]
call fcn.0042b430
test eax, eax
je 0x42d4bd
mov ecx, dword [ebp - 0x1524]
mov dword [ecx + 0xe3c], 1
mov edx, dword [0x4d5330]
add edx, dword [ebp - 0x25c]
mov eax, dword [0x4d5334]
adc eax, dword [ebp - 0x258]
mov dword [0x4d5330], edx
mov dword [0x4d5334], eax
mov ecx, dword [ebp - 0x1524]
call fcn.0042b050
test eax, eax
je 0x42d4a9
mov ecx, 0x4d5ad4
call fcn.00435e80
mov ecx, dword [0x4d5320]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov dword [ebp - 0x4d8], 1
jmp 0x42d4bd
mov edx, dword [0x4d5320]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor eax, eax
jmp 0x42dd3e
mov eax, dword [ebp - 0x1524]
cmp dword [eax + 0x640], 0
jne 0x42d4f3
mov ecx, dword [ebp - 0x1524]
call fcn.0042aeb0
mov ecx, dword [ebp - 0x1524]
cmp dword [ecx + 0x640], 1
jne 0x42d4f1
mov ecx, dword [ebp - 0x1524]
call fcn.0042d2b0
jmp 0x42d4fe
mov ecx, dword [ebp - 0x1524]
call fcn.0042aeb0
mov ecx, dword [ebp - 0x1524]
call fcn.0042ae40
test eax, eax
je 0x42d629
mov edx, dword [ebp - 0x264]
add edx, dword [ebp - 0x4cc]
mov eax, dword [ebp - 0x260]
adc eax, dword [ebp - 0x4c8]
mov dword [ebp - 0x4e4], edx
mov dword [ebp - 0x4e0], eax
mov ecx, dword [ebp - 0x22c]
add ecx, dword [ebp - 0x230]
add ecx, dword [ebp - 0x498]
add ecx, dword [ebp - 0x494]
xor edx, edx
mov dword [ebp - 0x27c], ecx
mov dword [ebp - 0x278], edx
mov ecx, dword [ebp - 0x1524]
call fcn.0042ae80
test eax, eax
je 0x42d5c9
cmp dword [ebp - 0x4d8], 0
je 0x42d598
mov eax, dword [0x4d5330]
add eax, dword [ebp - 0x4c4]
mov ecx, dword [0x4d5334]
adc ecx, dword [ebp - 0x4c0]
mov dword [ebp - 0x4ec], eax
mov dword [ebp - 0x4e8], ecx
jmp 0x42d5c7
mov edx, dword [0x4d5330]
add edx, dword [ebp - 0x25c]
mov eax, dword [0x4d5334]
adc eax, dword [ebp - 0x258]
add edx, dword [ebp - 0x4c4]
adc eax, dword [ebp - 0x4c0]
mov dword [ebp - 0x4ec], edx
mov dword [ebp - 0x4e8], eax
jmp 0x42d627
cmp dword [ebp - 0x4d8], 0
je 0x42d5f8
mov ecx, dword [0x4d5330]
add ecx, dword [ebp - 0x4cc]
mov edx, dword [0x4d5334]
adc edx, dword [ebp - 0x4c8]
mov dword [ebp - 0x4ec], ecx
mov dword [ebp - 0x4e8], edx
jmp 0x42d627
mov eax, dword [0x4d5330]
add eax, dword [ebp - 0x25c]
mov ecx, dword [0x4d5334]
adc ecx, dword [ebp - 0x258]
add eax, dword [ebp - 0x4cc]
adc ecx, dword [ebp - 0x4c8]
mov dword [ebp - 0x4ec], eax
mov dword [ebp - 0x4e8], ecx
jmp 0x42d6a1
mov edx, dword [ebp - 0x264]
mov dword [ebp - 0x4e4], edx
mov eax, dword [ebp - 0x260]
mov dword [ebp - 0x4e0], eax
cmp dword [ebp - 0x4d8], 0
je 0x42d664
mov ecx, dword [0x4d5330]
mov dword [ebp - 0x4ec], ecx
mov edx, dword [0x4d5334]
mov dword [ebp - 0x4e8], edx
jmp 0x42d687
mov eax, dword [0x4d5330]
add eax, dword [ebp - 0x25c]
mov ecx, dword [0x4d5334]
adc ecx, dword [ebp - 0x258]
mov dword [ebp - 0x4ec], eax
mov dword [ebp - 0x4e8], ecx
mov edx, dword [ebp - 0x22c]
add edx, dword [ebp - 0x230]
xor eax, eax
mov dword [ebp - 0x27c], edx
mov dword [ebp - 0x278], eax
cmp dword [ebp - 0x4e0], 0
ja 0x42d6b3
cmp dword [ebp - 0x4e4], 0
jbe 0x42d6e5
push 0
push 0x64
mov ecx, dword [ebp - 0x4e8]
push ecx
mov edx, dword [ebp - 0x4ec]
push edx
call fcn.004a6bb0
mov ecx, dword [ebp - 0x4e0]
push ecx
mov ecx, dword [ebp - 0x4e4]
push ecx
push edx
push eax
call fcn.004ac370
mov dword [ebp - 0x4f0], eax
mov edx, dword [ebp - 0x1524]
cmp dword [edx + 0x640], 0
jne 0x42d70a
mov eax, dword [ebp - 0x4c8]
push eax
mov ecx, dword [ebp - 0x4cc]
push ecx
call fcn.00434a40
add esp, 8
mov edx, dword [ebp - 0x27c]
or edx, dword [ebp - 0x278]
jne 0x42d86c
call fcn.0043cd80
test eax, eax
jne 0x42d7b4
mov eax, dword [ebp - 0x1524]
cmp dword [eax + 0x63c], 0
jle 0x42d760
mov ecx, dword [ebp - 0x1524]
cmp dword [ecx + 0x640], 0
jne 0x42d760
mov edx, dword [ebp - 0x1524]
mov eax, dword [edx + 0x63c]
push eax
call fcn.0043fe70
mov ecx, eax
call fcn.0043ff40
mov ecx, dword [ebp - 0x1524]
cmp dword [ecx + 0x638], 0
jle 0x42d788
mov edx, dword [ebp - 0x1524]
mov eax, dword [edx + 0x638]
push eax
call fcn.0043fe70
mov ecx, eax
call fcn.0043ff40
push 0
push 0x3e8
push 1
mov ecx, dword [ebp - 0x1524]
add ecx, 4
call fcn.0041d150
push 0
mov ecx, dword [ebp - 0x1524]
add ecx, 4
call fcn.0041d180
jmp 0x42d86a
mov ecx, dword [0x4d53fc]
add ecx, 1
mov dword [0x4d53fc], ecx
cmp dword [0x4d53fc], 0x5a
jbe 0x42d86a
mov dword [0x4d53fc], 0
mov edx, dword [0x4d5400]
add edx, 1
mov dword [0x4d5400], edx
cmp dword [0x4d5400], 3
jbe 0x42d849
mov ecx, dword [ebp - 0x1524]
call fcn.0042e4c0
mov dword [0x4d5400], 0
push 0
mov ecx, dword [ebp - 0x1524]
add ecx, 4
call fcn.0041d180
mov ecx, dword [ebp - 0x1524]
call fcn.00433c10
add eax, dword [0x4d5330]
mov ecx, dword [0x4d5334]
adc ecx, edx
mov dword [ebp - 0x4fc], eax
mov dword [ebp - 0x4f8], ecx
mov ecx, dword [ebp - 0x1524]
call fcn.0042ac00
jmp 0x42d86a
mov ecx, dword [ebp - 0x1524]
call fcn.0042e4c0
mov ecx, dword [ebp - 0x1524]
call fcn.0042e250
mov ecx, dword [ebp - 0x1524]
call fcn.0042e450
jmp 0x42d880
mov dword [0x4d53fc], 0
mov dword [0x4d5400], 0
mov ecx, 0x4d5ad4
call fcn.00416200
test eax, eax
jne 0x42d8a2
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x278], 0
lea ecx, [ebp - 0x4f4]
call fcn.0040a290
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x27c]
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x152c], edx
mov dword [ebp - 0x1528], eax
mov ecx, dword [ebp - 0x1528]
mov dword [ebp - 0x1530], ecx
and dword [ebp - 0x1528], 0x7fffffff
fild qword [ebp - 0x152c]
and dword [ebp - 0x1530], 0x80000000
mov dword [ebp - 0x1534], 0
fild qword [ebp - 0x1534]
fchs
faddp st(1)
fdiv qword [0x4c0fa8]
sub esp, 8
fstp qword [esp]
push 0x4be124
lea edx, [ebp - 0x4f4]
push edx
call fcn.004140a0
add esp, 0x10
lea ecx, [ebp - 0x4f4]
call fcn.0040a8b0
push eax
mov ecx, dword [ebp - 0x1524]
add ecx, 0x590
call fcn.00405ea0
mov eax, dword [ebp - 0x4f0]
push eax
mov ecx, dword [ebp - 0x1524]
add ecx, 0x9c
call fcn.00425c80
mov ecx, dword [ebp - 0x4e0]
push ecx
mov edx, dword [ebp - 0x4e4]
push edx
mov eax, dword [ebp - 0x4e8]
push eax
mov ecx, dword [ebp - 0x4ec]
push ecx
mov ecx, dword [ebp - 0x1524]
call fcn.004313b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4f4]
call fcn.0040a350
jmp 0x42dd3c
cmp dword [ebp - 0x10], 1
jne 0x42da4b
call fcn.0043cd80
test eax, eax
je 0x42da46
mov edx, dword [ebp - 0x1524]
add edx, 0x820
push edx
lea ecx, [ebp - 0x500]
call fcn.0040a2d0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x500]
call fcn.0040a780
movzx eax, al
test eax, eax
je 0x42da0e
mov ecx, 0x4d5ad4
call fcn.00416200
test eax, eax
jbe 0x42da0e
mov ecx, 0x4d5ad4
call fcn.00435e60
mov edi, dword [ebp - 0x1524]
add edi, 0x818
mov ecx, 0x188
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x1524]
call fcn.0042e250
mov ecx, dword [ebp - 0x1524]
call fcn.0042e450
push 1
mov ecx, dword [ebp - 0x1524]
add ecx, 4
call fcn.0041d180
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x500]
call fcn.0040a350
jmp 0x42dd3c
cmp dword [ebp - 0x10], 2
jne 0x42db57
mov ecx, dword [ebp - 0x1524]
cmp dword [ecx + 0x6c4], 0x1e
jle 0x42da84
push 2
mov ecx, dword [ebp - 0x1524]
add ecx, 4
call fcn.0041d180
mov edx, dword [ebp - 0x1524]
mov dword [edx + 0x6c4], 0
lea eax, [ebp - 0x1520]
push eax
call fcn.00427b70
add esp, 4
mov dword [ebp - 0x1538], eax
mov ecx, dword [ebp - 0x1538]
mov dword [ebp - 0x153c], ecx
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x153c]
push edx
mov eax, dword [ebp - 0x1524]
add eax, 0x48c
push eax
lea ecx, [ebp - 0x504]
push ecx
call fcn.00434ff0
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1520]
call fcn.0040a350
lea ecx, [ebp - 0x504]
call fcn.0040a8b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42db25
push 2
mov ecx, dword [ebp - 0x1524]
add ecx, 4
call fcn.0041d180
mov edx, dword [ebp - 0x1524]
mov dword [edx + 0x6c4], 0
lea eax, [ebp - 0x504]
push eax
mov ecx, dword [ebp - 0x1524]
call fcn.0042dfd0
mov ecx, dword [ebp - 0x1524]
mov edx, dword [ecx + 0x6c4]
add edx, 1
mov eax, dword [ebp - 0x1524]
mov dword [eax + 0x6c4], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x504]
call fcn.0040a350
jmp 0x42dd3c
cmp dword [ebp - 0x10], 0xa0
jne 0x42dd3c
lea ecx, [ebp - 0x508]
call fcn.00411bc0
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x508]
call fcn.00402250
push eax
push 0x4b05f0
mov ecx, dword [ebp - 0x1524]
add ecx, 0x648
call fcn.00435330
mov dword [ebp - 0x50c], eax
cmp dword [ebp - 0x50c], 0
jl 0x42dd0c
lea ecx, [ebp - 0x508]
call fcn.0040a8b0
test eax, eax
je 0x42dd0c
lea ecx, [ebp - 0x508]
call fcn.0040a8b0
mov dword [ebp - 0x1540], eax
lea ecx, [ebp - 0x510]
push ecx
mov edx, dword [ebp - 0x1540]
push edx
mov eax, dword [ebp - 0x1540]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xe0]
call edx
mov dword [ebp - 0x514], 0
lea ecx, [ebp - 0x508]
call fcn.0040a8b0
mov dword [ebp - 0x1544], eax
lea eax, [ebp - 0x514]
push eax
mov ecx, dword [ebp - 0x1544]
push ecx
mov edx, dword [ebp - 0x1544]
mov eax, dword [edx]
mov ecx, dword [eax + 0x78]
call ecx
mov dword [ebp - 0x50c], eax
cmp dword [ebp - 0x510], 4
jne 0x42dd0a
cmp dword [ebp - 0x50c], 0
jl 0x42dd0a
mov edx, dword [ebp - 0x514]
push edx
lea ecx, [ebp - 0x518]
call fcn.0040a2d0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x514]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0x1000
push 0
lea ecx, [ebp - 0x151c]
push ecx
call fcn.00497550
add esp, 0xc
lea ecx, [ebp - 0x518]
call fcn.0040a8b0
push eax
push str._GDL__Timer____TIMER_ID_ON_IE_COMPLETE__URL:_s_n
lea edx, [ebp - 0x151c]
push edx
call fcn.0041c1a0
add esp, 0xc
lea eax, [ebp - 0x151c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x4be1a4
lea ecx, [ebp - 0x518]
call fcn.00434eb0
test eax, eax
je 0x42dcf0
push 0x4be1c0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 5
mov ecx, dword [ebp - 0x1524]
add ecx, 0x648
call fcn.0041b200
push 0xa0
mov ecx, dword [ebp - 0x1524]
add ecx, 4
call fcn.0041d180
jmp 0x42dcfb
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 - 0x518]
call fcn.0040a350
jmp 0x42dd2a
push 0x4be2b0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0xa0
mov ecx, dword [ebp - 0x1524]
add ecx, 4
call fcn.0041d180
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x508]
call fcn.00422d30
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004948e6
mov esp, ebp
pop ebp
ret 0x10