Function at 0x58b973
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3690
call fcn.00595440
mov eax, dword [0x30020490]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
or dword [ebp - 0x3668], 0xffffffff
push ebx
mov dword [ebp - 0x365c], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x3658], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x3654], eax
mov ebx, ecx
mov dword [ebp - 0x3650], edi
mov dword [ebp - 0x368c], edi
mov dword [ebp - 0x366c], edi
mov dword [ebp - 0x364c], edi
mov dword [ebp - 0x3660], edi
mov dword [ebp - 0x3674], edi
call fcn.00589101
mov eax, dword [0x30021388]
mov ecx, dword [eax]
lea edx, [ebp - 0x3650]
push edx
push 0x30001d4c
push eax
call dword [ecx + 0x20]
mov esi, eax
cmp esi, edi
jl 0x58c20c
mov esi, 0x25f8
push esi
lea eax, [ebp - 0x3644]
push edi
push eax
call fcn.005952fe
mov eax, dword [ebp - 0x3658]
mov ecx, dword [eax]
add esp, 0xc
lea edx, [ebp - 0x3644]
push edx
push ebx
push edi
push eax
mov dword [ebp - 0x3644], esi
mov dword [ebp - 0x3640], 0x4000000
call dword [ecx + 0x1c]
mov esi, eax
cmp esi, edi
jl 0x58c20c
mov eax, dword [ebp - 0x3658]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
je 0x58ba5c
mov esi, 0x80004004
jmp 0x58c20c
push dword [ebp - 0x365c]
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
push dword [ebp - 0x365c]
mov dword [ebp - 0x3664], eax
push edi
call dword [0x30001014]
test eax, eax
jne 0x58ba9f
call dword [0x30001074]
mov esi, eax
cmp esi, edi
jle 0x58ba99
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x58c20c
mov eax, dword [ebp - 0x3664]
cmp eax, 2
mov dword [ebp - 0x368c], 1
je 0x58be1a
cmp eax, 3
je 0x58be1a
cmp eax, 4
jne 0x58be10
push edi
lea eax, [ebp - 0x365c]
push eax
lea eax, [ebp - 0x104c]
push eax
lea eax, [ebp - 0x2094]
push eax
mov dword [ebp - 0x365c], 0x824
call dword [0x300012b8]
test eax, eax
jne 0x58bb14
call dword [0x30001074]
mov esi, eax
cmp esi, edi
jle 0x58bb0e
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x58c20c
test word [ebp + 0x1c], 0x200
je 0x58bb3e
push edi
lea eax, [ebp - 0x3670]
push eax
mov dword [ebp - 0x3670], edi
call dword [0x300012b4]
test eax, eax
jne 0x58bb3e
mov esi, 0x800708ca
jmp 0x58c20c
push edi
push edi
push edi
push edi
push 0x30001b9c
call dword [0x300012b0]
cmp eax, edi
mov dword [ebp - 0x366c], eax
jne 0x58bb77
call dword [0x30001074]
mov esi, eax
cmp esi, edi
jle 0x58bb71
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x58c20c
mov ebx, dword [0x300012bc]
mov dword [ebp - 0x3648], edi
cmp dword [ebp - 0x364c], edi
mov dword [ebp - 0x3670], edi
mov dword [ebp - 0x3690], 4
mov dword [ebp - 0x3680], edi
je 0x58bbad
push dword [ebp - 0x364c]
call dword [0x300012a8]
push edi
push 0x80480200
push edi
push edi
lea eax, [ebp - 0x104c]
push eax
push dword [ebp - 0x366c]
call dword [0x300012a4]
cmp eax, edi
mov dword [ebp - 0x364c], eax
jne 0x58bbf2
call dword [0x30001074]
mov esi, eax
cmp esi, edi
jle 0x58bbec
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x58c20c
lea eax, [ebp - 0x3680]
push eax
lea eax, [ebp - 0x3690]
push eax
lea eax, [ebp - 0x3670]
push eax
push 0x20000013
push dword [ebp - 0x364c]
call ebx
test eax, eax
jne 0x58bc38
call dword [0x30001074]
mov esi, eax
cmp esi, edi
jle 0x58bc32
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x58c20c
mov eax, dword [ebp - 0x3670]
mov ecx, 0x194
cmp eax, ecx
ja 0x58bcd5
je 0x58bd20
cmp eax, 0xc8
je 0x58bccd
cmp eax, 0x12c
jbe 0x58bd2a
cmp eax, 0x12f
ja 0x58bd08
lea eax, [ebp - 0x3680]
push eax
lea eax, [ebp - 0x365c]
push eax
lea eax, [ebp - 0x104c]
push eax
push 0x33
push dword [ebp - 0x364c]
mov dword [ebp - 0x365c], 0x824
mov dword [ebp - 0x3680], edi
call ebx
test eax, eax
jne 0x58bcc1
call dword [0x30001074]
mov esi, eax
cmp esi, edi
jle 0x58bcbb
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x58c20c
mov dword [ebp - 0x3648], 1
jmp 0x58bcf6
mov dword [ebp - 0x3648], edi
jmp 0x58bcf6
cmp eax, 0x198
je 0x58bcf1
cmp eax, 0x1f5
jbe 0x58bd2a
cmp eax, 0x1f7
jbe 0x58bd20
cmp eax, 0x1f8
jne 0x58bd2a
mov esi, 0x80070102
cmp esi, edi
jne 0x58bd34
cmp dword [ebp - 0x3648], edi
jne 0x58bb83
jmp 0x58bd3a
cmp eax, 0x191
je 0x58bd16
cmp eax, 0x193
jne 0x58bd2a
mov esi, 0x80070005
jmp 0x58c20c
mov esi, 0x80070002
jmp 0x58c20c
mov esi, 0x8000ffff
jmp 0x58c20c
jl 0x58c20c
lea eax, [ebp - 0x367c]
push eax
push dword [ebp - 0x364c]
call fcn.00594f18
mov esi, eax
cmp esi, edi
jl 0x58c20c
mov ecx, dword [ebp + 0x18]
cmp ecx, edi
je 0x58bd8a
mov eax, dword [ecx + 4]
cmp dword [ebp - 0x3678], eax
jb 0x58bdd4
jne 0x58bd74
mov eax, dword [ebp - 0x367c]
cmp eax, dword [ecx]
jbe 0x58bdd4
mov eax, dword [ebp - 0x3658]
mov ecx, dword [eax]
push edi
push edi
push edi
push edi
push eax
call dword [ecx + 0x50]
mov dword [ebp + 0x10], edi
mov dword [ebp + 0x14], edi
lea eax, [ebp - 0x3688]
push eax
push dword [ebp - 0x364c]
call fcn.00594ec0
mov esi, eax
cmp esi, edi
jl 0x58c20c
cmp dword [ebp + 0x14], edi
jl 0x58bf2d
jg 0x58bdba
cmp dword [ebp + 0x10], edi
jbe 0x58bf2d
push edi
push edi
push edi
push dword [ebp + 0x10]
push dword [ebp - 0x364c]
call dword [0x300012a0]
cmp eax, 0xffffffff
jmp 0x58bf0b
xor ebx, ebx
cmp dword [ebp + 0x24], edi
jbe 0x58c20a
mov eax, dword [ebp - 0x3654]
push edi
push edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push 3
push dword [eax + ebx*4]
push dword [ebp - 0x3650]
call fcn.00590e75
mov esi, eax
cmp esi, edi
jl 0x58c20c
inc ebx
cmp ebx, dword [ebp + 0x24]
jb 0x58bddf
jmp 0x58c20a
mov esi, 0x8007000f
jmp 0x58c20c
cmp eax, 2
mov ecx, 0x8000080
jne 0x58be2c
cmp dword [0x3002136c], edi
je 0x58be39
cmp eax, 3
jne 0x58be3e
cmp dword [0x30021374], edi
jne 0x58be3e
mov ecx, 0x28000080
push edi
push ecx
push 3
push edi
push 1
push 0x80000000
lea eax, [ebp - 0x2094]
push eax
call dword [0x300010fc]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [ebp - 0x3668], ebx
jne 0x58be84
call dword [0x30001074]
mov esi, eax
cmp esi, edi
jle 0x58be7e
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x58c20c
lea eax, [ebp - 0x367c]
push eax
push ebx
call fcn.00592887
mov esi, eax
cmp esi, edi
jl 0x58c20c
mov ecx, dword [ebp + 0x18]
cmp ecx, edi
je 0x58bed7
mov eax, dword [ecx + 4]
cmp dword [ebp - 0x3678], eax
jb 0x58bfed
jne 0x58bec1
mov eax, dword [ebp - 0x367c]
cmp eax, dword [ecx]
jbe 0x58bfed
mov eax, dword [ebp - 0x3658]
mov ecx, dword [eax]
push edi
push edi
push edi
push edi
push eax
call dword [ecx + 0x50]
mov dword [ebp + 0x10], edi
mov dword [ebp + 0x14], edi
lea eax, [ebp - 0x3688]
push eax
push ebx
call fcn.005921dc
mov esi, eax
cmp esi, edi
jl 0x58c20c
cmp dword [ebp + 0x14], edi
jl 0x58bf2d
jg 0x58befa
cmp dword [ebp + 0x10], edi
jbe 0x58bf2d
push edi
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call dword [0x3000111c]
test eax, eax
jne 0x58bf2d
call dword [0x30001074]
mov esi, eax
cmp esi, edi
jle 0x58bf27
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x58c20c
xor ebx, ebx
cmp dword [ebp + 0x24], edi
jbe 0x58bf6c
mov eax, dword [ebp - 0x3654]
mov eax, dword [eax + ebx*4]
mov ecx, dword [eax]
lea edx, [ebp - 0x367c]
push edx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x3684]
push dword [ebp - 0x3688]
push eax
call dword [ecx + 0x24]
mov esi, eax
cmp esi, edi
jl 0x58c20c
inc ebx
cmp ebx, dword [ebp + 0x24]
jb 0x58bf34
cmp dword [ebp - 0x3688], edi
jne 0x58c029
cmp dword [ebp - 0x3684], edi
jne 0x58c029
xor ebx, ebx
cmp dword [ebp + 0x24], edi
jbe 0x58c20a
mov eax, dword [ebp - 0x3654]
push edi
push edi
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [eax + ebx*4]
push 1
push dword [eax]
mov dword [ebp - 0x3664], eax
push dword [ebp - 0x3650]
call fcn.00590e75
mov esi, eax
cmp esi, edi
jl 0x58c20c
mov eax, dword [ebp - 0x3664]
push edi
push edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push 2
push dword [eax]
push dword [ebp - 0x3650]
call fcn.00590e75
mov esi, eax
cmp esi, edi
jl 0x58c20c
inc ebx
cmp ebx, dword [ebp + 0x24]
jb 0x58bf8f
jmp 0x58c20a
xor ebx, ebx
cmp dword [ebp + 0x24], edi
jbe 0x58c20a
mov eax, dword [ebp - 0x3654]
push edi
push edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push 3
push dword [eax + ebx*4]
push dword [ebp - 0x3650]
call fcn.00590e75
mov esi, eax
cmp esi, edi
jl 0x58c20c
inc ebx
cmp ebx, dword [ebp + 0x24]
jb 0x58bff8
jmp 0x58c20a
mov eax, dword [ebp - 0x3664]
dec eax
dec eax
je 0x58c059
dec eax
je 0x58c051
dec eax
je 0x58c040
mov ebx, 0x10000
jmp 0x58c06d
mov ecx, dword [0x30021380]
mov eax, dword [0x30021364]
lea ebx, [ecx + eax - 1]
jmp 0x58c068
mov ecx, dword [0x30021378]
jmp 0x58c046
mov eax, dword [0x30021364]
mov ecx, dword [0x30021370]
lea ebx, [ecx + eax - 1]
dec eax
not eax
and ebx, eax
push 4
push 0x3000
push ebx
push edi
call dword [0x30001118]
cmp eax, edi
mov dword [ebp - 0x3660], eax
jne 0x58c1d1
call dword [0x30001074]
mov esi, eax
cmp esi, edi
jle 0x58c0a4
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x58c20c
jmp 0x58c1d1
mov eax, dword [ebp - 0x3658]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
jne 0x58c1db
cmp dword [ebp - 0x3664], 2
je 0x58c0f1
cmp dword [ebp - 0x3664], 3
je 0x58c0f1
lea eax, [ebp - 0x3674]
push eax
push ebx
push dword [ebp - 0x3660]
push dword [ebp - 0x364c]
call dword [0x300012ac]
jmp 0x58c10c
push edi
lea eax, [ebp - 0x3674]
push eax
push ebx
push dword [ebp - 0x3660]
push dword [ebp - 0x3668]
call dword [0x300010dc]
test eax, eax
jne 0x58c130
call dword [0x30001074]
mov esi, eax
cmp esi, edi
jle 0x58c12a
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x58c20c
cmp dword [ebp - 0x3674], edi
mov dword [ebp - 0x3648], edi
je 0x58c190
cmp dword [ebp + 0x24], edi
jbe 0x58c1d1
push dword [ebp - 0x3674]
mov eax, dword [ebp - 0x3654]
push dword [ebp - 0x3660]
mov ecx, dword [ebp - 0x3648]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push dword [eax + ecx*4]
push dword [ebp - 0x3650]
call fcn.00590e75
mov esi, eax
cmp esi, edi
jl 0x58c20c
inc dword [ebp - 0x3648]
mov eax, dword [ebp - 0x3648]
cmp eax, dword [ebp + 0x24]
jb 0x58c147
jmp 0x58c1d1
cmp dword [ebp + 0x24], edi
jbe 0x58c1ce
mov eax, dword [ebp - 0x3654]
mov ecx, dword [ebp - 0x3648]
push edi
push edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push 2
push dword [eax + ecx*4]
push dword [ebp - 0x3650]
call fcn.00590e75
mov esi, eax
cmp esi, edi
jl 0x58c20c
inc dword [ebp - 0x3648]
mov eax, dword [ebp - 0x3648]
cmp eax, dword [ebp + 0x24]
jb 0x58c195
xor esi, esi
inc esi
cmp esi, edi
je 0x58c0af
jmp 0x58c20a
xor ebx, ebx
cmp dword [ebp + 0x24], edi
jbe 0x58c20a
mov eax, dword [ebp - 0x3654]
push edi
push edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push 4
push dword [eax + ebx*4]
push dword [ebp - 0x3650]
call fcn.00590e75
mov esi, eax
cmp esi, edi
jl 0x58c20c
inc ebx
cmp ebx, dword [ebp + 0x24]
jb 0x58c1e2
xor esi, esi
mov eax, dword [ebp - 0x3658]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x64]
cmp dword [ebp - 0x3660], edi
je 0x58c232
push 0x8000
push edi
push dword [ebp - 0x3660]
call dword [0x30001114]
cmp dword [ebp - 0x364c], edi
je 0x58c246
push dword [ebp - 0x364c]
call dword [0x300012a8]
cmp dword [ebp - 0x366c], edi
je 0x58c25a
push dword [ebp - 0x366c]
call dword [0x300012a8]
cmp dword [ebp - 0x3668], 0xffffffff
je 0x58c26f
push dword [ebp - 0x3668]
call dword [0x3000107c]
cmp dword [ebp - 0x368c], edi
je 0x58c2bb
push edi
push edi
call dword [0x30001014]
test eax, eax
jne 0x58c2bb
mov esi, dword [0x30001074]
call esi
test eax, eax
jg 0x58c295
call esi
mov esi, eax
jmp 0x58c2a5
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
push edi
push edi
push edi
push edi
push 0xc0000015
push esi
call fcn.0059435d
push esi
call dword [0x300010a4]
mov eax, dword [ebp - 0x3650]
cmp eax, edi
je 0x58c2cb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0059529c
leave
ret 0x20