Function at 0x40b4cd
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3690
call fcn.00414f9a
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.00408c5b
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 0x40bd66
mov esi, 0x25f8
push esi
lea eax, [ebp - 0x3644]
push edi
push eax
call fcn.00414e58
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 0x40bd66
mov eax, dword [ebp - 0x3658]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
je 0x40b5b6
mov esi, 0x80004004
jmp 0x40bd66
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 0x40b5f9
call dword [0x30001074]
mov esi, eax
cmp esi, edi
jle 0x40b5f3
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x40bd66
mov eax, dword [ebp - 0x3664]
cmp eax, 2
mov dword [ebp - 0x368c], 1
je 0x40b974
cmp eax, 3
je 0x40b974
cmp eax, 4
jne 0x40b96a
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 0x40b66e
call dword [0x30001074]
mov esi, eax
cmp esi, edi
jle 0x40b668
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x40bd66
test word [ebp + 0x1c], 0x200
je 0x40b698
push edi
lea eax, [ebp - 0x3670]
push eax
mov dword [ebp - 0x3670], edi
call dword [0x300012b4]
test eax, eax
jne 0x40b698
mov esi, 0x800708ca
jmp 0x40bd66
push edi
push edi
push edi
push edi
push 0x30001b9c
call dword [0x300012b0]
cmp eax, edi
mov dword [ebp - 0x366c], eax
jne 0x40b6d1
call dword [0x30001074]
mov esi, eax
cmp esi, edi
jle 0x40b6cb
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x40bd66
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 0x40b707
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 0x40b74c
call dword [0x30001074]
mov esi, eax
cmp esi, edi
jle 0x40b746
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x40bd66
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 0x40b792
call dword [0x30001074]
mov esi, eax
cmp esi, edi
jle 0x40b78c
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x40bd66
mov eax, dword [ebp - 0x3670]
mov ecx, 0x194
cmp eax, ecx
ja 0x40b82f
je 0x40b87a
cmp eax, 0xc8
je 0x40b827
cmp eax, 0x12c
jbe 0x40b884
cmp eax, 0x12f
ja 0x40b862
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 0x40b81b
call dword [0x30001074]
mov esi, eax
cmp esi, edi
jle 0x40b815
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x40bd66
mov dword [ebp - 0x3648], 1
jmp 0x40b850
mov dword [ebp - 0x3648], edi
jmp 0x40b850
cmp eax, 0x198
je 0x40b84b
cmp eax, 0x1f5
jbe 0x40b884
cmp eax, 0x1f7
jbe 0x40b87a
cmp eax, 0x1f8
jne 0x40b884
mov esi, 0x80070102
cmp esi, edi
jne 0x40b88e
cmp dword [ebp - 0x3648], edi
jne 0x40b6dd
jmp 0x40b894
cmp eax, 0x191
je 0x40b870
cmp eax, 0x193
jne 0x40b884
mov esi, 0x80070005
jmp 0x40bd66
mov esi, 0x80070002
jmp 0x40bd66
mov esi, 0x8000ffff
jmp 0x40bd66
jl 0x40bd66
lea eax, [ebp - 0x367c]
push eax
push dword [ebp - 0x364c]
call fcn.00414a72
mov esi, eax
cmp esi, edi
jl 0x40bd66
mov ecx, dword [ebp + 0x18]
cmp ecx, edi
je 0x40b8e4
mov eax, dword [ecx + 4]
cmp dword [ebp - 0x3678], eax
jb 0x40b92e
jne 0x40b8ce
mov eax, dword [ebp - 0x367c]
cmp eax, dword [ecx]
jbe 0x40b92e
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.00414a1a
mov esi, eax
cmp esi, edi
jl 0x40bd66
cmp dword [ebp + 0x14], edi
jl 0x40ba87
jg 0x40b914
cmp dword [ebp + 0x10], edi
jbe 0x40ba87
push edi
push edi
push edi
push dword [ebp + 0x10]
push dword [ebp - 0x364c]
call dword [0x300012a0]
cmp eax, 0xffffffff
jmp 0x40ba65
xor ebx, ebx
cmp dword [ebp + 0x24], edi
jbe 0x40bd64
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.004109cf
mov esi, eax
cmp esi, edi
jl 0x40bd66
inc ebx
cmp ebx, dword [ebp + 0x24]
jb 0x40b939
jmp 0x40bd64
mov esi, 0x8007000f
jmp 0x40bd66
cmp eax, 2
mov ecx, 0x8000080
jne 0x40b986
cmp dword [0x3002136c], edi
je 0x40b993
cmp eax, 3
jne 0x40b998
cmp dword [0x30021374], edi
jne 0x40b998
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 0x40b9de
call dword [0x30001074]
mov esi, eax
cmp esi, edi
jle 0x40b9d8
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x40bd66
lea eax, [ebp - 0x367c]
push eax
push ebx
call fcn.004123e1
mov esi, eax
cmp esi, edi
jl 0x40bd66
mov ecx, dword [ebp + 0x18]
cmp ecx, edi
je 0x40ba31
mov eax, dword [ecx + 4]
cmp dword [ebp - 0x3678], eax
jb 0x40bb47
jne 0x40ba1b
mov eax, dword [ebp - 0x367c]
cmp eax, dword [ecx]
jbe 0x40bb47
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.00411d36
mov esi, eax
cmp esi, edi
jl 0x40bd66
cmp dword [ebp + 0x14], edi
jl 0x40ba87
jg 0x40ba54
cmp dword [ebp + 0x10], edi
jbe 0x40ba87
push edi
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call dword [0x3000111c]
test eax, eax
jne 0x40ba87
call dword [0x30001074]
mov esi, eax
cmp esi, edi
jle 0x40ba81
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x40bd66
xor ebx, ebx
cmp dword [ebp + 0x24], edi
jbe 0x40bac6
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 0x40bd66
inc ebx
cmp ebx, dword [ebp + 0x24]
jb 0x40ba8e
cmp dword [ebp - 0x3688], edi
jne 0x40bb83
cmp dword [ebp - 0x3684], edi
jne 0x40bb83
xor ebx, ebx
cmp dword [ebp + 0x24], edi
jbe 0x40bd64
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.004109cf
mov esi, eax
cmp esi, edi
jl 0x40bd66
mov eax, dword [ebp - 0x3664]
push edi
push edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push 2
push dword [eax]
push dword [ebp - 0x3650]
call fcn.004109cf
mov esi, eax
cmp esi, edi
jl 0x40bd66
inc ebx
cmp ebx, dword [ebp + 0x24]
jb 0x40bae9
jmp 0x40bd64
xor ebx, ebx
cmp dword [ebp + 0x24], edi
jbe 0x40bd64
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.004109cf
mov esi, eax
cmp esi, edi
jl 0x40bd66
inc ebx
cmp ebx, dword [ebp + 0x24]
jb 0x40bb52
jmp 0x40bd64
mov eax, dword [ebp - 0x3664]
dec eax
dec eax
je 0x40bbb3
dec eax
je 0x40bbab
dec eax
je 0x40bb9a
mov ebx, 0x10000
jmp 0x40bbc7
mov ecx, dword [0x30021380]
mov eax, dword [0x30021364]
lea ebx, [ecx + eax - 1]
jmp 0x40bbc2
mov ecx, dword [0x30021378]
jmp 0x40bba0
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 0x40bd2b
call dword [0x30001074]
mov esi, eax
cmp esi, edi
jle 0x40bbfe
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x40bd66
jmp 0x40bd2b
mov eax, dword [ebp - 0x3658]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
jne 0x40bd35
cmp dword [ebp - 0x3664], 2
je 0x40bc4b
cmp dword [ebp - 0x3664], 3
je 0x40bc4b
lea eax, [ebp - 0x3674]
push eax
push ebx
push dword [ebp - 0x3660]
push dword [ebp - 0x364c]
call dword [0x300012ac]
jmp 0x40bc66
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 0x40bc8a
call dword [0x30001074]
mov esi, eax
cmp esi, edi
jle 0x40bc84
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x40bd66
cmp dword [ebp - 0x3674], edi
mov dword [ebp - 0x3648], edi
je 0x40bcea
cmp dword [ebp + 0x24], edi
jbe 0x40bd2b
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.004109cf
mov esi, eax
cmp esi, edi
jl 0x40bd66
inc dword [ebp - 0x3648]
mov eax, dword [ebp - 0x3648]
cmp eax, dword [ebp + 0x24]
jb 0x40bca1
jmp 0x40bd2b
cmp dword [ebp + 0x24], edi
jbe 0x40bd28
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.004109cf
mov esi, eax
cmp esi, edi
jl 0x40bd66
inc dword [ebp - 0x3648]
mov eax, dword [ebp - 0x3648]
cmp eax, dword [ebp + 0x24]
jb 0x40bcef
xor esi, esi
inc esi
cmp esi, edi
je 0x40bc09
jmp 0x40bd64
xor ebx, ebx
cmp dword [ebp + 0x24], edi
jbe 0x40bd64
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.004109cf
mov esi, eax
cmp esi, edi
jl 0x40bd66
inc ebx
cmp ebx, dword [ebp + 0x24]
jb 0x40bd3c
xor esi, esi
mov eax, dword [ebp - 0x3658]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x64]
cmp dword [ebp - 0x3660], edi
je 0x40bd8c
push 0x8000
push edi
push dword [ebp - 0x3660]
call dword [0x30001114]
cmp dword [ebp - 0x364c], edi
je 0x40bda0
push dword [ebp - 0x364c]
call dword [0x300012a8]
cmp dword [ebp - 0x366c], edi
je 0x40bdb4
push dword [ebp - 0x366c]
call dword [0x300012a8]
cmp dword [ebp - 0x3668], 0xffffffff
je 0x40bdc9
push dword [ebp - 0x3668]
call dword [0x3000107c]
cmp dword [ebp - 0x368c], edi
je 0x40be15
push edi
push edi
call dword [0x30001014]
test eax, eax
jne 0x40be15
mov esi, dword [0x30001074]
call esi
test eax, eax
jg 0x40bdef
call esi
mov esi, eax
jmp 0x40bdff
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.00413eb7
push esi
call dword [0x300010a4]
mov eax, dword [ebp - 0x3650]
cmp eax, edi
je 0x40be25
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.00414df6
leave
ret 0x20