Function at 0x4f5fc9
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x540
push esi
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebx + 0xd8], edi
mov dword [ebx + 0xdc], edi
cmp dword [0x48c480], edi
jne 0x4f5ffb
cmp byte [ebx + 0x19], 0
jne 0x4f5ffb
lea eax, [ebx + 0x68]
mov dword [ebp - 0x10], eax
jmp 0x4f6002
mov dword [ebp - 0x10], 0x48c430
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x50], edi
jne 0x4f601f
mov esi, eax
call fcn.004f6ec4
test al, al
jne 0x4f601f
mov dword [ebx + 0xd8], 0xffffff38
xor eax, eax
mov al, byte [ebx + 0x19]
push edi
push edi
mov dword [ebx + 0xd8], 0xffffff2b
push eax
call fcn.004f6a77
add esp, 0xc
cmp eax, edi
jge 0x4f6044
cmp eax, 0x8000f002
jne 0x4f604a
mov dword [ebx + 0xd8], edi
cmp dword [ebx + 0xd8], edi
jl 0x4f614b
lea eax, [ebx + 0x14]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], edi
jne 0x4f6070
push edi
lea esi, [ebp - 0x14]
mov dword [ebp - 4], 1
call fcn.004e4935
mov eax, dword [eax]
push edi
push edi
push edi
push edi
push eax
push dword [ebp - 0x10]
call fcn.004f7280
test byte [ebp - 4], 1
mov dword [ebp - 8], eax
je 0x4f6093
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004e6737
cmp dword [ebp - 8], edi
je 0x4f60b3
mov eax, ebx
lea esi, [ebp - 0x14]
call fcn.004f6a45
mov eax, dword [ebp - 8]
push dword [ebp - 0x14]
mov dword [ebx + 0x54], eax
call dword [fcn.004710e8]
jmp 0x4f60c9
mov dword [ebx + 0xd8], 0xffffff36
call dword [fcn.004710a8]
mov dword [ebx + 0xdc], eax
cmp dword [ebx + 0xd8], edi
jl 0x4f614b
push 0x413a33
push dword [ebx + 0x54]
push dword [ebp - 0x10]
call fcn.004f7373
cmp eax, 0xffffffff
jne 0x4f60f0
mov dword [ebx + 0xd8], 0xffffff2f
cmp dword [ebx + 0xd8], edi
jl 0x4f614b
mov eax, dword [ebx]
push ebx
push edi
push 3
xor ecx, ecx
mov cx, word [ebx + 8]
push edi
push edi
push ecx
push eax
push dword [ebx + 0x54]
push dword [ebp - 0x10]
call fcn.004f7224
cmp eax, edi
mov dword [ebp - 0x14], eax
je 0x4f6135
mov eax, ebx
lea esi, [ebp - 4]
call fcn.004f6a45
mov eax, dword [ebp - 0x14]
push dword [ebp - 4]
mov dword [ebx + 0x58], eax
call dword [fcn.004710e8]
jmp 0x4f614b
mov dword [ebx + 0xd8], 0xffffff35
call dword [fcn.004710a8]
mov dword [ebx + 0xdc], eax
mov eax, ebx
lea esi, [ebp - 0x14]
mov dword [ebp - 4], edi
call fcn.004f6a45
mov eax, dword [ebx + 0x30]
cmp eax, edi
mov dword [ebp - 8], eax
je 0x4f616a
cmp dword [ebx + 0x2c], edi
jne 0x4f616a
mov dword [ebp - 8], edi
cmp dword [ebp - 8], 0x3200000
jbe 0x4f6176
mov dword [ebp - 8], edi
cmp dword [ebp - 8], edi
je 0x4f61b2
push dword [ebp - 8]
call fcn.004e6aa3
cmp eax, edi
pop ecx
mov dword [ebp - 4], eax
je 0x4f61a5
mov ecx, dword [ebp - 8]
mov esi, dword [ebx + 0x2c]
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor edi, edi
jmp 0x4f61b2
mov dword [ebp - 8], edi
mov dword [ebx + 0xd8], 0xffffff2e
push dword [ebp - 0x14]
call dword [fcn.004710e8]
cmp dword [ebx + 0xd8], edi
jl 0x4f62f9
mov al, byte [ebx + 0x18]
neg al
sbb eax, eax
and eax, 0x7bffff00
add eax, 0x84000100
cmp byte [ebx + 0x1c], 0
mov esi, eax
jne 0x4f61e6
or esi, 0x200
cmp word [ebx + 8], 0x1bb
jne 0x4f6202
mov eax, dword [ebx + 4]
or esi, 0x800000
cmp dword [eax - 0xc], edi
je 0x4f6202
or esi, 0x1000
push 0x475bb8
push dword [ebx + 0x10]
call fcn.004f2ff0
test al, al
pop ecx
pop ecx
jne 0x4f623a
push 0x475ba0
push dword [ebx]
call fcn.004f2ff0
test al, al
pop ecx
pop ecx
je 0x4f6240
push 0x475b90
push dword [ebx + 0xc]
call fcn.004f2ff0
test al, al
pop ecx
pop ecx
je 0x4f6240
or esi, 0x80000
cmp dword [ebp - 4], edi
je 0x4f6251
cmp dword [ebp - 8], edi
je 0x4f6251
mov ecx, 0x4756b0
jmp 0x4f6261
cmp byte [ebx + 0x50], 0
mov ecx, 0x475b84
jne 0x4f6261
mov ecx, 0x4756a8
mov eax, dword [ebx + 0xc]
push ebx
push esi
push edi
push 0x4715ac
push 0x4756bc
push eax
push ecx
push dword [ebx + 0x58]
push dword [ebp - 0x10]
call fcn.004f70db
cmp eax, edi
mov dword [ebp - 0x14], eax
je 0x4f62a0
mov eax, ebx
lea esi, [ebp - 0x18]
call fcn.004f6a45
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x18]
mov dword [ebx + 0x5c], eax
call dword [fcn.004710e8]
jmp 0x4f62b6
mov dword [ebx + 0xd8], 0xffffff34
call dword [fcn.004710a8]
mov dword [ebx + 0xdc], eax
cmp dword [ebx + 0xd8], edi
jl 0x4f62f9
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax - 0xc]
neg edx
sbb edx, edx
and edx, dword [ebp - 8]
push edx
push dword [ebp - 4]
push ecx
push eax
push dword [ebx + 0x5c]
push dword [ebp - 0x10]
call fcn.004f718a
test eax, eax
jne 0x4f62f9
mov dword [ebx + 0xd8], 0xffffff33
call dword [fcn.004710a8]
mov dword [ebx + 0xdc], eax
cmp dword [ebp - 4], edi
je 0x4f6307
push dword [ebp - 4]
call fcn.004e6ab7
pop ecx
cmp dword [ebx + 0xd8], edi
jl 0x4f6506
mov eax, dword [ebx + 4]
cmp dword [eax - 0xc], edi
je 0x4f63e2
cmp word [ebx + 8], 0x1bb
jne 0x4f63e2
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0x40]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x40]
push eax
push 0x20
push dword [ebx + 0x5c]
mov dword [ebp - 0x18], 0x28
push dword [ebp - 0x10]
call fcn.004f7458
test eax, eax
jne 0x4f636d
mov dword [ebx + 0xd8], 0xffffff32
call dword [fcn.004710a8]
mov dword [ebx + 0xdc], eax
jmp 0x4f63d8
push dword [ebp - 0x30]
lea esi, [ebp - 4]
call fcn.004ea295
mov esi, dword [ebp - 4]
push 0xa
mov eax, esi
call fcn.004f74f3
test eax, eax
pop ecx
je 0x4f63c6
sub eax, esi
cmp eax, 0xffffffff
je 0x4f63c6
mov ecx, dword [esi - 0xc]
lea edx, [eax + 1]
lea eax, [ebp - 0x14]
push eax
sub ecx, edx
lea eax, [ebp - 4]
call fcn.004ea3a3
mov edi, dword [ebp - 0x14]
mov eax, dword [ebx + 4]
push edi
push eax
call dword [0x4711e4]
test eax, eax
lea eax, [edi - 0x10]
setne byte [ebp - 9]
call fcn.004e6737
cmp byte [ebp - 9], 0
je 0x4f63d0
mov dword [ebx + 0xd8], 0xffffff29
lea eax, [esi - 0x10]
call fcn.004e6737
lea eax, [ebp - 0x40]
call fcn.004f74a8
xor edi, edi
cmp dword [ebx + 0xd8], edi
jl 0x4f6506
or dword [ebp - 4], 0xffffffff
push edi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
push 0x20000013
push dword [ebx + 0x5c]
mov dword [ebp - 0x18], 4
push dword [ebp - 0x10]
call fcn.004f7137
test eax, eax
je 0x4f6421
mov eax, dword [ebp - 4]
mov dword [ebx + 0xd8], eax
jmp 0x4f6437
mov dword [ebx + 0xd8], 0xffffff32
call dword [fcn.004710a8]
mov dword [ebx + 0xdc], eax
cmp dword [ebx + 0xd8], edi
jl 0x4f6506
push edi
lea eax, [ebp - 0x140]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x140]
push eax
push 0x16
push dword [ebx + 0x5c]
mov byte [ebp - 9], 0
push dword [ebp - 0x10]
mov dword [ebp - 8], 0x7f
call fcn.004f7137
cmp eax, edi
jne 0x4f64a0
mov eax, dword [ebp - 8]
lea eax, [eax + eax + 2]
push eax
mov byte [ebp - 9], 1
call fcn.004e6aa3
pop ecx
push edi
lea ecx, [ebp - 8]
push ecx
push eax
push 0x16
push dword [ebx + 0x5c]
mov dword [ebp - 4], eax
push dword [ebp - 0x10]
call fcn.004f7137
cmp eax, edi
je 0x4f64fd
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov word [ecx + eax*2], di
mov eax, ebx
lea esi, [ebp - 0x14]
call fcn.004f6a45
cmp dword [ebx + 0x4c], edi
je 0x4f64de
push dword [ebp - 4]
lea esi, [ebp - 0x18]
call fcn.004ed566
mov esi, dword [ebp - 0x18]
push 0xffffffffffffffff
push esi
call fcn.004fd8f4
pop ecx
pop ecx
mov ecx, dword [ebx + 0x4c]
mov dword [ecx], eax
lea eax, [esi - 0x10]
call fcn.004e6737
mov eax, dword [ebx + 0x48]
cmp eax, edi
je 0x4f64ee
push dword [ebp - 4]
push eax
call fcn.004e4a6a
push dword [ebp - 0x14]
call dword [fcn.004710e8]
cmp byte [ebp - 9], 0
je 0x4f6506
push dword [ebp - 4]
call fcn.004e6ab7
pop ecx
mov eax, dword [ebx + 0xd8]
cmp eax, 0xc8
mov esi, dword [fcn.004710e0]
jl 0x4f65e6
cmp eax, 0x12c
jge 0x4f65e6
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
push edi
push edi
lea eax, [ebp - 8]
push eax
push dword [ebx + 0x5c]
push dword [ebp - 0x10]
call fcn.004f72d3
test eax, eax
je 0x4f65b8
mov eax, dword [ebp - 8]
cmp eax, edi
mov dword [ebp - 4], eax
jbe 0x4f65e6
mov ecx, 0x400
cmp eax, ecx
jbe 0x4f655f
mov eax, ecx
mov dword [ebp - 8], eax
lea ecx, [ebp - 4]
push ecx
push eax
lea eax, [ebp - 0x540]
push eax
push dword [ebx + 0x5c]
push dword [ebp - 0x10]
call fcn.004f7323
test eax, eax
je 0x4f65d0
cmp dword [ebp - 4], edi
je 0x4f65ab
push dword [ebx + 0xc0]
call esi
cmp byte [ebx + 0x34], 0
push dword [ebp - 4]
lea eax, [ebp - 0x540]
push eax
je 0x4f65a0
mov edi, ebx
call fcn.004f66a8
jmp 0x4f65a7
mov eax, ebx
call fcn.004f66da
test eax, eax
jl 0x4f65c4
cmp dword [ebp - 4], 0
jbe 0x4f65e6
xor edi, edi
jmp 0x4f652e
mov dword [ebx + 0xd8], 0xffffff31
jmp 0x4f65da
mov dword [ebx + 0xd8], 0xffffff2c
jmp 0x4f65e6
mov dword [ebx + 0xd8], 0xffffff30
call dword [fcn.004710a8]
mov dword [ebx + 0xdc], eax
cmp byte [ebx + 0x1b], 0
je 0x4f65f6
push 0
push dword [ebp - 0x10]
call fcn.004f7411
push dword [ebx + 0xc4]
call esi
mov eax, dword [ebx + 0x28]
add eax, 0x3e8
push eax
push 0
lea eax, [ebx + 0xc8]
push eax
push 1
call dword [fcn.00471180]
cmp eax, 0x102
pop edi
pop esi
je 0x4f6625
test eax, eax
je 0x4f662f
mov dword [ebx + 0xd8], 0xffffff37
xor eax, eax
leave
ret