Function at 0x1001c820
Capabilities:
Check http status code
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100a448b
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x100c60c8]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100c60c8]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov eax, dword [esp + 0xb4]
mov ebp, dword [esp + 0xb0]
lea edi, [esp + 0x80]
mov dword [esp + 0x24], eax
mov esi, ecx
call fcn.1001d5c0
xor ebx, ebx
mov dword [esp + 0xa8], ebx
push 0xffffffffffffffff
push ebx
mov eax, esi
lea ecx, [esp + 0x6c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x84], 7
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], bx
call fcn.100076e0
mov byte [esp + 0xa8], 1
push ebx
push 0x100aab60
lea esi, [esp + 0x30]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], bx
call fcn.10011cd0
mov byte [esp + 0xa8], 2
push ebx
mov esi, 0xf
push 0x100ab3ac
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.10008280
mov byte [esp + 0xa8], 3
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 4]
push 0x80400000
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0xc4]
lea ecx, [esp + 0x88]
push ecx
mov ecx, dword [esp + 0xc4]
push edx
push ecx
push eax
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x7c]
mov edi, ebp
call fcn.1007cb70
mov byte [esp + 0xa8], 2
cmp dword [esp + 0x5c], 0x10
jb 0x1001c95e
mov edx, dword [esp + 0x48]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
mov byte [esp + 0xa8], 1
cmp dword [esp + 0x40], 8
jb 0x1001c986
mov eax, dword [esp + 0x2c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, dword [ebp + 4]
cmp esi, ebx
mov edi, 7
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
mov dword [esp + 0x18], 4
je 0x1001c9d2
call fcn.10074b70
mov ecx, dword [eax + 0x20]
push str.HttpQueryInfoW
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x1001c9d2
push ebx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x28]
push ecx
push 0x20000013
push esi
call eax
mov eax, dword [esp + 0x20]
cmp eax, 0xc8
je 0x1001cb6c
cmp eax, 0xce
je 0x1001cb6c
cmp eax, 0x12e
jne 0x1001cac4
xor ecx, ecx
mov eax, 0x400
mov dword [esp + 0x18], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10090f1a
mov edi, eax
mov eax, dword [esp + 0x1c]
add esp, 4
lea ecx, [eax + eax]
push ecx
push ebx
push edi
call sub.MSVCR80.dll_memset
add esp, 0xc
mov dword [esp + 0x60], edi
mov byte [esp + 0xa8], 4
mov esi, dword [ebp + 4]
cmp esi, ebx
je 0x1001cb56
call fcn.10074b70
mov edx, dword [eax + 0x20]
push str.HttpQueryInfoW
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
jne 0x1001ca60
xor eax, eax
jmp 0x1001ca6c
push ebx
lea ecx, [esp + 0x1c]
push ecx
push edi
push 0x21
push esi
call eax
cmp eax, ebx
setne al
cmp al, bl
je 0x1001cb56
mov eax, edi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1001ca80
sub eax, edx
sar eax, 1
push eax
push edi
lea esi, [esp + 0x6c]
call fcn.10011cd0
mov esi, dword [esp + 0x1c]
add esi, 1
mov dword [esp + 0x1c], esi
mov byte [esp + 0xa8], 1
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp esi, 3
jb 0x1001c8b5
mov edi, 7
mov byte [esp + 0xa8], bl
mov esi, 8
cmp dword [esp + 0x7c], esi
jb 0x1001cae3
mov ecx, dword [esp + 0x68]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], bx
mov dword [esp + 0xa8], 0xffffffff
cmp dword [esp + 0x98], esi
jb 0x1001cb14
mov edx, dword [esp + 0x84]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
mov word [esp + 0x84], bx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], edi
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.1009176c
add esp, 0x98
ret 0x10
mov byte [esp + 0xa8], 1
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x1001cabf
mov byte [esp + 0xa8], bl
mov esi, 8
cmp dword [esp + 0x7c], esi
jb 0x1001cb8b
mov edx, dword [esp + 0x68]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], bx
mov dword [esp + 0xa8], 0xffffffff
cmp dword [esp + 0x98], esi
jb 0x1001cbbc
mov eax, dword [esp + 0x84]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, 1
jmp 0x1001cb16