Function at 0x406f81
Capabilities:
Check http status code

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
xor esi, esi
xor ebx, ebx
inc esi
cmp dword [ebp + 8], ebx
mov dword [ebp - 8], esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], 4
je 0x407249
cmp dword [ebp + 0xc], ebx
je 0x407249
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x407249
cmp dword [ebp + 0x18], ebx
jne 0x407249
push edi
push 0xf
pop ecx
mov dword [eax], ebx
xor eax, eax
lea edi, [ebp - 0x5c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x5c]
push eax
push ebx
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x5c], 0x3c
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x2c], esi
call 0x3be440
test eax, eax
jne 0x407006
call dword [0x771b140c]
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
jmp 0x40718f
call 0x3af025
push ebx
push ebx
push ebx
push ebx
push ebx
call 0x3bc92a
cmp eax, ebx
je 0x406ff5
push ebx
push ebx
push 3
push ebx
push 0x77239588
push 0x50
push dword [ebp - 0x4c]
push eax
call 0x3ba0db
cmp eax, ebx
mov dword [ebp - 0x1c], eax
jne 0x407046
call dword [0x771b140c]
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
jmp 0x407182
push ebx
push 0x100
push ebx
push ebx
push 0x771d046c
push dword [ebp - 0x30]
push 0x7721165c
push eax
call 0x3ba6c5
mov edi, eax
cmp edi, ebx
mov dword [ebp + 0x18], edi
jne 0x40707b
call dword [0x771b140c]
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
jmp 0x407175
push ebx
push ebx
push ebx
push ebx
push edi
call 0x3bd2b8
test eax, eax
je 0x40706a
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 8]
push eax
push 0x20000013
push edi
call 0x3be86a
test eax, eax
je 0x40706a
cmp dword [ebp + 0x14], ebx
mov edi, 0x191
je 0x407136
cmp dword [ebp + 8], edi
je 0x4070c0
cmp dword [ebp + 8], 0x197
jne 0x407136
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0xc], 3
jae 0x407136
push ebx
push ebx
push 0x2eee
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call 0x42185d
cmp eax, 0x2f00
jne 0x40712b
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 0x18]
call 0x3bd2b8
test eax, eax
je 0x40706a
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 8]
push eax
push 0x20000013
push dword [ebp + 0x18]
mov dword [ebp + 8], ebx
call 0x3be86a
test eax, eax
je 0x40706a
cmp dword [ebp + 8], edi
je 0x40712e
cmp dword [ebp + 8], 0x197
je 0x40712e
mov dword [ebp - 0x10], esi
inc dword [ebp - 0xc]
cmp dword [ebp - 0x10], ebx
je 0x4070c6
cmp dword [ebp + 8], edi
je 0x407175
cmp dword [ebp + 8], 0x197
je 0x407175
cmp dword [ebp + 8], 0xc8
jne 0x407175
mov eax, 0x824
push eax
push ebx
mov dword [ebp - 0x20], eax
call dword [0x771b1344]
mov edi, eax
cmp edi, ebx
jne 0x4071a2
mov dword [ebp - 4], 8
cmp edi, ebx
je 0x407175
push edi
call dword [0x771b1438]
cmp dword [ebp + 0x18], ebx
je 0x407182
push dword [ebp + 0x18]
call 0x3bbddc
cmp dword [ebp - 0x1c], ebx
je 0x40718f
push dword [ebp - 0x1c]
call 0x3bbddc
pop edi
push dword [ebp - 4]
call dword [0x771b1434]
mov eax, dword [ebp - 8]
pop esi
pop ebx
leave
ret 0x14
push 0x77211658
push edi
call dword [0x771b12e0]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
push edi
push 0xffff
push dword [ebp + 0x18]
call 0x3be86a
test eax, eax
jne 0x4071d6
call dword [0x771b140c]
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
jmp 0x40716a
cmp byte [edi], bl
mov esi, edi
mov eax, edi
je 0x40722c
mov ecx, dword [ebp + 0x10]
cmp dword [ecx], ebx
jne 0x40722c
cmp byte [esi], 0x20
ja 0x4071f6
inc esi
mov cl, byte [esi]
cmp cl, bl
je 0x4071f6
cmp cl, 0x20
jbe 0x4071ea
mov cl, byte [esi]
cmp cl, bl
je 0x407228
cmp cl, 0x2c
jne 0x407224
push dword [ebp + 0xc]
mov byte [esi], bl
push edi
inc esi
call dword [0x771b1468]
mov ecx, dword [ebp + 0x10]
neg eax
sbb eax, eax
inc eax
mov dword [ecx], eax
jne 0x40716a
mov eax, esi
mov edi, esi
jmp 0x407228
mov byte [eax], cl
inc eax
inc esi
cmp byte [esi], bl
jne 0x4071de
push dword [ebp + 0xc]
mov cl, byte [esi]
push edi
mov byte [eax], cl
call dword [0x771b1468]
mov ecx, dword [ebp + 0x10]
neg eax
sbb eax, eax
inc eax
mov dword [ecx], eax
jmp 0x40716a
mov dword [ebp - 4], 0x57
mov dword [ebp - 8], ebx
jmp 0x407190