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

Disassembly:
sub esp, 0x114
mov eax, dword [0x906980]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x11c], eax
mov eax, dword [esi + 0x114]
xor ebp, ebp
cmp eax, ebp
push edi
mov edi, 8
je 0x8632af
cmp eax, 7
je 0x8632af
cmp eax, edi
je 0x8632af
call fcn.0084bcb0
sub eax, dword [esi + 0x14c]
js 0x8632af
mov dword [esi + 0x114], edi
mov dword [esi + 0x150], 1
cmp dword [esi + 0x114], 1
jne 0x8632f9
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x8632f9
push eax
call dword [eax + 8]
add esp, 4
test eax, eax
mov eax, dword [esi + 4]
push eax
jge 0x8632d9
call dword [eax + 0xc]
mov dword [esi + 0x114], edi
jmp 0x8632f3
call dword [eax + 8]
add esp, 4
test eax, eax
jle 0x8632f9
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
push eax
mov dword [esi + 0x10c], ecx
call dword [eax + 0xc]
add esp, 4
mov dword [esi + 4], ebp
cmp dword [esi + 0x114], 1
mov ebx, 2
jne 0x8633ee
cmp dword [esi + 0x10c], ebp
je 0x8633ee
mov eax, dword [esi]
cmp eax, ebp
je 0x86332f
push ebx
push eax
call fcn.0084af90
mov edx, dword [esi]
push edx
call fcn.0084af40
add esp, 0xc
mov eax, dword [esi + 0x144]
cmp eax, ebp
lea ecx, [eax - 1]
mov dword [esi], ebp
mov dword [esi + 0x144], ecx
jge 0x863363
mov dword [esi + 0x114], edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x110]
call fcn.007d6cb0
add esp, 0x114
ret
push ebp
push 1
push ebx
call fcn.0084ae70
add esp, 0xc
cmp eax, ebp
mov dword [esi], eax
je 0x8633ee
mov ecx, dword [esi + 0x10c]
mov edx, dword [esi + 0x110]
mov dword [esp + 0x14], ebp
mov byte [esp + 0x17], cl
shr ecx, 8
mov byte [esp + 0x16], cl
shr ecx, 8
sar edx, 8
mov word [esp + 0x12], bp
mov byte [esp + 0x15], cl
shr ecx, 8
mov byte [esp + 0x12], dl
push 0x10
lea edx, [esp + 0x14]
mov byte [esp + 0x18], cl
mov cl, byte [esi + 0x110]
push edx
push eax
mov word [esp + 0x1c], bx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov byte [esp + 0x1f], cl
call fcn.0084b000
add esp, 0xc
mov dword [esi + 0x13c], ebp
mov dword [esi + 0x114], ebx
call fcn.0084bcb0
add eax, dword [esi + 0x148]
mov dword [esi + 0x14c], eax
cmp dword [esi + 0x114], ebx
mov edi, 3
jne 0x863417
mov eax, dword [esi]
push ebp
push ebp
push 0x73746174
push eax
call fcn.0084b350
add esp, 0x10
test eax, eax
jle 0x863417
mov dword [esi + 0x114], edi
cmp dword [esi + 0x114], edi
jne 0x863468
mov edx, dword [esi + 0x130]
mov eax, edx
lea edi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x863430
mov ecx, dword [esi]
push ebp
push ebp
push ebp
sub eax, edi
push eax
push edx
push ecx
call fcn.0084b110
add esp, 0x18
test eax, eax
jle 0x86345e
call fcn.0084bcb0
add eax, dword [esi + 0x148]
mov dword [esi + 0x14c], eax
mov dword [esi + 0x114], 4
cmp dword [esi + 0x114], 4
mov ebp, 5
jne 0x8634d6
mov eax, dword [esi]
push 0
push 0
push 0
push 1
lea edx, [esp + 0x30]
push edx
push eax
call fcn.0084b1e0
mov edi, eax
add esp, 0x18
test edi, edi
jle 0x8634c5
call fcn.0084bcb0
mov ecx, dword [esi + 0x148]
mov dl, byte [esp + 0x20]
add eax, ecx
mov ecx, dword [esi + 0x130]
mov dword [esi + 0x14c], eax
mov byte [ecx], dl
mov dword [esi + 0x13c], 1
mov dword [esi + 0x114], ebp
test edi, edi
jge 0x8634d6
mov dword [esi + 0x114], 1
jmp 0x86334a
cmp dword [esi + 0x114], ebp
jne 0x863786
mov edx, dword [esi + 0x13c]
mov eax, dword [esi + 0x134]
mov ecx, dword [esi + 0x130]
push 0
push 0
sub eax, edx
push 0
push eax
mov eax, dword [esi]
add ecx, edx
push ecx
push eax
call fcn.0084b1e0
mov edi, eax
add esp, 0x18
test edi, edi
jle 0x863524
call fcn.0084bcb0
add eax, dword [esi + 0x148]
mov dword [esi + 0x14c], eax
test edi, edi
jge 0x863553
mov eax, dword [esi]
test eax, eax
mov dword [esi + 0x114], 8
je 0x863548
push ebx
push eax
call fcn.0084af90
mov ecx, dword [esi]
push ecx
call fcn.0084af40
add esp, 0xc
mov dword [esi], 0
jmp 0x86334a
add dword [esi + 0x13c], edi
cmp dword [esi + 0x114], ebp
jne 0x863786
mov edx, dword [esi + 0x13c]
cmp edx, 4
jle 0x863786
mov ecx, dword [esi + 0x130]
mov eax, ecx
lea edx, [edx + ecx - 3]
cmp eax, edx
je 0x86334a
mov bl, 0xa
lea ebx, [ebx]
cmp byte [eax], 0xd
jne 0x8635a5
cmp byte [eax + 1], bl
jne 0x8635a5
cmp byte [eax + 2], 0xd
jne 0x8635a5
cmp byte [eax + 3], bl
je 0x8635af
inc eax
cmp eax, edx
jne 0x863590
jmp 0x86334a
cmp eax, edx
je 0x86334a
mov edx, eax
sub edx, ecx
add edx, 4
mov dword [esi + 0x128], edx
mov byte [eax + 3], 0
mov byte [eax + 2], 0
mov edi, dword [esi + 0x130]
mov eax, edi
mov cl, byte [eax]
cmp cl, 0x48
jne 0x8637f5
mov dl, 0x54
cmp byte [eax + 1], dl
jne 0x8637f5
cmp byte [eax + 2], dl
jne 0x8637f5
cmp byte [eax + 3], 0x50
jne 0x8637f5
lea ecx, [ecx]
cmp cl, 0x20
jle 0x86360f
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x863600
jmp 0x863622
mov cl, byte [eax]
test cl, cl
je 0x863622
cmp cl, 0x20
jg 0x863622
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x863615
xor ebp, ebp
mov dword [esi + 0x11c], ebp
mov cl, byte [eax]
cmp cl, 0x30
jl 0x863657
cmp cl, 0x39
jg 0x863657
xor edx, edx
mov dl, cl
mov ecx, dword [esi + 0x11c]
lea ecx, [ecx + ecx*4]
and edx, 0xf
lea edx, [edx + ecx*2]
inc eax
mov dword [esi + 0x11c], edx
mov cl, byte [eax]
cmp cl, 0x30
jge 0x863631
push str._nContent_Length:
push edi
mov dword [esi + 0x12c], 0xffffffff
call fcn.007c6610
add esp, 8
cmp eax, ebp
je 0x8636c6
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x20
jl 0x863693
lea esp, [esp]
cmp cl, 0x30
jl 0x86368a
cmp cl, 0x39
jle 0x863693
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x20
jge 0x863680
mov dword [esi + 0x12c], ebp
mov cl, byte [eax]
cmp cl, 0x30
jl 0x8636c6
cmp cl, 0x39
jg 0x8636c6
xor edx, edx
mov dl, cl
mov ecx, dword [esi + 0x12c]
lea ecx, [ecx + ecx*4]
and edx, 0xf
lea edx, [edx + ecx*2]
inc eax
mov dword [esi + 0x12c], edx
mov cl, byte [eax]
cmp cl, 0x30
jge 0x8636a0
mov eax, dword [esi + 0x130]
push str._nConnection:_close
push eax
mov dword [esi + 0x120], ebp
call fcn.007c6610
mov ecx, dword [esi + 0x128]
mov edx, dword [esi + 0x130]
add esp, 8
neg eax
sbb eax, eax
neg eax
mov dword [esi + 0x124], eax
mov byte [ecx + edx - 2], 0xd
mov eax, dword [esi + 0x128]
mov ecx, dword [esi + 0x130]
mov byte [eax + ecx - 1], bl
mov eax, dword [esi + 0x12c]
cmp eax, ebp
jl 0x86376a
mov ecx, dword [esi + 0x13c]
mov edx, dword [esi + 0x128]
mov edi, ecx
sub edi, edx
cmp eax, edi
jne 0x86376a
mov dword [esi + 0x138], edx
mov edx, dword [esi + 0x130]
mov dword [esi + 0x114], 7
pop edi
mov byte [ecx + edx], 0
mov eax, dword [esi + 0x138]
mov ecx, dword [esi + 0x130]
pop esi
pop ebp
add eax, ecx
pop ebx
mov ecx, dword [esp + 0x110]
call fcn.007d6cb0
add esp, 0x114
ret
mov eax, dword [esi + 0x13c]
sub eax, dword [esi + 0x128]
mov dword [esi + 0x114], 6
mov dword [esi + 0x140], eax
cmp dword [esi + 0x114], 6
jne 0x86334a
mov edx, dword [esi + 0x13c]
mov eax, dword [esi + 0x134]
sub eax, edx
test eax, eax
jle 0x86334a
mov ecx, dword [esi + 0x130]
add ecx, edx
mov edi, esi
call fcn.00863230
test eax, eax
je 0x86334a
cmp eax, 0xffffffff
jne 0x863809
mov eax, dword [esi + 0x12c]
cmp eax, 0xffffffff
je 0x8637d8
cmp eax, dword [esi + 0x140]
jne 0x86380d
mov ecx, dword [esi + 0x140]
mov dword [esi + 0x12c], ecx
call fcn.00863140
mov dword [esi + 0x114], 7
jmp 0x86383a
call fcn.00863140
mov dword [esi + 0x114], 8
jmp 0x86334a
test eax, eax
jge 0x86381e
mov dword [esi + 0x114], 8
call fcn.00863140
jmp 0x86383a
mov edx, dword [esi + 0x13c]
mov ecx, dword [esi + 0x140]
add edx, eax
add ecx, eax
mov dword [esi + 0x13c], edx
mov dword [esi + 0x140], ecx
mov eax, dword [esi + 0x12c]
test eax, eax
jl 0x86334a
cmp dword [esi + 0x140], eax
jl 0x86334a
mov eax, dword [esi + 0x13c]
mov edx, dword [esi + 0x130]
mov dword [esi + 0x114], 7
mov byte [edx + eax], 0
mov ecx, dword [esi + 0x130]
mov eax, dword [esi + 0x138]
pop edi
pop esi
add eax, ecx
mov ecx, dword [esp + 0x118]
pop ebp
pop ebx
call fcn.007d6cb0
add esp, 0x114
ret