Function at 0x462ab8
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 6
push 0
push 0
dec ecx
jne 0x462ac1
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x462dfe
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x28], 0x64
mov byte [ebp - 0x21], 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xc]
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.004625c8
mov eax, dword [ebp - 4]
cmp dword [eax + 0x50c], 0
jne 0x462b3c
push 0x4000000
push 0
push 0
push 1
push 0x462e10
mov eax, dword [0x651d5c]
mov eax, dword [eax]
call eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x50c], eax
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x50c]
test ebx, ebx
je 0x462d9a
mov eax, dword [ebp - 4]
cmp dword [eax + 0x510], 0
jne 0x462b9b
push 0
push 0
push 3
mov eax, dword [ebp - 0x10]
call fcn.0040581c
push eax
mov eax, dword [ebp - 0xc]
call fcn.0040581c
push eax
mov edx, 0x50
mov eax, dword [ebp - 0x18]
call fcn.004221c8
push eax
mov eax, dword [ebp - 0x14]
call fcn.0040581c
push eax
push ebx
mov eax, dword [0x651a70]
mov eax, dword [eax]
call eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x510], eax
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x510]
test ebx, ebx
je 0x462d9a
xor eax, eax
push ebp
push 0x462bf2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x80200000
push 0
push 0
push 0
push 0x462e74
mov eax, dword [ebp - 0x1c]
call fcn.0040581c
push eax
push 0
push ebx
mov eax, dword [0x651ed4]
mov eax, dword [eax]
call eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x514], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x462bfc
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x514]
test esi, esi
je 0x462d9a
mov eax, dword [0x6519d0]
cmp byte [eax], 0
jne 0x462d9a
cmp dword [ebp - 0x20], 0
jne 0x462c25
xor ebx, ebx
jmp 0x462c3e
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x20]
call fcn.00405584
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x462c3c
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
push 0
push 0
push ebx
mov eax, dword [ebp - 0x20]
push eax
push esi
mov eax, dword [0x651d64]
mov eax, dword [eax]
call eax
test eax, eax
je 0x462d64
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x514]
push eax
mov ecx, 0xa
mov edx, 0x13
mov eax, dword [ebp - 4]
call fcn.004623c0
test al, al
je 0x462d64
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 4]
add edx, 0xc
mov ecx, 0x400
call fcn.004055fc
mov eax, dword [ebp - 0x30]
xor edx, edx
call fcn.004221c8
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xc8
je 0x462cbc
cmp dword [ebp - 0x28], 0x12e
je 0x462cbc
cmp dword [ebp - 0x28], 0xce
jne 0x462d64
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x514]
push eax
mov ecx, 0xa
mov edx, 5
mov eax, dword [ebp - 4]
call fcn.004623c0
test al, al
je 0x462d64
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 4]
add edx, 0xc
mov ecx, 0x400
call fcn.004055fc
mov eax, dword [ebp - 0x34]
xor edx, edx
call fcn.004221c8
mov edx, dword [ebp - 4]
mov dword [edx + 0x518], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x514]
push eax
mov ecx, 0x400
mov edx, 0x35
mov eax, dword [ebp - 4]
call fcn.004623c0
test al, al
je 0x462d36
push ebp
call fcn.004629c0
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x51c], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0x542], 0
je 0x462d5e
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x518]
lea edx, [ebp - 4]
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x544]
call dword [ebx + 0x540]
mov byte [ebp - 0x21], 1
jmp 0x462dd6
cmp dword [ebp - 0x28], 0x64
je 0x462d9a
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x28]
mov dword [eax + 0x520], edx
mov eax, dword [ebp - 4]
cmp word [eax + 0x52a], 0
je 0x462dd6
lea edx, [ebp - 4]
mov ebx, dword [ebp - 4]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x52c]
call dword [ebx + 0x528]
jmp 0x462dd6
cmp dword [ebp - 0x28], 0x64
jne 0x462db4
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x28]
mov dword [eax + 0x520], edx
mov eax, dword [ebp - 4]
cmp word [eax + 0x52a], 0
je 0x462dd6
lea edx, [ebp - 4]
mov ebx, dword [ebp - 4]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x52c]
call dword [ebx + 0x528]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462e05
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.004053b0
lea eax, [ebp - 0x1c]
mov edx, 6
call fcn.004053b0
ret