Function at 0x48a78a
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 0x48a9c6
movzx eax, word [ebp + 0x14]
push eax
push dword [ebp + 0x10]
push 0x40b738
push esi
call fcn.0047698c
mov eax, dword [esi + 0xd4]
add esp, 0x10
test eax, eax
je 0x48a81c
push eax
call fcn.0048ec18
and dword [esi + 0xd4], 0
pop ecx
call fcn.0047cb5e
mov ebx, eax
mov dword [ebp + 8], ebx
test ebx, ebx
je 0x48af0e
movzx eax, word [ebp + 0x14]
push eax
push dword [ebp + 0x10]
push 0x40b760
call fcn.0046c972
add esp, 0xc
mov dword [ebp - 0x30], eax
test eax, eax
je 0x48af1c
push 1
push eax
push 0x40b768
push edi
call fcn.0047d344
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x48a99a
cmp dword [edi + 0x114], 1
mov eax, 0x412b98
mov ebx, eax
mov dword [ebp - 0x20], eax
mov ecx, 0x408744
mov dword [ebp - 0x1c], ebx
mov eax, 0x408748
cmovne eax, ecx
push 0x408470
push esi
mov dword [ebp - 8], eax
call fcn.0047cf77
pop ecx
pop ecx
test eax, eax
jne 0x48a8ba
push dword [ebp - 0x30]
push 0x40b770
call fcn.0046c972
mov ebx, eax
mov dword [ebp - 0x1c], ebx
pop ecx
pop ecx
test ebx, ebx
je 0x48aefc
push 0x408760
push esi
call fcn.0047cf77
test eax, eax
mov ecx, 0x408774
mov eax, 0x412b98
cmovne ecx, eax
push 0x408538
push esi
mov dword [ebp - 0xc], ecx
call fcn.0047cf77
add esp, 0x10
test eax, eax
jne 0x48a8fa
cmp dword [esi + 0x3a0], eax
je 0x48a8fa
mov eax, dword [edi + 0x228]
mov dword [ebp - 0x20], eax
push dword [ebp - 0xc]
mov eax, dword [edi + 0x224]
mov ecx, 0x412b98
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 0x40b77c
push dword [ebp + 8]
call fcn.0047cd08
mov ebx, eax
add esp, 0x24
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x48a942
cmp byte [eax], 0
je 0x48a942
push eax
call fcn.0048ec18
pop ecx
test ebx, ebx
jne 0x48a985
push dword [ebp + 8]
push edi
call fcn.0047cd69
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x48a985
push 0x412f60
push dword [ebp + 8]
call fcn.0047cd08
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x48a985
push dword [ebp + 0xc]
push eax
lea eax, [esi + 0x86a4]
push eax
push edi
push dword [ebp + 8]
call fcn.0047cb6b
add esp, 0x14
mov ebx, eax
and dword [ebp + 8], 0
test ebx, ebx
je 0x48a99a
push 0x40b7a0
push esi
call fcn.004768f6
pop ecx
pop ecx
push dword [ebp - 0x30]
call fcn.0048ec18
mov eax, dword [ebp + 8]
pop ecx
test eax, eax
je 0x48a9b1
push eax
call fcn.0048ec18
pop ecx
test ebx, ebx
jne 0x48af15
mov ebx, dword [ebp - 0x2c]
mov dword [edi + 0x1d0], 1
push dword [edi + 0x124]
push dword [edi + 0x120]
call fcn.0047855d
push edx
push eax
call fcn.00478507
mov ecx, dword [ebp - 0x38]
add esp, 0x10
sub ecx, eax
test ecx, ecx
jle 0x48afbc
cmp dword [esi + 0x520], 2
jne 0x48aa0c
push 0
push 0xffffffffffffffff
push ebx
call fcn.0047f89a
add esp, 0xc
test eax, eax
je 0x48afb8
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 0x48ad8e
cmp dword [ebp - 0x24], 0
jne 0x48afc9
push dword [edi + 0x124]
push dword [edi + 0x120]
call fcn.0047855d
push edx
push eax
call fcn.00478507
mov ecx, dword [ebp - 0x38]
add esp, 0x10
sub ecx, eax
test ecx, ecx
jle 0x48aec3
mov edx, 0x3e8
cmp ecx, edx
mov eax, edx
cmovl eax, ecx
push eax
push 0xffffffffffffffff
push dword [ebp - 0x2c]
call fcn.0047f89a
add esp, 0xc
cmp eax, 0xffffffff
je 0x48aeb9
test eax, eax
je 0x48ad72
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.00476a01
add esp, 0x14
cmp eax, 0x51
je 0x48ad81
test eax, eax
jne 0x48ab48
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jg 0x48ab00
xor ebx, ebx
mov dword [ebp - 8], ebx
cmp dword [esi + 0x118], ebx
je 0x48aae8
cmp dword [esi + 0x85dc], ebx
je 0x48aae8
inc eax
mov dword [edi + 0x1f4], eax
jmp 0x48ad72
push 0x40b818
xor eax, eax
inc eax
push esi
mov dword [ebp - 0x24], eax
call fcn.004768f6
pop ecx
pop ecx
jmp 0x48ad72
add dword [ebp - 0x20], ecx
xor eax, eax
inc eax
cmp ebx, eax
jle 0x48ab8f
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 0x48ab52
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 0x48ad72
jl 0x48ab48
test ecx, ecx
jne 0x48ad72
xor ebx, ebx
mov dword [ebp - 8], ebx
jmp 0x48ad72
and dword [ebp + 8], 0
lea eax, [ebp + 8]
push eax
push ecx
push edx
push edi
call fcn.0047b189
add esp, 0x10
cmp eax, 0xffffffff
jne 0x48ab79
push 0x40b830
push esi
call fcn.0047698c
pop ecx
pop ecx
jmp 0x48ab48
push dword [ebp + 8]
push 0x40b844
push esi
call fcn.0047698c
add esp, 0xc
jmp 0x48ad72
xor ebx, ebx
mov dword [ebp - 0x30], ebx
test ecx, ecx
jle 0x48ad6f
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
inc edx
cmp byte [eax], 0xa
mov dword [ebp - 0x1c], edx
jne 0x48ad5f
cmp dword [esi + 0x2e4], 0
je 0x48abcd
push edi
push edx
push dword [ebp - 4]
xor eax, eax
inc eax
push eax
push esi
call fcn.00476830
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.004766f9
add esp, 0x10
test eax, eax
jne 0x48afcc
mov ecx, dword [ebp - 4]
mov al, byte [ecx]
cmp al, 0xd
je 0x48adcf
cmp al, 0xa
je 0x48adcf
mov edx, dword [ebp - 0x1c]
push 0x11
push ecx
push 0x408bbc
mov al, byte [edx + ecx]
mov byte [ebp + 0xb], al
mov byte [edx + ecx], 0
call fcn.00478224
add esp, 0xc
test eax, eax
je 0x48ac36
mov eax, dword [esi + 0x90]
cmp eax, 0x191
je 0x48ac59
push 0x13
push dword [ebp - 4]
push 0x408bd0
call fcn.00478224
add esp, 0xc
test eax, eax
je 0x48ac73
mov eax, dword [esi + 0x90]
cmp eax, 0x197
jne 0x48ac73
push dword [ebp - 4]
push eax
push edi
call fcn.0047d20c
add esp, 0xc
test eax, eax
jne 0x48afcc
jmp 0x48ad41
push 0xf
push dword [ebp - 4]
push 0x408820
call fcn.00478224
add esp, 0xc
test eax, eax
je 0x48aca7
mov eax, dword [ebp - 4]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.004964a7
add esp, 0xc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edx
jmp 0x48ad41
push 0x408b04
push 0x408b34
push dword [ebp - 4]
call fcn.0047cfb9
add esp, 0xc
test eax, eax
jne 0x48ad0e
push 0x4085a8
push 0x408594
push dword [ebp - 4]
call fcn.0047cfb9
add esp, 0xc
test eax, eax
je 0x48acf5
push 0x40b8a8
push esi
call fcn.0047698c
xor eax, eax
inc eax
push edi
mov dword [ebp - 0x3c], eax
call fcn.0047b172
add esp, 0xc
jmp 0x48ad41
push 0x408b04
push 0x408760
push dword [ebp - 4]
call fcn.0047cfb9
add esp, 0xc
test eax, eax
je 0x48ad16
xor eax, eax
inc eax
mov dword [ebp - 0x28], eax
jmp 0x48ad41
lea ebx, [esi + 0x90]
push ebx
lea eax, [ebp - 0x40]
push eax
push 0x40b8c4
push dword [ebp - 4]
call fcn.00495d97
add esp, 0x10
cmp eax, 2
jne 0x48ad3e
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 0x48aba2
mov ebx, dword [ebp - 8]
push edi
call fcn.0047ebad
pop ecx
test eax, eax
jne 0x48af24
cmp dword [ebp - 0x20], 0x4000
jb 0x48aa2e
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x48afc9
cmp dword [esi + 0x8690], 0xc8
je 0x48aedb
push edi
call fcn.0047d05c
pop ecx
test eax, eax
jne 0x48afcc
cmp dword [edi + 0x198], eax
mov ebx, dword [ebp - 0x28]
push 1
pop eax
cmovne ebx, eax
mov dword [ebp - 0x28], ebx
jmp 0x48aede
and dword [ebp - 0x20], 0
lea eax, [esi + 0x53c]
cmp dword [esi + 0x90], 0x197
mov dword [ebp - 0xc], eax
jne 0x48ab48
cmp dword [esi + 0x85ec], 0
jne 0x48ab48
mov ecx, dword [ebp - 0x10]
mov eax, ecx
mov edx, dword [ebp - 0x14]
or eax, edx
mov dword [ebp - 8], 2
je 0x48ae4d
push edx
push ecx
push 0x40b868
push esi
call fcn.0047698c
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 0x48ad6f
jl 0x48ab48
test ecx, ecx
jne 0x48ad6f
jmp 0x48ab48
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x48ab48
xor eax, eax
inc eax
mov dword [esi + 0xc8], eax
mov eax, dword [ebp - 0x18]
sub eax, ebx
push eax
push 0x40b88c
push esi
call fcn.0047698c
mov eax, dword [ebp - 4]
add esp, 0xc
inc eax
cmp byte [eax], 0xa
jne 0x48ae82
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.0047b189
add esp, 0x10
cmp eax, 0xffffffff
je 0x48ab6a
push dword [ebp - 0x18]
push 0x40b844
push esi
call fcn.0047698c
add esp, 0xc
jmp 0x48ad6f
push 0x40b7e8
jmp 0x48aaed
push 0x40b7c0
push esi
call fcn.004768f6
pop ecx
pop ecx
push 2
pop eax
mov dword [ebp - 0x24], eax
jmp 0x48ad91
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x48aeeb
cmp dword [esi + 0xd4], 0
jne 0x48af2b
cmp dword [esi + 0xd4], 0
je 0x48af48
mov ebx, dword [ebp - 0x2c]
jmp 0x48a7e1
push dword [ebp + 8]
call fcn.0048ec18
push dword [ebp - 0x30]
call fcn.0048ec18
pop ecx
pop ecx
push 0x1b
jmp 0x48afcb
mov eax, ebx
jmp 0x48afcc
push ebx
call fcn.0048ec18
jmp 0x48af0d
push 0x2a
jmp 0x48afcb
mov eax, dword [ebp + 0xc]
push dword [edi + eax*4 + 0x130]
push edi
call fcn.00476e15
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 0x48af7c
push eax
push 0x40b8d4
push esi
call fcn.004768f6
add esp, 0xc
test ebx, ebx
je 0x48afc9
cmp dword [esi + 0xd4], 0
je 0x48afc9
xor eax, eax
inc eax
mov dword [edi + 0x1f4], eax
jmp 0x48afc9
mov eax, dword [edi + 0x224]
test eax, eax
je 0x48af94
push eax
call fcn.0048ec18
and dword [edi + 0x224], 0
pop ecx
and dword [edi + 0x224], 0
xor eax, eax
inc eax
push 0x40b904
push esi
mov dword [esi + 0x85e0], eax
call fcn.0047698c
and dword [esi + 0xc8], 0
pop ecx
pop ecx
xor eax, eax
jmp 0x48afcc
push 0x40b7c0
push esi
call fcn.004768f6
pop ecx
pop ecx
push 0x38
pop eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret