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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x4cab54
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4caf95
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
add eax, 0x27c
call fcn.004049c4
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x4caf7a
mov dl, 1
mov eax, dword [0x41c940]
call fcn.00403a78
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x149]
push eax
push 0x29
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.libcurl.dll_curl_easy_setopt
add esp, 0xc
push 0
push 0x40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.libcurl.dll_curl_easy_setopt
add esp, 0xc
push 0
push 0x51
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.libcurl.dll_curl_easy_setopt
add esp, 0xc
push 0
push 0x2c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.libcurl.dll_curl_easy_setopt
add esp, 0xc
push 0
push 0x2a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.libcurl.dll_curl_easy_setopt
add esp, 0xc
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x14a]
push eax
push 0x60
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.libcurl.dll_curl_easy_setopt
add esp, 0xc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x140]
push eax
push 0x4e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.libcurl.dll_curl_easy_setopt
add esp, 0xc
call sub.libcurl.dll_curl_version
mov edx, eax
mov eax, dword [ebp - 4]
add eax, 0x144
call fcn.00404bbc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004219d0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.004219d0
call sub.KERNEL32.DLL_GetTickCount
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.libcurl.dll_curl_easy_perform
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
call sub.KERNEL32.DLL_GetTickCount
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x1c]
fdiv dword [0x4cafa4]
mov eax, dword [ebp - 4]
fstp qword [eax + 0x258]
wait
mov eax, dword [ebp - 4]
cmp dword [eax + 0x30], 0
jne 0x4caf6d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
fild qword [ebp - 0x24]
fdiv dword [0x4cafa8]
mov eax, dword [ebp - 4]
fstp qword [eax + 0x270]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
mov edx, dword [ebp - 4]
mov dword [edx + 0x264], eax
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 4]
call fcn.004ca228
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.004096ac
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
add eax, 0x14
call fcn.00404a18
mov byte [ebp - 5], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x14a], 0
mov eax, dword [ebp - 4]
add eax, 0x34
push eax
push 0x200002
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.libcurl.dll_curl_easy_getinfo
add esp, 0xc
mov eax, dword [ebp - 4]
add eax, 0x260
push eax
push 0x100012
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.libcurl.dll_curl_easy_getinfo
add esp, 0xc
xor ecx, ecx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x14]
mov eax, dword [ebp - 4]
call fcn.004c9cdc
lea ecx, [ebp - 0x34]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x14]
mov eax, 0x4cafb4
call fcn.004aa230
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.004096ac
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
add eax, 0x27c
call fcn.00404a18
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.004cb004
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.00409498
mov edx, dword [ebp - 0x38]
mov eax, 0x4cafd0
call fcn.00404fc8
test eax, eax
jle 0x4cae60
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x4cade0
cmp eax, 0
jbe 0x4caf7a
jmp 0x4cade6
jle 0x4caf7a
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x14]
mov eax, 0x4cafe0
call fcn.00404fc8
test eax, eax
jle 0x4cae39
mov eax, dword [ebp - 0x14]
call fcn.004219d0
mov ecx, 0x8000
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b4de4
lea ecx, [ebp - 0x40]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.004ca228
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 4]
add edx, 0x2b4
call fcn.00406e94
jmp 0x4caf7a
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
call fcn.004ca228
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 4]
add edx, 0x2b4
call fcn.00406e94
jmp 0x4caf7a
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 4]
call fcn.004cb004
mov edx, dword [ebp - 0x48]
mov eax, 0x4caff0
call fcn.00404fc8
test eax, eax
jle 0x4caed9
mov eax, dword [ebp - 4]
cmp dword [eax + 0x280], 0
je 0x4caf7a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x4caea8
cmp eax, 0xbb8
jbe 0x4caf7a
jmp 0x4caeae
jle 0x4caf7a
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x280]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0042194c
mov eax, dword [ebp - 4]
add eax, 0x2b4
mov edx, 0x4cb000
call fcn.00404a18
jmp 0x4caf7a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x4caef3
cmp eax, 0
jbe 0x4caf7a
jmp 0x4caef9
jle 0x4caf7a
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x14]
mov eax, 0x4cafe0
call fcn.00404fc8
test eax, eax
jle 0x4caf49
mov eax, dword [ebp - 0x14]
call fcn.004219d0
mov ecx, 0x8000
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004b4de4
lea ecx, [ebp - 0x4c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.004ca228
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 4]
add edx, 0x2b4
call fcn.00406e94
jmp 0x4caf7a
lea ecx, [ebp - 0x50]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
call fcn.004ca228
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 4]
add edx, 0x2b4
call fcn.00406e94
jmp 0x4caf7a
mov eax, dword [ebp - 4]
add eax, 0x2b4
call fcn.004049c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4caf9c
lea eax, [ebp - 0x50]
mov edx, 0xb
call fcn.004049e8
ret