Function at 0x41a0b3
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3690
call fcn.00423b80
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.00417841
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 0x41a94c
mov esi, 0x25f8
push esi
lea eax, [ebp - 0x3644]
push edi
push eax
call fcn.00423a3e
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 0x41a94c
mov eax, dword [ebp - 0x3658]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
je 0x41a19c
mov esi, 0x80004004
jmp 0x41a94c
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 0x41a1df
call dword [0x30001074]
mov esi, eax
cmp esi, edi
jle 0x41a1d9
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x41a94c
mov eax, dword [ebp - 0x3664]
cmp eax, 2
mov dword [ebp - 0x368c], 1
je 0x41a55a
cmp eax, 3
je 0x41a55a
cmp eax, 4
jne 0x41a550
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 0x41a254
call dword [0x30001074]
mov esi, eax
cmp esi, edi
jle 0x41a24e
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x41a94c
test word [ebp + 0x1c], 0x200
je 0x41a27e
push edi
lea eax, [ebp - 0x3670]
push eax
mov dword [ebp - 0x3670], edi
call dword [0x300012b4]
test eax, eax
jne 0x41a27e
mov esi, 0x800708ca
jmp 0x41a94c
push edi
push edi
push edi
push edi
push 0x30001b9c
call dword [0x300012b0]
cmp eax, edi
mov dword [ebp - 0x366c], eax
jne 0x41a2b7
call dword [0x30001074]
mov esi, eax
cmp esi, edi
jle 0x41a2b1
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x41a94c
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 0x41a2ed
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 0x41a332
call dword [0x30001074]
mov esi, eax
cmp esi, edi
jle 0x41a32c
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x41a94c
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 0x41a378
call dword [0x30001074]
mov esi, eax
cmp esi, edi
jle 0x41a372
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x41a94c
mov eax, dword [ebp - 0x3670]
mov ecx, 0x194
cmp eax, ecx
ja 0x41a415
je 0x41a460
cmp eax, 0xc8
je 0x41a40d
cmp eax, 0x12c
jbe 0x41a46a
cmp eax, 0x12f
ja 0x41a448
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 0x41a401
call dword [0x30001074]
mov esi, eax
cmp esi, edi
jle 0x41a3fb
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x41a94c
mov dword [ebp - 0x3648], 1
jmp 0x41a436
mov dword [ebp - 0x3648], edi
jmp 0x41a436
cmp eax, 0x198
je 0x41a431
cmp eax, 0x1f5
jbe 0x41a46a
cmp eax, 0x1f7
jbe 0x41a460
cmp eax, 0x1f8
jne 0x41a46a
mov esi, 0x80070102
cmp esi, edi
jne 0x41a474
cmp dword [ebp - 0x3648], edi
jne 0x41a2c3
jmp 0x41a47a
cmp eax, 0x191
je 0x41a456
cmp eax, 0x193
jne 0x41a46a
mov esi, 0x80070005
jmp 0x41a94c
mov esi, 0x80070002
jmp 0x41a94c
mov esi, 0x8000ffff
jmp 0x41a94c
jl 0x41a94c
lea eax, [ebp - 0x367c]
push eax
push dword [ebp - 0x364c]
call fcn.00423658
mov esi, eax
cmp esi, edi
jl 0x41a94c
mov ecx, dword [ebp + 0x18]
cmp ecx, edi
je 0x41a4ca
mov eax, dword [ecx + 4]
cmp dword [ebp - 0x3678], eax
jb 0x41a514
jne 0x41a4b4
mov eax, dword [ebp - 0x367c]
cmp eax, dword [ecx]
jbe 0x41a514
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.00423600
mov esi, eax
cmp esi, edi
jl 0x41a94c
cmp dword [ebp + 0x14], edi
jl 0x41a66d
jg 0x41a4fa
cmp dword [ebp + 0x10], edi
jbe 0x41a66d
push edi
push edi
push edi
push dword [ebp + 0x10]
push dword [ebp - 0x364c]
call dword [0x300012a0]
cmp eax, 0xffffffff
jmp 0x41a64b
xor ebx, ebx
cmp dword [ebp + 0x24], edi
jbe 0x41a94a
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.0041f5b5
mov esi, eax
cmp esi, edi
jl 0x41a94c
inc ebx
cmp ebx, dword [ebp + 0x24]
jb 0x41a51f
jmp 0x41a94a
mov esi, 0x8007000f
jmp 0x41a94c
cmp eax, 2
mov ecx, 0x8000080
jne 0x41a56c
cmp dword [0x3002136c], edi
je 0x41a579
cmp eax, 3
jne 0x41a57e
cmp dword [0x30021374], edi
jne 0x41a57e
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 0x41a5c4
call dword [0x30001074]
mov esi, eax
cmp esi, edi
jle 0x41a5be
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x41a94c
lea eax, [ebp - 0x367c]
push eax
push ebx
call fcn.00420fc7
mov esi, eax
cmp esi, edi
jl 0x41a94c
mov ecx, dword [ebp + 0x18]
cmp ecx, edi
je 0x41a617
mov eax, dword [ecx + 4]
cmp dword [ebp - 0x3678], eax
jb 0x41a72d
jne 0x41a601
mov eax, dword [ebp - 0x367c]
cmp eax, dword [ecx]
jbe 0x41a72d
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.0042091c
mov esi, eax
cmp esi, edi
jl 0x41a94c
cmp dword [ebp + 0x14], edi
jl 0x41a66d
jg 0x41a63a
cmp dword [ebp + 0x10], edi
jbe 0x41a66d
push edi
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call dword [0x3000111c]
test eax, eax
jne 0x41a66d
call dword [0x30001074]
mov esi, eax
cmp esi, edi
jle 0x41a667
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x41a94c
xor ebx, ebx
cmp dword [ebp + 0x24], edi
jbe 0x41a6ac
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 0x41a94c
inc ebx
cmp ebx, dword [ebp + 0x24]
jb 0x41a674
cmp dword [ebp - 0x3688], edi
jne 0x41a769
cmp dword [ebp - 0x3684], edi
jne 0x41a769
xor ebx, ebx
cmp dword [ebp + 0x24], edi
jbe 0x41a94a
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.0041f5b5
mov esi, eax
cmp esi, edi
jl 0x41a94c
mov eax, dword [ebp - 0x3664]
push edi
push edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push 2
push dword [eax]
push dword [ebp - 0x3650]
call fcn.0041f5b5
mov esi, eax
cmp esi, edi
jl 0x41a94c
inc ebx
cmp ebx, dword [ebp + 0x24]
jb 0x41a6cf
jmp 0x41a94a
xor ebx, ebx
cmp dword [ebp + 0x24], edi
jbe 0x41a94a
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.0041f5b5
mov esi, eax
cmp esi, edi
jl 0x41a94c
inc ebx
cmp ebx, dword [ebp + 0x24]
jb 0x41a738
jmp 0x41a94a
mov eax, dword [ebp - 0x3664]
dec eax
dec eax
je 0x41a799
dec eax
je 0x41a791
dec eax
je 0x41a780
mov ebx, 0x10000
jmp 0x41a7ad
mov ecx, dword [0x30021380]
mov eax, dword [0x30021364]
lea ebx, [ecx + eax - 1]
jmp 0x41a7a8
mov ecx, dword [0x30021378]
jmp 0x41a786
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 0x41a911
call dword [0x30001074]
mov esi, eax
cmp esi, edi
jle 0x41a7e4
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x41a94c
jmp 0x41a911
mov eax, dword [ebp - 0x3658]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
jne 0x41a91b
cmp dword [ebp - 0x3664], 2
je 0x41a831
cmp dword [ebp - 0x3664], 3
je 0x41a831
lea eax, [ebp - 0x3674]
push eax
push ebx
push dword [ebp - 0x3660]
push dword [ebp - 0x364c]
call dword [0x300012ac]
jmp 0x41a84c
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 0x41a870
call dword [0x30001074]
mov esi, eax
cmp esi, edi
jle 0x41a86a
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x41a94c
cmp dword [ebp - 0x3674], edi
mov dword [ebp - 0x3648], edi
je 0x41a8d0
cmp dword [ebp + 0x24], edi
jbe 0x41a911
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.0041f5b5
mov esi, eax
cmp esi, edi
jl 0x41a94c
inc dword [ebp - 0x3648]
mov eax, dword [ebp - 0x3648]
cmp eax, dword [ebp + 0x24]
jb 0x41a887
jmp 0x41a911
cmp dword [ebp + 0x24], edi
jbe 0x41a90e
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.0041f5b5
mov esi, eax
cmp esi, edi
jl 0x41a94c
inc dword [ebp - 0x3648]
mov eax, dword [ebp - 0x3648]
cmp eax, dword [ebp + 0x24]
jb 0x41a8d5
xor esi, esi
inc esi
cmp esi, edi
je 0x41a7ef
jmp 0x41a94a
xor ebx, ebx
cmp dword [ebp + 0x24], edi
jbe 0x41a94a
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.0041f5b5
mov esi, eax
cmp esi, edi
jl 0x41a94c
inc ebx
cmp ebx, dword [ebp + 0x24]
jb 0x41a922
xor esi, esi
mov eax, dword [ebp - 0x3658]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x64]
cmp dword [ebp - 0x3660], edi
je 0x41a972
push 0x8000
push edi
push dword [ebp - 0x3660]
call dword [0x30001114]
cmp dword [ebp - 0x364c], edi
je 0x41a986
push dword [ebp - 0x364c]
call dword [0x300012a8]
cmp dword [ebp - 0x366c], edi
je 0x41a99a
push dword [ebp - 0x366c]
call dword [0x300012a8]
cmp dword [ebp - 0x3668], 0xffffffff
je 0x41a9af
push dword [ebp - 0x3668]
call dword [0x3000107c]
cmp dword [ebp - 0x368c], edi
je 0x41a9fb
push edi
push edi
call dword [0x30001014]
test eax, eax
jne 0x41a9fb
mov esi, dword [0x30001074]
call esi
test eax, eax
jg 0x41a9d5
call esi
mov esi, eax
jmp 0x41a9e5
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.00422a9d
push esi
call dword [0x300010a4]
mov eax, dword [ebp - 0x3650]
cmp eax, edi
je 0x41aa0b
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.004239dc
leave
ret 0x20