Function at 0x48be40
Capabilities:
Check for time delay via gettickcount
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
and dword [ebp - 0x40], 0
mov ecx, 0x36ee80
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
movlpd qword [ebp - 0x34], xmm0
mov esi, dword [edi]
mov eax, dword [esi + 0x19c]
test eax, eax
cmovne ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], ecx
mov ebx, dword [edi + eax*4 + 0x130]
xor eax, eax
and dword [ebp - 0x24], eax
and dword [edi + 0x1f4], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x10], eax
cmp dword [edi + 0x1d0], 0
jne 0x48c07c
movzx eax, word [ebp + 0x14]
push eax
push dword [ebp + 0x10]
push 0x40bc20
push esi
call fcn.00478042
mov eax, dword [esi + 0xd4]
add esp, 0x10
test eax, eax
je 0x48bed2
push eax
call fcn.00490378
and dword [esi + 0xd4], 0
pop ecx
call fcn.0047e1fc
mov ebx, eax
mov dword [ebp + 8], ebx
test ebx, ebx
je 0x48c5c4
movzx eax, word [ebp + 0x14]
push eax
push dword [ebp + 0x10]
push 0x40bc48
call fcn.0046e028
add esp, 0xc
mov dword [ebp - 0x30], eax
test eax, eax
je 0x48c5d2
push 1
push eax
push 0x40bc50
push edi
call fcn.0047e9e2
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x48c050
cmp dword [edi + 0x114], 1
mov eax, 0x412d48
mov ebx, eax
mov dword [ebp - 0x20], eax
mov ecx, 0x408c2c
mov dword [ebp - 0x1c], ebx
mov eax, 0x408c30
cmovne eax, ecx
push 0x408958
push esi
mov dword [ebp - 8], eax
call fcn.0047e615
pop ecx
pop ecx
test eax, eax
jne 0x48bf70
push dword [ebp - 0x30]
push 0x40bc58
call fcn.0046e028
mov ebx, eax
mov dword [ebp - 0x1c], ebx
pop ecx
pop ecx
test ebx, ebx
je 0x48c5b2
push 0x408c48
push esi
call fcn.0047e615
test eax, eax
mov ecx, 0x408c5c
mov eax, 0x412d48
cmovne ecx, eax
push 0x408a20
push esi
mov dword [ebp - 0xc], ecx
call fcn.0047e615
add esp, 0x10
test eax, eax
jne 0x48bfb0
cmp dword [esi + 0x3a0], eax
je 0x48bfb0
mov eax, dword [edi + 0x228]
mov dword [ebp - 0x20], eax
push dword [ebp - 0xc]
mov eax, dword [edi + 0x224]
mov ecx, 0x412d48
push dword [ebp - 0x20]
test eax, eax
cmovne ecx, eax
movzx eax, word [ebp + 0x14]
push ecx
push ebx
push dword [ebp - 8]
push eax
push dword [ebp + 0x10]
push 0x40bc64
push dword [ebp + 8]
call fcn.0047e3a6
mov ebx, eax
add esp, 0x24
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x48bff8
cmp byte [eax], 0
je 0x48bff8
push eax
call fcn.00490378
pop ecx
test ebx, ebx
jne 0x48c03b
push dword [ebp + 8]
push edi
call fcn.0047e407
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x48c03b
push 0x413020
push dword [ebp + 8]
call fcn.0047e3a6
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x48c03b
push dword [ebp + 0xc]
push eax
lea eax, [esi + 0x86a4]
push eax
push edi
push dword [ebp + 8]
call fcn.0047e209
add esp, 0x14
mov ebx, eax
and dword [ebp + 8], 0
test ebx, ebx
je 0x48c050
push 0x40bc88
push esi
call fcn.00477fac
pop ecx
pop ecx
push dword [ebp - 0x30]
call fcn.00490378
mov eax, dword [ebp + 8]
pop ecx
test eax, eax
je 0x48c067
push eax
call fcn.00490378
pop ecx
test ebx, ebx
jne 0x48c5cb
mov ebx, dword [ebp - 0x2c]
mov dword [edi + 0x1d0], 1
push dword [edi + 0x124]
push dword [edi + 0x120]
call fcn.00479c13
push edx
push eax
call fcn.00479bbd
mov ecx, dword [ebp - 0x38]
add esp, 0x10
sub ecx, eax
test ecx, ecx
jle 0x48c672
cmp dword [esi + 0x520], 2
jne 0x48c0c2
push 0
push 0xffffffffffffffff
push ebx
call fcn.00480f38
add esp, 0xc
test eax, eax
je 0x48c66e
and dword [edi + 0x1d0], 0
lea eax, [esi + 0x53c]
and dword [ebp - 0x20], 0
xor edx, edx
xor ebx, ebx
mov dword [ebp - 0xc], eax
inc ebx
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 8], ebx
test ebx, ebx
je 0x48c444
cmp dword [ebp - 0x24], 0
jne 0x48c67f
push dword [edi + 0x124]
push dword [edi + 0x120]
call fcn.00479c13
push edx
push eax
call fcn.00479bbd
mov ecx, dword [ebp - 0x38]
add esp, 0x10
sub ecx, eax
test ecx, ecx
jle 0x48c579
mov edx, 0x3e8
cmp ecx, edx
mov eax, edx
cmovl eax, ecx
push eax
push 0xffffffffffffffff
push dword [ebp - 0x2c]
call fcn.00480f38
add esp, 0xc
cmp eax, 0xffffffff
je 0x48c56f
test eax, eax
je 0x48c428
lea eax, [ebp - 0x18]
push eax
mov eax, 0x4000
sub eax, dword [ebp - 0x20]
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x2c]
push edi
call fcn.004780b7
add esp, 0x14
cmp eax, 0x51
je 0x48c437
test eax, eax
jne 0x48c1fe
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jg 0x48c1b6
xor ebx, ebx
mov dword [ebp - 8], ebx
cmp dword [esi + 0x118], ebx
je 0x48c19e
cmp dword [esi + 0x85dc], ebx
je 0x48c19e
inc eax
mov dword [edi + 0x1f4], eax
jmp 0x48c428
push 0x40bd00
xor eax, eax
inc eax
push esi
mov dword [ebp - 0x24], eax
call fcn.00477fac
pop ecx
pop ecx
jmp 0x48c428
add dword [ebp - 0x20], ecx
xor eax, eax
inc eax
cmp ebx, eax
jle 0x48c245
mov eax, dword [ebp - 0x10]
lea edx, [esi + 0x53c]
and dword [ebp - 0x20], 0
or eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], edx
je 0x48c208
mov eax, ecx
mov ecx, dword [ebp - 0x10]
cdq
sub ecx, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
sbb eax, edx
mov dword [ebp - 0x14], eax
test eax, eax
jg 0x48c428
jl 0x48c1fe
test ecx, ecx
jne 0x48c428
xor ebx, ebx
mov dword [ebp - 8], ebx
jmp 0x48c428
and dword [ebp + 8], 0
lea eax, [ebp + 8]
push eax
push ecx
push edx
push edi
call fcn.0047c83f
add esp, 0x10
cmp eax, 0xffffffff
jne 0x48c22f
push 0x40bd18
push esi
call fcn.00478042
pop ecx
pop ecx
jmp 0x48c1fe
push dword [ebp + 8]
push 0x40bd2c
push esi
call fcn.00478042
add esp, 0xc
jmp 0x48c428
xor ebx, ebx
mov dword [ebp - 0x30], ebx
test ecx, ecx
jle 0x48c425
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
inc edx
cmp byte [eax], 0xa
mov dword [ebp - 0x1c], edx
jne 0x48c415
cmp dword [esi + 0x2e4], 0
je 0x48c283
push edi
push edx
push dword [ebp - 4]
xor eax, eax
inc eax
push eax
push esi
call fcn.00477ee6
mov edx, dword [ebp - 0x1c]
add esp, 0x14
cmp dword [esi + 0x2c8], 0
push 2
pop eax
push 3
pop ecx
push edx
push dword [ebp - 4]
cmovne eax, ecx
push eax
push edi
call fcn.00477daf
add esp, 0x10
test eax, eax
jne 0x48c682
mov ecx, dword [ebp - 4]
mov al, byte [ecx]
cmp al, 0xd
je 0x48c485
cmp al, 0xa
je 0x48c485
mov edx, dword [ebp - 0x1c]
push 0x11
push ecx
push 0x4090a4
mov al, byte [edx + ecx]
mov byte [ebp + 0xb], al
mov byte [edx + ecx], 0
call fcn.004798da
add esp, 0xc
test eax, eax
je 0x48c2ec
mov eax, dword [esi + 0x90]
cmp eax, 0x191
je 0x48c30f
push 0x13
push dword [ebp - 4]
push 0x4090b8
call fcn.004798da
add esp, 0xc
test eax, eax
je 0x48c329
mov eax, dword [esi + 0x90]
cmp eax, 0x197
jne 0x48c329
push dword [ebp - 4]
push eax
push edi
call fcn.0047e8aa
add esp, 0xc
test eax, eax
jne 0x48c682
jmp 0x48c3f7
push 0xf
push dword [ebp - 4]
push 0x408d08
call fcn.004798da
add esp, 0xc
test eax, eax
je 0x48c35d
mov eax, dword [ebp - 4]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.00497c17
add esp, 0xc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edx
jmp 0x48c3f7
push 0x408fec
push 0x40901c
push dword [ebp - 4]
call fcn.0047e657
add esp, 0xc
test eax, eax
jne 0x48c3c4
push 0x408a90
push 0x408a7c
push dword [ebp - 4]
call fcn.0047e657
add esp, 0xc
test eax, eax
je 0x48c3ab
push 0x40bd90
push esi
call fcn.00478042
xor eax, eax
inc eax
push edi
mov dword [ebp - 0x3c], eax
call fcn.0047c828
add esp, 0xc
jmp 0x48c3f7
push 0x408fec
push 0x408c48
push dword [ebp - 4]
call fcn.0047e657
add esp, 0xc
test eax, eax
je 0x48c3cc
xor eax, eax
inc eax
mov dword [ebp - 0x28], eax
jmp 0x48c3f7
lea ebx, [esi + 0x90]
push ebx
lea eax, [ebp - 0x40]
push eax
push 0x40bdac
push dword [ebp - 4]
call fcn.00497507
add esp, 0x10
cmp eax, 2
jne 0x48c3f4
mov eax, dword [ebx]
mov dword [esi + 0x8690], eax
mov ebx, dword [ebp - 0x30]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
mov al, byte [ebp + 0xb]
mov byte [edx + ecx], al
xor edx, edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], edx
inc eax
inc ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x30], ebx
cmp ebx, ecx
jl 0x48c258
mov ebx, dword [ebp - 8]
push edi
call fcn.0048024b
pop ecx
test eax, eax
jne 0x48c5da
cmp dword [ebp - 0x20], 0x4000
jb 0x48c0e4
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x48c67f
cmp dword [esi + 0x8690], 0xc8
je 0x48c591
push edi
call fcn.0047e6fa
pop ecx
test eax, eax
jne 0x48c682
cmp dword [edi + 0x198], eax
mov ebx, dword [ebp - 0x28]
push 1
pop eax
cmovne ebx, eax
mov dword [ebp - 0x28], ebx
jmp 0x48c594
and dword [ebp - 0x20], 0
lea eax, [esi + 0x53c]
cmp dword [esi + 0x90], 0x197
mov dword [ebp - 0xc], eax
jne 0x48c1fe
cmp dword [esi + 0x85ec], 0
jne 0x48c1fe
mov ecx, dword [ebp - 0x10]
mov eax, ecx
mov edx, dword [ebp - 0x14]
or eax, edx
mov dword [ebp - 8], 2
je 0x48c503
push edx
push ecx
push 0x40bd50
push esi
call fcn.00478042
mov eax, dword [ebp - 0x18]
add esp, 0x10
mov ecx, dword [ebp - 0x10]
sub eax, ebx
cdq
sub ecx, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
sbb eax, edx
mov dword [ebp - 0x14], eax
test eax, eax
jg 0x48c425
jl 0x48c1fe
test ecx, ecx
jne 0x48c425
jmp 0x48c1fe
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x48c1fe
xor eax, eax
inc eax
mov dword [esi + 0xc8], eax
mov eax, dword [ebp - 0x18]
sub eax, ebx
push eax
push 0x40bd74
push esi
call fcn.00478042
mov eax, dword [ebp - 4]
add esp, 0xc
inc eax
cmp byte [eax], 0xa
jne 0x48c538
mov dword [ebp - 4], eax
inc ebx
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x18]
sub eax, ebx
push eax
mov eax, dword [ebp - 4]
inc eax
push eax
push edi
call fcn.0047c83f
add esp, 0x10
cmp eax, 0xffffffff
je 0x48c220
push dword [ebp - 0x18]
push 0x40bd2c
push esi
call fcn.00478042
add esp, 0xc
jmp 0x48c425
push 0x40bcd0
jmp 0x48c1a3
push 0x40bca8
push esi
call fcn.00477fac
pop ecx
pop ecx
push 2
pop eax
mov dword [ebp - 0x24], eax
jmp 0x48c447
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x48c5a1
cmp dword [esi + 0xd4], 0
jne 0x48c5e1
cmp dword [esi + 0xd4], 0
je 0x48c5fe
mov ebx, dword [ebp - 0x2c]
jmp 0x48be97
push dword [ebp + 8]
call fcn.00490378
push dword [ebp - 0x30]
call fcn.00490378
pop ecx
pop ecx
push 0x1b
jmp 0x48c681
mov eax, ebx
jmp 0x48c682
push ebx
call fcn.00490378
jmp 0x48c5c3
push 0x2a
jmp 0x48c681
mov eax, dword [ebp + 0xc]
push dword [edi + eax*4 + 0x130]
push edi
call fcn.004784cb
mov eax, dword [ebp + 0xc]
pop ecx
pop ecx
or dword [edi + eax*4 + 0x130], 0xffffffff
mov eax, dword [esi + 0x90]
cmp eax, 0xc8
je 0x48c632
push eax
push 0x40bdbc
push esi
call fcn.00477fac
add esp, 0xc
test ebx, ebx
je 0x48c67f
cmp dword [esi + 0xd4], 0
je 0x48c67f
xor eax, eax
inc eax
mov dword [edi + 0x1f4], eax
jmp 0x48c67f
mov eax, dword [edi + 0x224]
test eax, eax
je 0x48c64a
push eax
call fcn.00490378
and dword [edi + 0x224], 0
pop ecx
and dword [edi + 0x224], 0
xor eax, eax
inc eax
push 0x40bdec
push esi
mov dword [esi + 0x85e0], eax
call fcn.00478042
and dword [esi + 0xc8], 0
pop ecx
pop ecx
xor eax, eax
jmp 0x48c682
push 0x40bca8
push esi
call fcn.00477fac
pop ecx
pop ecx
push 0x38
pop eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret