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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x5524ac
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5528d6
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
add eax, 0x27c
call fcn.00404538
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x5528bb
mov dl, 1
mov eax, dword [0x41b9f0]
call fcn.004035ec
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.00404730
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00420f80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00420f80
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 [0x5528e4]
mov eax, dword [ebp - 4]
fstp qword [eax + 0x258]
wait
mov eax, dword [ebp - 4]
cmp dword [eax + 0x30], 0
jne 0x5528ae
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 [0x5528e8]
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.00551df8
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.004091b0
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
add eax, 0x14
call fcn.0040458c
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.005518ac
lea ecx, [ebp - 0x34]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x14]
mov eax, 0x5528f4
call fcn.0054c1dc
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.004091b0
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
add eax, 0x27c
call fcn.0040458c
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00552944
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.00408f9c
mov edx, dword [ebp - 0x38]
mov eax, 0x552910
call fcn.00404b3c
test eax, eax
jle 0x5527b8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x552738
cmp eax, 0
jbe 0x5528bb
jmp 0x55273e
jle 0x5528bb
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x14]
mov eax, 0x552920
call fcn.00404b3c
test eax, eax
jle 0x552791
mov eax, dword [ebp - 0x14]
call fcn.00420f80
mov ecx, 0x8000
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0054b1b0
lea ecx, [ebp - 0x40]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00551df8
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 4]
add edx, 0x2ac
call fcn.00406a60
jmp 0x5528bb
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
call fcn.00551df8
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 4]
add edx, 0x2ac
call fcn.00406a60
jmp 0x5528bb
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 4]
call fcn.00552944
mov edx, dword [ebp - 0x48]
mov eax, 0x552930
call fcn.00404b3c
test eax, eax
jle 0x55280f
mov eax, dword [ebp - 4]
cmp dword [eax + 0x280], 0
je 0x5528bb
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x280]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00420efc
mov eax, dword [ebp - 4]
add eax, 0x2ac
mov edx, 0x552940
call fcn.0040458c
jmp 0x5528bb
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x14]
mov eax, 0x552920
call fcn.00404b3c
test eax, eax
jle 0x552872
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x55283d
cmp eax, 0
jbe 0x5528bb
jmp 0x55283f
jle 0x5528bb
mov ecx, 0x8000
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0054b1b0
lea ecx, [ebp - 0x4c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00551df8
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 4]
add eax, 0x2ac
call fcn.0040458c
jmp 0x5528bb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x552888
cmp eax, 0
jbe 0x5528bb
jmp 0x55288a
jle 0x5528bb
lea ecx, [ebp - 0x50]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
call fcn.00551df8
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 4]
add edx, 0x2ac
call fcn.00406a60
jmp 0x5528bb
mov eax, dword [ebp - 4]
add eax, 0x2ac
call fcn.00404538
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5528dd
lea eax, [ebp - 0x50]
mov edx, 0xb
call fcn.0040455c
ret