Function at 0x1001ce50
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a4427
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x40ec
call fcn.10092990
mov eax, dword [0x100c60c8]
xor eax, esp
mov dword [esp + 0x40e8], eax
push ebx
push esi
push edi
mov eax, dword [0x100c60c8]
xor eax, esp
push eax
lea eax, [esp + 0x4100]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
mov ecx, dword [ebp + 0xc]
xor esi, esi
mov dword [esp + 0x50], edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov ebx, 1
mov dword [esp + 0x4108], ebx
push 8
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x38], eax
mov byte [esp + 0x4108], 2
cmp eax, esi
je 0x1001cee2
push esi
push eax
call fcn.1007c790
jmp 0x1001cee4
xor eax, eax
mov byte [esp + 0x4108], bl
mov ecx, eax
lea esi, [esp + 0x24]
call fcn.1001e130
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x34], edx
call fcn.1001b480
mov byte [esp + 0x4108], 3
lea eax, [edi + 0x14]
mov ecx, esi
lea ebx, [edi + 0x24]
lea esi, [esp + 0x44]
mov dword [esp + 0x20], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x4c], ebx
call fcn.1001d820
mov edi, ebx
test edi, edi
mov dword [esp + 0x18], edi
je 0x1001cf44
mov eax, dword [edi]
test eax, eax
je 0x1001cf44
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x4108], 4
mov esi, dword [esp + 0x20]
lea ebx, [esp + 0x24]
call fcn.1001d750
xor ebx, ebx
cmp edi, ebx
je 0x1001cf70
mov edi, dword [edi]
cmp edi, ebx
je 0x1001cf6c
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0x54]
push ecx
call fcn.1007c8a0
mov byte [esp + 0x4108], 5
push ebx
mov edi, 7
push 0x100aab60
lea esi, [esp + 0x80]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], bx
call fcn.10011cd0
mov byte [esp + 0x4108], 6
push ebx
push 0x100aab60
lea esi, [esp + 0x9c]
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb0], ebx
mov word [esp + 0xa0], bx
call fcn.10011cd0
mov byte [esp + 0x4108], 7
push ebx
mov esi, 0xf
push 0x100ab3ac
lea ecx, [esp + 0xb8]
mov dword [esp + 0xd0], esi
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
call fcn.10008280
mov byte [esp + 0x4108], 8
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 4]
push 0x80400000
lea ecx, [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x9c]
push edx
push ebx
push ebx
push eax
lea edx, [esp + 0xc8]
lea edi, [esp + 0x6c]
call fcn.1007cb70
mov byte [esp + 0x4108], 7
cmp dword [esp + 0xc8], 0x10
jb 0x1001d071
mov eax, dword [esp + 0xb4]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0xc8], esi
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
mov byte [esp + 0x4108], 6
mov edi, 8
cmp dword [esp + 0xac], edi
jb 0x1001d0ac
mov ecx, dword [esp + 0x98]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, 7
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], ebx
mov word [esp + 0x98], bx
mov byte [esp + 0x4108], 5
cmp dword [esp + 0x90], edi
jb 0x1001d0e5
mov edx, dword [esp + 0x7c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x58]
cmp eax, ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], bx
mov dword [esp + 0x2c], 4
je 0x1001d13b
mov esi, eax
call fcn.10074b70
mov eax, dword [eax + 0x20]
push str.HttpQueryInfoW
push eax
call edi
cmp eax, ebx
je 0x1001d137
push ebx
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x44]
push edx
push 0x20000013
push esi
call eax
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x3c], 0xc8
je 0x1001d1a5
mov byte [esp + 0x4108], 4
lea ecx, [esp + 0x54]
call fcn.1007c930
mov byte [esp + 0x4108], 3
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x1001d177
mov eax, dword [eax]
cmp eax, ebx
je 0x1001d173
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x4108], 1
lea eax, [esp + 0x40]
push eax
call fcn.1001b4e0
mov dword [esp + 0x4108], 0xffffffff
lea ecx, [esp + 0x24]
push ecx
call fcn.1001b690
xor al, al
jmp 0x1001d3f7
xor ecx, ecx
cmp eax, ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x30], 4
je 0x1001d1f0
mov esi, eax
call fcn.10074b70
mov edx, dword [eax + 0x20]
push str.HttpQueryInfoW
push edx
call edi
cmp eax, ebx
je 0x1001d1e0
push ebx
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x24]
push edx
push 0x20000005
push esi
call eax
mov ecx, dword [esp + 0x1c]
cmp ecx, 0xa00000
ja 0x1001d145
cmp ecx, ebx
mov byte [esp + 0x17], bl
jne 0x1001d218
lea edx, [esp + 0x54]
push edx
call fcn.1007e550
test al, al
je 0x1001d145
mov ecx, 0xa00000
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x17], 1
mov dword [esp + 0x20], ebx
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
fldz
push 0x3fff
fst qword [esp + 0xe8]
lea edx, [esp + 0xf9]
fstp qword [esp + 0xf0]
push ebx
push edx
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov byte [esp + 0x100], bl
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp dword [esp + 0x1c], ebx
jbe 0x1001d369
mov edi, dword [esp + 0x50]
mov al, byte [edi + 0x11]
test al, al
jne 0x1001d369
push 0x4000
lea esi, [esp + 0xd0]
lea edx, [esp + 0xf8]
lea eax, [esp + 0x58]
call fcn.1007dbb0
mov cl, byte [edi + 0x11]
test cl, cl
mov esi, eax
mov dword [esp + 0x38], esi
jne 0x1001d369
cmp esi, 0xffffffff
je 0x1001d369
cmp esi, ebx
jbe 0x1001d30d
mov edi, dword [esp + 0x34]
mov eax, edi
call fcn.100678f0
add eax, esi
push eax
mov ecx, edi
call fcn.1001d890
xor edi, edi
cmp esi, ebx
jbe 0x1001d342
jmp 0x1001d2f0
mov esi, dword [esp + 0x34]
lea ebx, [esp + edi + 0xf4]
call fcn.1001d9a0
add edi, 1
cmp edi, dword [esp + 0x38]
jb 0x1001d2f0
xor ebx, ebx
jmp 0x1001d342
jne 0x1001d369
cmp byte [esp + 0x17], bl
je 0x1001d333
lea edx, [esp + 0xf4]
push str.0_r_n_r_n
push edx
call dword [sym.imp.MSVCR80.dll_strstr]
add esp, 8
cmp eax, ebx
jne 0x1001d41d
push 0x4b0
call sub.KERNEL32.dll_Sleep
add dword [esp + 0x20], 1
cmp dword [esp + 0x20], 5
ja 0x1001d369
cmp dword [esp + 0xe0], ebx
jb 0x1001d283
ja 0x1001d369
mov eax, dword [esp + 0xdc]
cmp eax, dword [esp + 0x1c]
jb 0x1001d283
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0xdc], eax
jne 0x1001d384
cmp dword [esp + 0xe0], ebx
mov byte [esp + 0x17], 1
je 0x1001d388
mov byte [esp + 0x17], bl
mov byte [esp + 0x4108], 4
lea ecx, [esp + 0x54]
call fcn.1007c930
mov byte [esp + 0x4108], 3
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x1001d3ba
mov eax, dword [eax]
cmp eax, ebx
je 0x1001d3b6
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x4108], 9
lea ecx, [esp + 0x40]
push ecx
call fcn.1001b540
mov byte [esp + 0x4108], 1
lea edx, [esp + 0x44]
push edx
call fcn.1001b690
mov dword [esp + 0x4108], 0xffffffff
lea eax, [esp + 0x24]
push eax
call fcn.1001b690
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x4100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40e8]
xor ecx, esp
call fcn.1009176c
mov esp, ebp
pop ebp
ret 8
mov byte [esp + 0x4108], 4
lea ecx, [esp + 0x54]
call fcn.1007c930
mov byte [esp + 0x4108], 3
lea esi, [esp + 0x18]
call fcn.10001110
mov byte [esp + 0x4108], 1
lea ecx, [esp + 0x40]
push ecx
call fcn.1001b4e0
mov dword [esp + 0x4108], 0xffffffff
lea edx, [esp + 0x24]
push edx
call fcn.1001b690
mov al, 1
jmp 0x1001d3f7