Function at 0x4555f6
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0x3c
mov eax, 0x51a337
call fcn.004d8abf
mov dword [ebp - 0x24], edx
mov ebx, ecx
mov dword [ebp - 0x14], ebx
xor eax, eax
inc eax
mov dword [ebp - 0x20], eax
mov edi, dword [ebp + 0x10]
xor ecx, ecx
mov dword [ebp - 4], eax
mov edx, ecx
mov edi, dword [edi + 0x34]
mov esi, dword [edi]
mov eax, esi
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
cmp esi, edi
je 0x45565e
mov ecx, dword [eax]
inc edx
mov eax, ecx
cmp ecx, edi
jne 0x45562e
test edx, edx
je 0x45565e
push edx
lea ecx, [ebp - 0x3c]
call fcn.004c0efb
mov ecx, dword [ebp - 0x3c]
lea eax, [esi + 8]
push eax
call fcn.004044ab
mov eax, dword [esi]
add ecx, 8
mov esi, eax
cmp eax, edi
jne 0x455647
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 2
cmp byte [eax + 0x3f], 0
je 0x45570e
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x48]
call fcn.004b2e61
mov byte [ebp - 4], 3
cmp dword [ebp - 0x48], 0
jge 0x455703
cmp dword [ebp - 0x44], 0
mov eax, 0x986
mov edi, dword [ebp - 0x40]
cmovne eax, dword [ebp - 0x44]
push eax
push dword [ebp - 0x48]
push ecx
mov esi, esp
lea ecx, [edi - 0x10]
mov dword [ebp + 0x10], esi
call fcn.004070e7
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.00406620
lea ecx, [edi - 0x10]
call fcn.00407189
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x455897
mov edi, dword [ebp - 0x38]
cmp esi, edi
je 0x4556e2
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4556d8
call fcn.00405adf
add esi, 8
cmp esi, edi
jne 0x4556cc
mov esi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x34]
sub eax, esi
and eax, 0xfffffff8
push eax
push esi
call fcn.00405cbf
xor eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
jmp 0x455897
mov ecx, dword [ebp - 0x40]
lea ecx, [ecx - 0x10]
call fcn.00407189
and dword [ebx + 4], 0
lea ecx, [ebx + 8]
mov dword [ebx], 0x80004005
call fcn.0040687a
mov byte [ebp - 4], 4
xor edx, edx
mov esi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x1c], edx
cmp esi, ecx
je 0x45588f
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
mov eax, dword [eax + 8]
cmp dword [eax], 0
jl 0x45587d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov eax, dword [ebp + 0x18]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov ebx, esp
mov ecx, eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x2c], eax
call fcn.004070e7
add eax, 0x10
mov dword [ebx], eax
mov dword [ebp - 4], 5
mov eax, dword [ebp + 0x14]
push ecx
add eax, 0xfffffff0
mov ebx, esp
mov dword [ebp - 0x28], ebx
mov ecx, eax
mov dword [ebp - 0x28], eax
call fcn.004070e7
push dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x48]
push dword [ebp - 0x18]
add eax, 0x10
push dword [ebp + 0x10]
mov dword [ebx], eax
push dword [ebp + 0xc]
mov byte [ebp - 4], 4
push dword [ebp + 8]
call fcn.00454b2d
add esp, 0x1c
mov dword [ebp - 4], 6
mov ecx, dword [ebp - 0x14]
push eax
call fcn.004032ed
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x40]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ebx, dword [ebp - 0x3c]
cmp esi, ebx
jne 0x45586f
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
push ebx
mov ecx, dword [eax + 8]
call fcn.004032ed
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
mov byte [ebp - 0xd], 1
mov edi, dword [ebp - 0x18]
mov ecx, dword [edi + 8]
mov dword [ecx + 0x10], eax
and dword [ecx + 0x14], 0
mov eax, dword [0x57d3ec]
add eax, 0x54
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 7
call fcn.0044f24f
mov ecx, dword [ebx]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
shr ecx, 0x1f
cmp byte [eax + 0x44], 0
je 0x45583a
mov edx, eax
jmp 0x455840
mov edx, dword [edi + 8]
add edx, 0x1c
mov eax, dword [ebp + 0xc]
push ecx
push ecx
mov ecx, esp
mov edi, dword [eax]
push edx
mov edx, str.URL_failed_
call fcn.004093b4
pop ecx
mov ecx, dword [ebp - 0x18]
push 0xa
push edi
call fcn.0044ebc5
lea ecx, [ebp - 0xd]
mov byte [ebp - 4], 4
call fcn.0044f694
mov ebx, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x14]
cmp dword [edi], 0
jge 0x4558b5
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x1c]
add esi, 8
inc edx
mov dword [ebp - 0x1c], edx
cmp esi, ecx
jne 0x45573e
mov ebx, dword [ebp - 0x14]
lea ecx, [ebp - 0x3c]
call fcn.0040439d
mov ecx, dword [ebp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp + 0x18]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov eax, ebx
call fcn.004d8a8d
ret
test ebx, ebx
je 0x4558f2
mov esi, dword [ebp - 0x38]
cmp ebx, esi
je 0x4558d6
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x4558cc
call fcn.00405adf
add ebx, 8
cmp ebx, esi
jne 0x4558c0
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x34]
sub eax, ebx
and eax, 0xfffffff8
push eax
push ebx
call fcn.00405cbf
xor eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x28]
call fcn.00407189
mov ecx, dword [ebp - 0x2c]
call fcn.00407189
mov eax, edi
jmp 0x4558af