Function at 0x417e21
Capabilities:
Check for time delay via gettickcount
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1058
call fcn.005918e0
mov eax, dword [0x6c45ac]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x1058], esi
mov eax, dword [edi + 0x26d8]
mov ebx, dword [eax + esi*4]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x26cc]
mov dword [edi + 0x26d0], eax
mov eax, dword [ebx + 0x20]
and dword [ebx + 0x2c], 0
cmp dword [eax + 4], 1
je 0x4180f6
push ebx
call fcn.0041941f
mov dword [edi + 0x26c8], eax
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x417e8b
mov dword [ecx + 0x2450], eax
cmp dword [edi + 0x26c8], 0xc8
jne 0x41800a
push ebx
mov ecx, edi
call fcn.0041a066
push ebx
mov ecx, edi
call fcn.00419332
push ebx
mov ecx, edi
call fcn.0041a0d4
push ebx
mov ecx, edi
call fcn.00419465
push ebx
mov ecx, edi
call fcn.004192ec
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x3c]
cmp dword [edi + 0x5d100], eax
jne 0x41800a
cmp dword [edi + 0x5d104], edx
jne 0x41800a
xor eax, eax
cmp dword [edi + 0x2690], eax
je 0x417ef4
cmp dword [ebx + 0x30], 1
sete al
jmp 0x417ef5
inc eax
test eax, eax
je 0x41800a
mov ecx, dword [edi + 0x5d108]
mov eax, dword [edi + 0x5d10c]
test ecx, ecx
jne 0x417f11
test eax, eax
je 0x417f22
cmp ecx, dword [ebx + 0x38]
jne 0x417fe3
cmp eax, edx
jne 0x417fe3
mov eax, dword [ebx + 0x30]
push ebx
mov dword [edi + 0x26f0], eax
call fcn.0041951d
test eax, eax
je 0x418158
xor eax, eax
mov dword [edi + 0x2690], 1
mov dword [edi + 0x247c], eax
lea esi, [edi + 0x5d120]
mov dword [edi + 0x26f0], eax
mov dword [ebx + 0x30], eax
or eax, 0xffffffff
push esi
mov dword [edi + 0x5d100], eax
mov dword [edi + 0x5d104], eax
push 0x629208
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], eax
lea eax, [edi + 0x5d328]
push 0x103
push eax
call fcn.0040ce72
push 0x208
push 0
push esi
call fcn.005a88e0
add esp, 0x1c
lea eax, [ebp - 0x214]
push 0x208
push 0
push eax
call fcn.005a88e0
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x62ace4
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov esi, dword [ebp - 0x1058]
jmp 0x418158
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x417ff4
mov dword [eax + 0x244c], 1
push esi
mov ecx, edi
call fcn.00418b1c
push 0
mov ecx, edi
call fcn.00417737
jmp 0x41830e
xor edx, edx
cmp dword [edi + 0x2690], edx
je 0x41801c
mov dword [ebx + 0x28], edx
jmp 0x4182f2
mov eax, dword [edi + 0x26c8]
cmp eax, 0x12e
jne 0x4180cc
push 0x1048
push edx
lea eax, [ebp - 0x1054]
push eax
call fcn.005a88e0
pop ecx
pop ecx
lea eax, [ebp - 0x1054]
push eax
push ebx
call fcn.004194e0
test eax, eax
je 0x418304
mov edx, dword [ebx + 0x20]
lea ecx, [ebp - 0x1054]
push 0
call fcn.00416e83
pop ecx
test eax, eax
je 0x418304
cmp dword [ebx + 0x24], 0
jne 0x4180ab
push 0x1048
lea esi, [edi + 0x5f5c0]
push 0
push esi
call fcn.005a88e0
add esp, 0xc
lea eax, [ebp - 0x1054]
push eax
push 0x629208
push 0x823
push esi
call fcn.0041a6dc
mov esi, dword [ebp - 0x1058]
add esp, 0x10
push 0
mov ecx, edi
call fcn.00417737
test eax, eax
je 0x418304
push esi
mov ecx, edi
call fcn.00418b1c
xor eax, eax
inc eax
jmp 0x41830e
cmp eax, 0x194
jne 0x418014
xor ecx, ecx
inc ecx
mov dword [edi + 0x2470], ecx
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x417ff4
mov dword [eax + 0x244c], ecx
jmp 0x417ff4
cmp dword [ebx], 0
jne 0x4182c3
mov eax, dword [ebx + 4]
test eax, eax
je 0x4182c3
push ebx
mov ecx, edi
mov dword [ebx + 0x1c], eax
call fcn.00419332
mov eax, dword [edi + 0x5d100]
cmp eax, dword [ebx + 0x38]
jne 0x4182ee
mov eax, dword [edi + 0x5d104]
cmp eax, dword [ebx + 0x3c]
jne 0x4182ee
xor eax, eax
cmp dword [edi + 0x2690], eax
je 0x418146
cmp dword [ebx + 0x30], 1
sete al
jmp 0x418147
inc eax
test eax, eax
je 0x4182ee
mov eax, dword [ebx + 0x30]
mov dword [edi + 0x26f0], eax
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x41817a
cmp dword [eax + 0x2448], 0xffffffff
jne 0x41817a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x20]
sub eax, dword [ebx + 8]
mov dword [ecx + 0x2448], eax
push dword [ebx + 0x1c]
mov eax, dword [edi]
mov ecx, edi
push 2
call dword [eax + 4]
test eax, eax
je 0x41830c
mov eax, dword [edi]
mov ecx, edi
push 0
push 3
call dword [eax + 4]
test eax, eax
je 0x41830c
mov ecx, edi
call fcn.004195af
test eax, eax
je 0x418304
mov eax, dword [edi]
mov ecx, edi
push 0
push 4
call dword [eax + 4]
test eax, eax
je 0x41830c
cmp dword [edi + 0x26f0], 0
je 0x4182a8
mov eax, dword [edi + 0x5d100]
cmp eax, dword [edi + 0x5d110]
jne 0x418203
mov eax, dword [edi + 0x5d104]
cmp eax, dword [edi + 0x5d114]
jne 0x418203
push esi
mov ecx, edi
call fcn.00418b1c
mov dword [edi + 0x5d0f8], 7
jmp 0x4180c4
push 4
lea eax, [ebp - 0x1058]
mov dword [ebp - 0x1058], 0x4e20
push eax
push 6
push dword [ebx + 0x1c]
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push ebx
mov ecx, edi
call fcn.00419d93
test eax, eax
je 0x4180bc
mov eax, dword [ebx + 0x8040]
cmp dword [eax + 8], 0
jne 0x418259
cmp dword [eax + 0xc], 0
jne 0x418259
mov dword [eax + 4], 1
mov dword [ebx + 0x28], 8
jmp 0x41826a
push 0
push esi
mov ecx, edi
mov dword [ebx + 0x28], 4
call fcn.00418f5e
cmp dword [edi + 0x2690], 0
jne 0x418294
xor esi, esi
inc esi
cmp dword [edi + 0x2468], esi
jbe 0x418294
push 4
mov ecx, edi
call fcn.00417737
test eax, eax
je 0x418294
inc esi
cmp esi, dword [edi + 0x2468]
jb 0x41827e
mov eax, dword [edi]
mov ecx, edi
push 0
push 5
call dword [eax + 4]
test eax, eax
je 0x41830c
jmp 0x4180c4
mov eax, dword [edi]
mov ecx, edi
push 0
push 5
call dword [eax + 4]
test eax, eax
je 0x41830c
mov dword [ebx + 0x28], 8
jmp 0x4180c4
push 0x62acec
lea eax, [ebx + 0x806c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x4182ee
and dword [edi + 0x26f0], 0
and dword [ebx + 0x30], 0
mov dword [edi + 0x26d4], 0x8000000
and dword [ebx + 0x28], 0
push 1
push esi
mov ecx, edi
call fcn.00418f5e
test eax, eax
jne 0x4180c4
push esi
mov ecx, edi
call fcn.00418b1c
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00590be8
leave
ret 4