Function at 0x4109b2
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3690
call fcn.0041a47f
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.0040e140
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 0x41124b
mov esi, 0x25f8
push esi
lea eax, [ebp - 0x3644]
push edi
push eax
call fcn.0041a33d
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 0x41124b
mov eax, dword [ebp - 0x3658]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
je 0x410a9b
mov esi, 0x80004004
jmp 0x41124b
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 0x410ade
call dword [0x30001074]
mov esi, eax
cmp esi, edi
jle 0x410ad8
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x41124b
mov eax, dword [ebp - 0x3664]
cmp eax, 2
mov dword [ebp - 0x368c], 1
je 0x410e59
cmp eax, 3
je 0x410e59
cmp eax, 4
jne 0x410e4f
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 0x410b53
call dword [0x30001074]
mov esi, eax
cmp esi, edi
jle 0x410b4d
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x41124b
test word [ebp + 0x1c], 0x200
je 0x410b7d
push edi
lea eax, [ebp - 0x3670]
push eax
mov dword [ebp - 0x3670], edi
call dword [0x300012b4]
test eax, eax
jne 0x410b7d
mov esi, 0x800708ca
jmp 0x41124b
push edi
push edi
push edi
push edi
push 0x30001b9c
call dword [0x300012b0]
cmp eax, edi
mov dword [ebp - 0x366c], eax
jne 0x410bb6
call dword [0x30001074]
mov esi, eax
cmp esi, edi
jle 0x410bb0
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x41124b
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 0x410bec
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 0x410c31
call dword [0x30001074]
mov esi, eax
cmp esi, edi
jle 0x410c2b
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x41124b
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 0x410c77
call dword [0x30001074]
mov esi, eax
cmp esi, edi
jle 0x410c71
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x41124b
mov eax, dword [ebp - 0x3670]
mov ecx, 0x194
cmp eax, ecx
ja 0x410d14
je 0x410d5f
cmp eax, 0xc8
je 0x410d0c
cmp eax, 0x12c
jbe 0x410d69
cmp eax, 0x12f
ja 0x410d47
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 0x410d00
call dword [0x30001074]
mov esi, eax
cmp esi, edi
jle 0x410cfa
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x41124b
mov dword [ebp - 0x3648], 1
jmp 0x410d35
mov dword [ebp - 0x3648], edi
jmp 0x410d35
cmp eax, 0x198
je 0x410d30
cmp eax, 0x1f5
jbe 0x410d69
cmp eax, 0x1f7
jbe 0x410d5f
cmp eax, 0x1f8
jne 0x410d69
mov esi, 0x80070102
cmp esi, edi
jne 0x410d73
cmp dword [ebp - 0x3648], edi
jne 0x410bc2
jmp 0x410d79
cmp eax, 0x191
je 0x410d55
cmp eax, 0x193
jne 0x410d69
mov esi, 0x80070005
jmp 0x41124b
mov esi, 0x80070002
jmp 0x41124b
mov esi, 0x8000ffff
jmp 0x41124b
jl 0x41124b
lea eax, [ebp - 0x367c]
push eax
push dword [ebp - 0x364c]
call fcn.00419f57
mov esi, eax
cmp esi, edi
jl 0x41124b
mov ecx, dword [ebp + 0x18]
cmp ecx, edi
je 0x410dc9
mov eax, dword [ecx + 4]
cmp dword [ebp - 0x3678], eax
jb 0x410e13
jne 0x410db3
mov eax, dword [ebp - 0x367c]
cmp eax, dword [ecx]
jbe 0x410e13
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.00419eff
mov esi, eax
cmp esi, edi
jl 0x41124b
cmp dword [ebp + 0x14], edi
jl 0x410f6c
jg 0x410df9
cmp dword [ebp + 0x10], edi
jbe 0x410f6c
push edi
push edi
push edi
push dword [ebp + 0x10]
push dword [ebp - 0x364c]
call dword [0x300012a0]
cmp eax, 0xffffffff
jmp 0x410f4a
xor ebx, ebx
cmp dword [ebp + 0x24], edi
jbe 0x411249
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.00415eb4
mov esi, eax
cmp esi, edi
jl 0x41124b
inc ebx
cmp ebx, dword [ebp + 0x24]
jb 0x410e1e
jmp 0x411249
mov esi, 0x8007000f
jmp 0x41124b
cmp eax, 2
mov ecx, 0x8000080
jne 0x410e6b
cmp dword [0x3002136c], edi
je 0x410e78
cmp eax, 3
jne 0x410e7d
cmp dword [0x30021374], edi
jne 0x410e7d
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 0x410ec3
call dword [0x30001074]
mov esi, eax
cmp esi, edi
jle 0x410ebd
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x41124b
lea eax, [ebp - 0x367c]
push eax
push ebx
call fcn.004178c6
mov esi, eax
cmp esi, edi
jl 0x41124b
mov ecx, dword [ebp + 0x18]
cmp ecx, edi
je 0x410f16
mov eax, dword [ecx + 4]
cmp dword [ebp - 0x3678], eax
jb 0x41102c
jne 0x410f00
mov eax, dword [ebp - 0x367c]
cmp eax, dword [ecx]
jbe 0x41102c
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.0041721b
mov esi, eax
cmp esi, edi
jl 0x41124b
cmp dword [ebp + 0x14], edi
jl 0x410f6c
jg 0x410f39
cmp dword [ebp + 0x10], edi
jbe 0x410f6c
push edi
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call dword [0x3000111c]
test eax, eax
jne 0x410f6c
call dword [0x30001074]
mov esi, eax
cmp esi, edi
jle 0x410f66
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x41124b
xor ebx, ebx
cmp dword [ebp + 0x24], edi
jbe 0x410fab
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 0x41124b
inc ebx
cmp ebx, dword [ebp + 0x24]
jb 0x410f73
cmp dword [ebp - 0x3688], edi
jne 0x411068
cmp dword [ebp - 0x3684], edi
jne 0x411068
xor ebx, ebx
cmp dword [ebp + 0x24], edi
jbe 0x411249
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.00415eb4
mov esi, eax
cmp esi, edi
jl 0x41124b
mov eax, dword [ebp - 0x3664]
push edi
push edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push 2
push dword [eax]
push dword [ebp - 0x3650]
call fcn.00415eb4
mov esi, eax
cmp esi, edi
jl 0x41124b
inc ebx
cmp ebx, dword [ebp + 0x24]
jb 0x410fce
jmp 0x411249
xor ebx, ebx
cmp dword [ebp + 0x24], edi
jbe 0x411249
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.00415eb4
mov esi, eax
cmp esi, edi
jl 0x41124b
inc ebx
cmp ebx, dword [ebp + 0x24]
jb 0x411037
jmp 0x411249
mov eax, dword [ebp - 0x3664]
dec eax
dec eax
je 0x411098
dec eax
je 0x411090
dec eax
je 0x41107f
mov ebx, 0x10000
jmp 0x4110ac
mov ecx, dword [0x30021380]
mov eax, dword [0x30021364]
lea ebx, [ecx + eax - 1]
jmp 0x4110a7
mov ecx, dword [0x30021378]
jmp 0x411085
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 0x411210
call dword [0x30001074]
mov esi, eax
cmp esi, edi
jle 0x4110e3
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x41124b
jmp 0x411210
mov eax, dword [ebp - 0x3658]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
jne 0x41121a
cmp dword [ebp - 0x3664], 2
je 0x411130
cmp dword [ebp - 0x3664], 3
je 0x411130
lea eax, [ebp - 0x3674]
push eax
push ebx
push dword [ebp - 0x3660]
push dword [ebp - 0x364c]
call dword [0x300012ac]
jmp 0x41114b
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 0x41116f
call dword [0x30001074]
mov esi, eax
cmp esi, edi
jle 0x411169
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x41124b
cmp dword [ebp - 0x3674], edi
mov dword [ebp - 0x3648], edi
je 0x4111cf
cmp dword [ebp + 0x24], edi
jbe 0x411210
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.00415eb4
mov esi, eax
cmp esi, edi
jl 0x41124b
inc dword [ebp - 0x3648]
mov eax, dword [ebp - 0x3648]
cmp eax, dword [ebp + 0x24]
jb 0x411186
jmp 0x411210
cmp dword [ebp + 0x24], edi
jbe 0x41120d
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.00415eb4
mov esi, eax
cmp esi, edi
jl 0x41124b
inc dword [ebp - 0x3648]
mov eax, dword [ebp - 0x3648]
cmp eax, dword [ebp + 0x24]
jb 0x4111d4
xor esi, esi
inc esi
cmp esi, edi
je 0x4110ee
jmp 0x411249
xor ebx, ebx
cmp dword [ebp + 0x24], edi
jbe 0x411249
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.00415eb4
mov esi, eax
cmp esi, edi
jl 0x41124b
inc ebx
cmp ebx, dword [ebp + 0x24]
jb 0x411221
xor esi, esi
mov eax, dword [ebp - 0x3658]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x64]
cmp dword [ebp - 0x3660], edi
je 0x411271
push 0x8000
push edi
push dword [ebp - 0x3660]
call dword [0x30001114]
cmp dword [ebp - 0x364c], edi
je 0x411285
push dword [ebp - 0x364c]
call dword [0x300012a8]
cmp dword [ebp - 0x366c], edi
je 0x411299
push dword [ebp - 0x366c]
call dword [0x300012a8]
cmp dword [ebp - 0x3668], 0xffffffff
je 0x4112ae
push dword [ebp - 0x3668]
call dword [0x3000107c]
cmp dword [ebp - 0x368c], edi
je 0x4112fa
push edi
push edi
call dword [0x30001014]
test eax, eax
jne 0x4112fa
mov esi, dword [0x30001074]
call esi
test eax, eax
jg 0x4112d4
call esi
mov esi, eax
jmp 0x4112e4
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.0041939c
push esi
call dword [0x300010a4]
mov eax, dword [ebp - 0x3650]
cmp eax, edi
je 0x41130a
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.0041a2db
leave
ret 0x20