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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xec
mov eax, dword [0x4b7f60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0xc]
mov esi, ecx
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x78], eax
mov dword [ebp - 8], 0xf
call fcn.00402798
mov ecx, dword [esi + 0x18]
lea edx, [esi + 4]
cmp ecx, 8
jb 0x411bf3
mov eax, dword [edx]
jmp 0x411bf5
mov eax, edx
lea edi, [eax + 2]
mov si, word [eax]
inc eax
inc eax
cmp si, bx
jne 0x411bf8
sub eax, edi
sar eax, 1
cmp ecx, 8
jb 0x411c0d
mov edx, dword [edx]
lea ecx, [ebp - 0x20]
push ecx
push eax
push edx
call fcn.004097fb
add esp, 0xc
mov esi, 0x4a8186
push esi
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x68], ebx
call fcn.004023e0
push esi
lea ecx, [ebp - 0x58]
call fcn.004023e0
lea ecx, [ebp - 0xb0]
call fcn.00411ef2
push str._HTTP_1.1_r_n
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xcc]
push str.GET
push eax
call fcn.004122d4
add esp, 0xc
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.0041230d
add esp, 0xc
push eax
lea ecx, [ebp - 0xb0]
call fcn.00411f24
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x98]
call fcn.004027b4
push ebx
push esi
lea ecx, [ebp - 0xcc]
call fcn.004027b4
mov edi, 0x4a8988
push edi
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x98]
push str.Host:
push eax
call fcn.004122d4
add esp, 0xc
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.0041230d
add esp, 0xc
push eax
lea ecx, [ebp - 0xb0]
call fcn.00411f24
push ebx
push esi
lea ecx, [ebp - 0xcc]
call fcn.004027b4
push ebx
push esi
lea ecx, [ebp - 0x98]
call fcn.004027b4
push edi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x98]
push str.If_Modified_Since:
push eax
call fcn.004122d4
add esp, 0xc
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.0041230d
add esp, 0xc
push eax
lea ecx, [ebp - 0xb0]
call fcn.00411f24
push ebx
push esi
lea ecx, [ebp - 0xcc]
call fcn.004027b4
push ebx
push esi
lea ecx, [ebp - 0x98]
call fcn.004027b4
push str.Accept:___r_n
lea ecx, [ebp - 0x98]
call fcn.004023e0
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0xb0]
call fcn.00411f24
push ebx
push esi
lea ecx, [ebp - 0x98]
call fcn.004027b4
push str.Connection:_close_r_n
lea ecx, [ebp - 0x98]
call fcn.004023e0
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0xb0]
call fcn.00411f24
push ebx
push esi
lea ecx, [ebp - 0x98]
call fcn.004027b4
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x60], 0x1e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x6c], eax
mov edi, 0xbb8
push ebx
push ebx
push esi
push ebx
mov byte [ebp - 0x59], bl
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0x4ff
push edi
mov dword [ebp - 0x74], eax
push ebx
lea eax, [ebp - 0x74]
push eax
push esi
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, esi
jne 0x411e44
push esi
push ebx
push ebx
push ebx
lea eax, [ebp - 0xe8]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x411e91
lea eax, [ebp - 0xe8]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0xe8]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0xe4], 0x113
jne 0x411e2d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [ebp - 0x6c]
cmp ecx, edi
jb 0x411e2d
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x59], 1
push esi
push ebx
push ebx
push ebx
lea eax, [ebp - 0xe8]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x411df1
jmp 0x411e4f
cmp eax, 0x102
jne 0x411e91
mov byte [ebp - 0x59], 1
cmp byte [ebp - 0x59], bl
je 0x411e91
mov ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x64]
push eax
lea edx, [ebp - 0x68]
call fcn.00411a4c
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 4]
cmp ecx, ebx
je 0x411ea8
push dword [ebp - 0x68]
lea eax, [ebp - 0xb0]
push dword [ebp - 0x64]
push eax
call fcn.004247d2
mov dword [ebp - 0x70], eax
cmp eax, ebx
jne 0x411ea3
dec dword [ebp - 0x60]
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x60], ebx
jne 0x411db2
mov edi, dword [ebp - 0x70]
jmp 0x411eaa
xor edi, edi
lea ecx, [ebp - 0xb0]
call fcn.0041200a
push dword [ebp - 0xb0]
call fcn.0046d271
pop ecx
push ebx
push esi
lea ecx, [ebp - 0x58]
call fcn.004027b4
push ebx
push esi
lea ecx, [ebp - 0x3c]
call fcn.004027b4
push ebx
push esi
lea ecx, [ebp - 0x20]
call fcn.004027b4
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046d79a
leave
ret 8