Function at 0x41a711
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 [0x431920], edi
jne 0x41a743
cmp byte [ebx + 0x19], 0
jne 0x41a743
lea eax, [ebx + 0x68]
mov dword [ebp - 0x10], eax
jmp 0x41a74a
mov dword [ebp - 0x10], 0x4318d0
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x50], edi
jne 0x41a767
mov esi, eax
call fcn.0041b60c
test al, al
jne 0x41a767
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.0041b1bf
add esp, 0xc
cmp eax, edi
jge 0x41a78c
cmp eax, 0x8000f002
jne 0x41a792
mov dword [ebx + 0xd8], edi
cmp dword [ebx + 0xd8], edi
jl 0x41a893
lea eax, [ebx + 0x14]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], edi
jne 0x41a7b8
push edi
lea esi, [ebp - 0x14]
mov dword [ebp - 4], 1
call fcn.00403a68
mov eax, dword [eax]
push edi
push edi
push edi
push edi
push eax
push dword [ebp - 0x10]
call fcn.0041b9c8
test byte [ebp - 4], 1
mov dword [ebp - 8], eax
je 0x41a7db
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004045a2
cmp dword [ebp - 8], edi
je 0x41a7fb
mov eax, ebx
lea esi, [ebp - 0x14]
call fcn.0041b18d
mov eax, dword [ebp - 8]
push dword [ebp - 0x14]
mov dword [ebx + 0x54], eax
call dword [fcn.0042416c]
jmp 0x41a811
mov dword [ebx + 0xd8], 0xffffff36
call dword [fcn.004240d4]
mov dword [ebx + 0xdc], eax
cmp dword [ebx + 0xd8], edi
jl 0x41a893
push 0x41ad7b
push dword [ebx + 0x54]
push dword [ebp - 0x10]
call fcn.0041babb
cmp eax, 0xffffffff
jne 0x41a838
mov dword [ebx + 0xd8], 0xffffff2f
cmp dword [ebx + 0xd8], edi
jl 0x41a893
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.0041b96c
cmp eax, edi
mov dword [ebp - 0x14], eax
je 0x41a87d
mov eax, ebx
lea esi, [ebp - 4]
call fcn.0041b18d
mov eax, dword [ebp - 0x14]
push dword [ebp - 4]
mov dword [ebx + 0x58], eax
call dword [fcn.0042416c]
jmp 0x41a893
mov dword [ebx + 0xd8], 0xffffff35
call dword [fcn.004240d4]
mov dword [ebx + 0xdc], eax
mov eax, ebx
lea esi, [ebp - 0x14]
mov dword [ebp - 4], edi
call fcn.0041b18d
mov eax, dword [ebx + 0x30]
cmp eax, edi
mov dword [ebp - 8], eax
je 0x41a8b2
cmp dword [ebx + 0x2c], edi
jne 0x41a8b2
mov dword [ebp - 8], edi
cmp dword [ebp - 8], 0x3200000
jbe 0x41a8be
mov dword [ebp - 8], edi
cmp dword [ebp - 8], edi
je 0x41a8fa
push dword [ebp - 8]
call fcn.0040f85a
cmp eax, edi
pop ecx
mov dword [ebp - 4], eax
je 0x41a8ed
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 0x41a8fa
mov dword [ebp - 8], edi
mov dword [ebx + 0xd8], 0xffffff2e
push dword [ebp - 0x14]
call dword [fcn.0042416c]
cmp dword [ebx + 0xd8], edi
jl 0x41aa41
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 0x41a92e
or esi, 0x200
cmp word [ebx + 8], 0x1bb
jne 0x41a94a
mov eax, dword [ebx + 4]
or esi, 0x800000
cmp dword [eax - 0xc], edi
je 0x41a94a
or esi, 0x1000
push 0x429af8
push dword [ebx + 0x10]
call fcn.00414874
test al, al
pop ecx
pop ecx
jne 0x41a982
push 0x429ae0
push dword [ebx]
call fcn.00414874
test al, al
pop ecx
pop ecx
je 0x41a988
push 0x429ad0
push dword [ebx + 0xc]
call fcn.00414874
test al, al
pop ecx
pop ecx
je 0x41a988
or esi, 0x80000
cmp dword [ebp - 4], edi
je 0x41a999
cmp dword [ebp - 8], edi
je 0x41a999
mov ecx, 0x429ac4
jmp 0x41a9a9
cmp byte [ebx + 0x50], 0
mov ecx, 0x429ab8
jne 0x41a9a9
mov ecx, 0x429ab0
mov eax, dword [ebx + 0xc]
push ebx
push esi
push edi
push 0x424470
push 0x429a9c
push eax
push ecx
push dword [ebx + 0x58]
push dword [ebp - 0x10]
call fcn.0041b823
cmp eax, edi
mov dword [ebp - 0x14], eax
je 0x41a9e8
mov eax, ebx
lea esi, [ebp - 0x18]
call fcn.0041b18d
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x18]
mov dword [ebx + 0x5c], eax
call dword [fcn.0042416c]
jmp 0x41a9fe
mov dword [ebx + 0xd8], 0xffffff34
call dword [fcn.004240d4]
mov dword [ebx + 0xdc], eax
cmp dword [ebx + 0xd8], edi
jl 0x41aa41
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.0041b8d2
test eax, eax
jne 0x41aa41
mov dword [ebx + 0xd8], 0xffffff33
call dword [fcn.004240d4]
mov dword [ebx + 0xdc], eax
cmp dword [ebp - 4], edi
je 0x41aa4f
push dword [ebp - 4]
call fcn.0040f86e
pop ecx
cmp dword [ebx + 0xd8], edi
jl 0x41ac4e
mov eax, dword [ebx + 4]
cmp dword [eax - 0xc], edi
je 0x41ab2a
cmp word [ebx + 8], 0x1bb
jne 0x41ab2a
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.0041bb50
test eax, eax
jne 0x41aab5
mov dword [ebx + 0xd8], 0xffffff32
call dword [fcn.004240d4]
mov dword [ebx + 0xdc], eax
jmp 0x41ab20
push dword [ebp - 0x30]
lea esi, [ebp - 4]
call fcn.0040ee94
mov esi, dword [ebp - 4]
push 0xa
mov eax, esi
call fcn.0041bbeb
test eax, eax
pop ecx
je 0x41ab0e
sub eax, esi
cmp eax, 0xffffffff
je 0x41ab0e
mov ecx, dword [esi - 0xc]
lea edx, [eax + 1]
lea eax, [ebp - 0x14]
push eax
sub ecx, edx
lea eax, [ebp - 4]
call fcn.00416792
mov edi, dword [ebp - 0x14]
mov eax, dword [ebx + 4]
push edi
push eax
call dword [fcn.00424220]
test eax, eax
lea eax, [edi - 0x10]
setne byte [ebp - 9]
call fcn.004045a2
cmp byte [ebp - 9], 0
je 0x41ab18
mov dword [ebx + 0xd8], 0xffffff29
lea eax, [esi - 0x10]
call fcn.004045a2
lea eax, [ebp - 0x40]
call fcn.0041bba0
xor edi, edi
cmp dword [ebx + 0xd8], edi
jl 0x41ac4e
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.0041b87f
test eax, eax
je 0x41ab69
mov eax, dword [ebp - 4]
mov dword [ebx + 0xd8], eax
jmp 0x41ab7f
mov dword [ebx + 0xd8], 0xffffff32
call dword [fcn.004240d4]
mov dword [ebx + 0xdc], eax
cmp dword [ebx + 0xd8], edi
jl 0x41ac4e
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.0041b87f
cmp eax, edi
jne 0x41abe8
mov eax, dword [ebp - 8]
lea eax, [eax + eax + 2]
push eax
mov byte [ebp - 9], 1
call fcn.0040f85a
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.0041b87f
cmp eax, edi
je 0x41ac45
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.0041b18d
cmp dword [ebx + 0x4c], edi
je 0x41ac26
push dword [ebp - 4]
lea esi, [ebp - 0x18]
call fcn.0040eec3
mov esi, dword [ebp - 0x18]
push 0xffffffffffffffff
push esi
call fcn.0041f697
pop ecx
pop ecx
mov ecx, dword [ebx + 0x4c]
mov dword [ecx], eax
lea eax, [esi - 0x10]
call fcn.004045a2
mov eax, dword [ebx + 0x48]
cmp eax, edi
je 0x41ac36
push dword [ebp - 4]
push eax
call fcn.00403d7b
push dword [ebp - 0x14]
call dword [fcn.0042416c]
cmp byte [ebp - 9], 0
je 0x41ac4e
push dword [ebp - 4]
call fcn.0040f86e
pop ecx
mov eax, dword [ebx + 0xd8]
cmp eax, 0xc8
mov esi, dword [fcn.004241ec]
jl 0x41ad2e
cmp eax, 0x12c
jge 0x41ad2e
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.0041ba1b
test eax, eax
je 0x41ad00
mov eax, dword [ebp - 8]
cmp eax, edi
mov dword [ebp - 4], eax
jbe 0x41ad2e
mov ecx, 0x400
cmp eax, ecx
jbe 0x41aca7
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.0041ba6b
test eax, eax
je 0x41ad18
cmp dword [ebp - 4], edi
je 0x41acf3
push dword [ebx + 0xc0]
call esi
cmp byte [ebx + 0x34], 0
push dword [ebp - 4]
lea eax, [ebp - 0x540]
push eax
je 0x41ace8
mov edi, ebx
call fcn.0041adf0
jmp 0x41acef
mov eax, ebx
call fcn.0041ae22
test eax, eax
jl 0x41ad0c
cmp dword [ebp - 4], 0
jbe 0x41ad2e
xor edi, edi
jmp 0x41ac76
mov dword [ebx + 0xd8], 0xffffff31
jmp 0x41ad22
mov dword [ebx + 0xd8], 0xffffff2c
jmp 0x41ad2e
mov dword [ebx + 0xd8], 0xffffff30
call dword [fcn.004240d4]
mov dword [ebx + 0xdc], eax
cmp byte [ebx + 0x1b], 0
je 0x41ad3e
push 0
push dword [ebp - 0x10]
call fcn.0041bb09
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 [0x4241f4]
cmp eax, 0x102
pop edi
pop esi
je 0x41ad6d
test eax, eax
je 0x41ad77
mov dword [ebx + 0xd8], 0xffffff37
xor eax, eax
leave
ret