Function at 0x489b9d
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 0x489dd9
movzx eax, word [ebp + 0x14]
push eax
push dword [ebp + 0x10]
push 0x40baa0
push esi
call fcn.00475d9f
mov eax, dword [esi + 0xd4]
add esp, 0x10
test eax, eax
je 0x489c2f
push eax
call fcn.0048e028
and dword [esi + 0xd4], 0
pop ecx
call fcn.0047bf5d
mov ebx, eax
mov dword [ebp + 8], ebx
test ebx, ebx
je 0x48a321
movzx eax, word [ebp + 0x14]
push eax
push dword [ebp + 0x10]
push 0x40bac8
call fcn.0046bd85
add esp, 0xc
mov dword [ebp - 0x30], eax
test eax, eax
je 0x48a32f
push 1
push eax
push 0x40bad0
push edi
call fcn.0047c743
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x489dad
cmp dword [edi + 0x114], 1
mov eax, 0x412f18
mov ebx, eax
mov dword [ebp - 0x20], eax
mov ecx, 0x408aac
mov dword [ebp - 0x1c], ebx
mov eax, 0x408ab0
cmovne eax, ecx
push 0x4087d8
push esi
mov dword [ebp - 8], eax
call fcn.0047c376
pop ecx
pop ecx
test eax, eax
jne 0x489ccd
push dword [ebp - 0x30]
push 0x40bad8
call fcn.0046bd85
mov ebx, eax
mov dword [ebp - 0x1c], ebx
pop ecx
pop ecx
test ebx, ebx
je 0x48a30f
push 0x408ac8
push esi
call fcn.0047c376
test eax, eax
mov ecx, 0x408adc
mov eax, 0x412f18
cmovne ecx, eax
push 0x4088a0
push esi
mov dword [ebp - 0xc], ecx
call fcn.0047c376
add esp, 0x10
test eax, eax
jne 0x489d0d
cmp dword [esi + 0x3a0], eax
je 0x489d0d
mov eax, dword [edi + 0x228]
mov dword [ebp - 0x20], eax
push dword [ebp - 0xc]
mov eax, dword [edi + 0x224]
mov ecx, 0x412f18
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 0x40bae4
push dword [ebp + 8]
call fcn.0047c107
mov ebx, eax
add esp, 0x24
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x489d55
cmp byte [eax], 0
je 0x489d55
push eax
call fcn.0048e028
pop ecx
test ebx, ebx
jne 0x489d98
push dword [ebp + 8]
push edi
call fcn.0047c168
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x489d98
push 0x4132b0
push dword [ebp + 8]
call fcn.0047c107
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x489d98
push dword [ebp + 0xc]
push eax
lea eax, [esi + 0x86a4]
push eax
push edi
push dword [ebp + 8]
call fcn.0047bf6a
add esp, 0x14
mov ebx, eax
and dword [ebp + 8], 0
test ebx, ebx
je 0x489dad
push 0x40bb08
push esi
call fcn.00475d09
pop ecx
pop ecx
push dword [ebp - 0x30]
call fcn.0048e028
mov eax, dword [ebp + 8]
pop ecx
test eax, eax
je 0x489dc4
push eax
call fcn.0048e028
pop ecx
test ebx, ebx
jne 0x48a328
mov ebx, dword [ebp - 0x2c]
mov dword [edi + 0x1d0], 1
push dword [edi + 0x124]
push dword [edi + 0x120]
call fcn.00477978
push edx
push eax
call fcn.00477922
mov ecx, dword [ebp - 0x38]
add esp, 0x10
sub ecx, eax
test ecx, ecx
jle 0x48a3cf
cmp dword [esi + 0x520], 2
jne 0x489e1f
push 0
push 0xffffffffffffffff
push ebx
call fcn.0047ec99
add esp, 0xc
test eax, eax
je 0x48a3cb
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 0x48a1a1
cmp dword [ebp - 0x24], 0
jne 0x48a3dc
push dword [edi + 0x124]
push dword [edi + 0x120]
call fcn.00477978
push edx
push eax
call fcn.00477922
mov ecx, dword [ebp - 0x38]
add esp, 0x10
sub ecx, eax
test ecx, ecx
jle 0x48a2d6
mov edx, 0x3e8
cmp ecx, edx
mov eax, edx
cmovl eax, ecx
push eax
push 0xffffffffffffffff
push dword [ebp - 0x2c]
call fcn.0047ec99
add esp, 0xc
cmp eax, 0xffffffff
je 0x48a2cc
test eax, eax
je 0x48a185
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.00475e14
add esp, 0x14
cmp eax, 0x51
je 0x48a194
test eax, eax
jne 0x489f5b
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jg 0x489f13
xor ebx, ebx
mov dword [ebp - 8], ebx
cmp dword [esi + 0x118], ebx
je 0x489efb
cmp dword [esi + 0x85dc], ebx
je 0x489efb
inc eax
mov dword [edi + 0x1f4], eax
jmp 0x48a185
push 0x40bb80
xor eax, eax
inc eax
push esi
mov dword [ebp - 0x24], eax
call fcn.00475d09
pop ecx
pop ecx
jmp 0x48a185
add dword [ebp - 0x20], ecx
xor eax, eax
inc eax
cmp ebx, eax
jle 0x489fa2
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 0x489f65
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 0x48a185
jl 0x489f5b
test ecx, ecx
jne 0x48a185
xor ebx, ebx
mov dword [ebp - 8], ebx
jmp 0x48a185
and dword [ebp + 8], 0
lea eax, [ebp + 8]
push eax
push ecx
push edx
push edi
call fcn.0047a588
add esp, 0x10
cmp eax, 0xffffffff
jne 0x489f8c
push 0x40bb98
push esi
call fcn.00475d9f
pop ecx
pop ecx
jmp 0x489f5b
push dword [ebp + 8]
push 0x40bbac
push esi
call fcn.00475d9f
add esp, 0xc
jmp 0x48a185
xor ebx, ebx
mov dword [ebp - 0x30], ebx
test ecx, ecx
jle 0x48a182
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
inc edx
cmp byte [eax], 0xa
mov dword [ebp - 0x1c], edx
jne 0x48a172
cmp dword [esi + 0x2e4], 0
je 0x489fe0
push edi
push edx
push dword [ebp - 4]
xor eax, eax
inc eax
push eax
push esi
call fcn.00475c43
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.00475b0c
add esp, 0x10
test eax, eax
jne 0x48a3df
mov ecx, dword [ebp - 4]
mov al, byte [ecx]
cmp al, 0xd
je 0x48a1e2
cmp al, 0xa
je 0x48a1e2
mov edx, dword [ebp - 0x1c]
push 0x11
push ecx
push 0x408f24
mov al, byte [edx + ecx]
mov byte [ebp + 0xb], al
mov byte [edx + ecx], 0
call fcn.00477637
add esp, 0xc
test eax, eax
je 0x48a049
mov eax, dword [esi + 0x90]
cmp eax, 0x191
je 0x48a06c
push 0x13
push dword [ebp - 4]
push 0x408f38
call fcn.00477637
add esp, 0xc
test eax, eax
je 0x48a086
mov eax, dword [esi + 0x90]
cmp eax, 0x197
jne 0x48a086
push dword [ebp - 4]
push eax
push edi
call fcn.0047c60b
add esp, 0xc
test eax, eax
jne 0x48a3df
jmp 0x48a154
push 0xf
push dword [ebp - 4]
push 0x408b88
call fcn.00477637
add esp, 0xc
test eax, eax
je 0x48a0ba
mov eax, dword [ebp - 4]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.004958a7
add esp, 0xc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edx
jmp 0x48a154
push 0x408e6c
push 0x408e9c
push dword [ebp - 4]
call fcn.0047c3b8
add esp, 0xc
test eax, eax
jne 0x48a121
push 0x408910
push 0x4088fc
push dword [ebp - 4]
call fcn.0047c3b8
add esp, 0xc
test eax, eax
je 0x48a108
push 0x40bc10
push esi
call fcn.00475d9f
xor eax, eax
inc eax
push edi
mov dword [ebp - 0x3c], eax
call fcn.0047a571
add esp, 0xc
jmp 0x48a154
push 0x408e6c
push 0x408ac8
push dword [ebp - 4]
call fcn.0047c3b8
add esp, 0xc
test eax, eax
je 0x48a129
xor eax, eax
inc eax
mov dword [ebp - 0x28], eax
jmp 0x48a154
lea ebx, [esi + 0x90]
push ebx
lea eax, [ebp - 0x40]
push eax
push 0x40bc2c
push dword [ebp - 4]
call fcn.00495197
add esp, 0x10
cmp eax, 2
jne 0x48a151
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 0x489fb5
mov ebx, dword [ebp - 8]
push edi
call fcn.0047dfac
pop ecx
test eax, eax
jne 0x48a337
cmp dword [ebp - 0x20], 0x4000
jb 0x489e41
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x48a3dc
cmp dword [esi + 0x8690], 0xc8
je 0x48a2ee
push edi
call fcn.0047c45b
pop ecx
test eax, eax
jne 0x48a3df
cmp dword [edi + 0x198], eax
mov ebx, dword [ebp - 0x28]
push 1
pop eax
cmovne ebx, eax
mov dword [ebp - 0x28], ebx
jmp 0x48a2f1
and dword [ebp - 0x20], 0
lea eax, [esi + 0x53c]
cmp dword [esi + 0x90], 0x197
mov dword [ebp - 0xc], eax
jne 0x489f5b
cmp dword [esi + 0x85ec], 0
jne 0x489f5b
mov ecx, dword [ebp - 0x10]
mov eax, ecx
mov edx, dword [ebp - 0x14]
or eax, edx
mov dword [ebp - 8], 2
je 0x48a260
push edx
push ecx
push 0x40bbd0
push esi
call fcn.00475d9f
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 0x48a182
jl 0x489f5b
test ecx, ecx
jne 0x48a182
jmp 0x489f5b
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x489f5b
xor eax, eax
inc eax
mov dword [esi + 0xc8], eax
mov eax, dword [ebp - 0x18]
sub eax, ebx
push eax
push 0x40bbf4
push esi
call fcn.00475d9f
mov eax, dword [ebp - 4]
add esp, 0xc
inc eax
cmp byte [eax], 0xa
jne 0x48a295
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.0047a588
add esp, 0x10
cmp eax, 0xffffffff
je 0x489f7d
push dword [ebp - 0x18]
push 0x40bbac
push esi
call fcn.00475d9f
add esp, 0xc
jmp 0x48a182
push 0x40bb50
jmp 0x489f00
push 0x40bb28
push esi
call fcn.00475d09
pop ecx
pop ecx
push 2
pop eax
mov dword [ebp - 0x24], eax
jmp 0x48a1a4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x48a2fe
cmp dword [esi + 0xd4], 0
jne 0x48a33e
cmp dword [esi + 0xd4], 0
je 0x48a35b
mov ebx, dword [ebp - 0x2c]
jmp 0x489bf4
push dword [ebp + 8]
call fcn.0048e028
push dword [ebp - 0x30]
call fcn.0048e028
pop ecx
pop ecx
push 0x1b
jmp 0x48a3de
mov eax, ebx
jmp 0x48a3df
push ebx
call fcn.0048e028
jmp 0x48a320
push 0x2a
jmp 0x48a3de
mov eax, dword [ebp + 0xc]
push dword [edi + eax*4 + 0x130]
push edi
call fcn.00476228
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 0x48a38f
push eax
push 0x40bc3c
push esi
call fcn.00475d09
add esp, 0xc
test ebx, ebx
je 0x48a3dc
cmp dword [esi + 0xd4], 0
je 0x48a3dc
xor eax, eax
inc eax
mov dword [edi + 0x1f4], eax
jmp 0x48a3dc
mov eax, dword [edi + 0x224]
test eax, eax
je 0x48a3a7
push eax
call fcn.0048e028
and dword [edi + 0x224], 0
pop ecx
and dword [edi + 0x224], 0
xor eax, eax
inc eax
push 0x40bc6c
push esi
mov dword [esi + 0x85e0], eax
call fcn.00475d9f
and dword [esi + 0xc8], 0
pop ecx
pop ecx
xor eax, eax
jmp 0x48a3df
push 0x40bb28
push esi
call fcn.00475d09
pop ecx
pop ecx
push 0x38
pop eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret