Function at 0x40af7d
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0xffffffffffffffff
push 0x13
push 0x16017503
push 0x52011eef
call fcn.0042bbf9
add esp, 0x10
push 0x80000301
push 0
push eax
push 0x1000e
push 0x16017503
push 0x52011eef
push 2
mov ebx, 0x42e5e0
call fcn.0042bbe7
add esp, 0x1c
mov dword [ebp - 0x14], eax
push getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x40aff0
mov eax, 0x4b9386
push eax
push 1
mov ebx, 0x42cbd0
call fcn.0042bbe7
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40b016
push ebx
call fcn.0042bbcf
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
push 0xffffffffffffffff
push 8
push 0x160174fa
push 0x52011eef
call fcn.0042bbf9
add esp, 0x10
mov dword [ebp - 0x10], eax
push getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x40b048
mov eax, 0x4b9386
push eax
push 1
mov ebx, 0x42cbd0
call fcn.0042bbe7
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40b06e
push ebx
call fcn.0042bbcf
add esp, 4
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 2
jne 0x40b0a9
cmp dword [ebp - 8], 0x14
jge 0x40b095
mov dword [ebp - 0xc], 0x14
cmp dword [ebp - 8], 0x12c
jle 0x40b0a9
mov dword [ebp - 0xc], 0x12c
cmp dword [ebp - 4], 3
jne 0x40b0d8
cmp dword [ebp - 8], 0x1e
jge 0x40b0c4
mov dword [ebp - 0xc], 0x1e
cmp dword [ebp - 8], 0x15e
jle 0x40b0d8
mov dword [ebp - 0xc], 0x15e
cmp dword [ebp - 4], 6
jne 0x40b107
cmp dword [ebp - 8], 0x3c
jge 0x40b0f3
mov dword [ebp - 0xc], 0x3c
cmp dword [ebp - 8], 0x2bc
jle 0x40b107
mov dword [ebp - 0xc], 0x2bc
cmp dword [ebp - 4], 0xa
jne 0x40b136
cmp dword [ebp - 8], 0x64
jge 0x40b122
mov dword [ebp - 0xc], 0x64
cmp dword [ebp - 8], 0x320
jle 0x40b136
mov dword [ebp - 0xc], 0x320
cmp dword [ebp - 4], 0xc
jne 0x40b165
cmp dword [ebp - 8], 0x64
jge 0x40b151
mov dword [ebp - 0xc], 0x64
cmp dword [ebp - 8], 0x384
jle 0x40b165
mov dword [ebp - 0xc], 0x384
cmp dword [ebp - 4], 0xf
jne 0x40b197
cmp dword [ebp - 8], 0xc8
jge 0x40b183
mov dword [ebp - 0xc], 0xc8
cmp dword [ebp - 8], 0x3e8
jle 0x40b197
mov dword [ebp - 0xc], 0x3e8
cmp dword [ebp - 4], 0x14
jne 0x40b1c9
cmp dword [ebp - 8], 0x190
jge 0x40b1b5
mov dword [ebp - 0xc], 0x190
cmp dword [ebp - 8], 0x5dc
jle 0x40b1c9
mov dword [ebp - 0xc], 0x5dc
cmp dword [ebp - 4], 0x19
jne 0x40b1fb
cmp dword [ebp - 8], 0x320
jge 0x40b1e7
mov dword [ebp - 0xc], 0x320
cmp dword [ebp - 8], 0x708
jle 0x40b1fb
mov dword [ebp - 0xc], 0x708
push 0x80000301
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x42d7f0
call fcn.0042bbe7
add esp, 0x10
mov dword [ebp - 0x10], eax
push 0
push dword [ebp - 0x10]
push 0xffffffffffffffff
push 8
push 0x160174fa
push 0x52011eef
call fcn.0042bbf3
add esp, 0x18
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40b245
push ebx
call fcn.0042bbcf
add esp, 4
push 0xffffffffffffffff
push 8
push 0x160174f3
push 0x52011eef
call fcn.0042bbf9
add esp, 0x10
mov dword [ebp - 0x10], eax
push getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x40b271
mov eax, 0x4b9386
push eax
push 1
mov ebx, 0x42cbd0
call fcn.0042bbe7
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40b297
push ebx
call fcn.0042bbcf
add esp, 4
cmp dword [ebp - 0x14], 0x63
jle 0x40b2ed
push 0x80000301
push 0
push 0x63
push 1
mov ebx, 0x42d7f0
call fcn.0042bbe7
add esp, 0x10
mov dword [ebp - 0x10], eax
push 0
push dword [ebp - 0x10]
push 0xffffffffffffffff
push 8
push 0x160174f3
push 0x52011eef
call fcn.0042bbf3
add esp, 0x18
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40b2ed
push ebx
call fcn.0042bbcf
add esp, 4
push 0xffffffffffffffff
push 8
push 0x160174f3
push 0x52011eef
call fcn.0042bbf9
add esp, 0x10
mov dword [ebp - 0x10], eax
push getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x40b319
mov eax, 0x4b9386
push eax
push 1
mov ebx, 0x42cbd0
call fcn.0042bbe7
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40b33f
push ebx
call fcn.0042bbcf
add esp, 4
cmp dword [ebp - 0x14], 0
jge 0x40b395
push 0x80000301
push 0
push 0
push 1
mov ebx, 0x42d7f0
call fcn.0042bbe7
add esp, 0x10
mov dword [ebp - 0x10], eax
push 0
push dword [ebp - 0x10]
push 0xffffffffffffffff
push 8
push 0x160174f3
push 0x52011eef
call fcn.0042bbf3
add esp, 0x18
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40b395
push ebx
call fcn.0042bbcf
add esp, 4
push 0xffffffffffffffff
push 8
push 0x160174f1
push 0x52011eef
call fcn.0042bbf9
add esp, 0x10
mov dword [ebp - 0x10], eax
push getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x40b3c1
mov eax, 0x4b9386
push eax
push 1
mov ebx, 0x42cbd0
call fcn.0042bbe7
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40b3e7
push ebx
call fcn.0042bbcf
add esp, 4
cmp dword [ebp - 0x14], 0x3e7
jle 0x40b440
push 0x80000301
push 0
push 0x3e7
push 1
mov ebx, 0x42d7f0
call fcn.0042bbe7
add esp, 0x10
mov dword [ebp - 0x10], eax
push 0
push dword [ebp - 0x10]
push 0xffffffffffffffff
push 8
push 0x160174f1
push 0x52011eef
call fcn.0042bbf3
add esp, 0x18
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40b440
push ebx
call fcn.0042bbcf
add esp, 4
push 0xffffffffffffffff
push 8
push 0x160174f1
push 0x52011eef
call fcn.0042bbf9
add esp, 0x10
mov dword [ebp - 0x10], eax
push getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x40b46c
mov eax, 0x4b9386
push eax
push 1
mov ebx, 0x42cbd0
call fcn.0042bbe7
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40b492
push ebx
call fcn.0042bbcf
add esp, 4
cmp dword [ebp - 0x14], 0
jge 0x40b4e8
push 0x80000301
push 0
push 0
push 1
mov ebx, 0x42d7f0
call fcn.0042bbe7
add esp, 0x10
mov dword [ebp - 0x10], eax
push 0
push dword [ebp - 0x10]
push 0xffffffffffffffff
push 8
push 0x160174f1
push 0x52011eef
call fcn.0042bbf3
add esp, 0x18
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40b4e8
push ebx
call fcn.0042bbcf
add esp, 4
mov esp, ebp
pop ebp
ret