Function at 0x532c20
Capabilities:
Check http status code

Disassembly:
sub esp, 0x40
push ebx
push ebp
mov ebp, dword [esp + 0x4c]
push esi
push edi
mov edi, dword [esp + 0x58]
mov esi, dword [ebp + 0x7d8]
mov ebx, dword [ebp]
mov dword [esp + 0x34], 0
lea eax, [edi*4 + 0x420]
add eax, ebp
mov dword [esp + 0x24], eax
mov eax, dword [ebp + edi*4 + 0x420]
mov dword [esp + 0x30], eax
test esi, esi
je 0x5335f1
cmp dword [esi + 0x20], 2
je 0x5335f1
mov byte [ebp + 0x514], 0
cmp dword [esi + 0x20], 0
jne 0x532eca
push dword [esp + 0x60]
mov edi, dword [esp + 0x60]
push edi
push 0x778850
push ebx
call fcn.0052ed30
push dword [ebx + 0x12c]
call dword [0x83a874]
push dword [esp + 0x74]
mov dword [ebx + 0x12c], 0
push edi
push 0x778878
call fcn.0053ea10
mov edi, eax
add esp, 0x20
mov dword [esp + 0x1c], edi
test edi, edi
je 0x5334a3
lea eax, [esp + 0x40]
push 0x20000
push eax
call fcn.005248c0
push 1
push edi
push 0x778880
push ebp
call fcn.00539d30
push dword [esp + 0x34]
mov edi, eax
call dword [0x83a874]
add esp, 0x1c
test edi, edi
jne 0x532eaa
cmp dword [ebp + 0x358], 1
mov ecx, 0x77888c
mov eax, 0x778888
mov dword [esp + 0x1c], edi
cmovne eax, ecx
mov dword [esp + 0x18], 0x7fc3ae
mov cl, byte [ebp + 0x51c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
cmp eax, dword [ebp + 0x304]
je 0x532d3f
push 0x3a
push eax
call fcn.0058c9b0
add esp, 8
test eax, eax
setne cl
push dword [esp + 0x60]
test cl, cl
mov edx, 0x7fc3ae
mov eax, 0x777ff8
cmove eax, edx
push eax
push dword [esp + 0x64]
mov eax, 0x777ffc
cmove eax, edx
push eax
push 0x778890
call fcn.0053ea10
add esp, 0x14
mov dword [esp + 0x14], eax
test eax, eax
je 0x533496
push 0x77889c
push ebp
call fcn.00539610
add esp, 8
test eax, eax
jne 0x532daa
push dword [esp + 0x14]
push 0x7788a4
call fcn.0053ea10
mov edi, eax
add esp, 8
mov dword [esp + 0x1c], edi
test edi, edi
je 0x533472
push 0x7788b0
push ebp
call fcn.00539610
test eax, eax
mov ecx, 0x7788c4
mov eax, 0x7fc3ae
cmovne ecx, eax
push 0x7788e4
push ebp
mov dword [esp + 0x38], ecx
call fcn.00539610
add esp, 0x10
test eax, eax
jne 0x532dec
cmp dword [ebx + 0xa04], eax
je 0x532dec
mov eax, dword [ebx + 0x10c0]
mov dword [esp + 0x18], eax
push dword [esp + 0x28]
mov eax, dword [ebx + 0x10bc]
mov edx, 0x7fc3ae
push dword [esp + 0x1c]
test eax, eax
mov ecx, edx
cmovne ecx, eax
mov eax, edx
push ecx
test edi, edi
cmovne eax, edi
push eax
push dword [esp + 0x3c]
lea eax, [esp + 0x54]
push dword [esp + 0x28]
push 0x7788f0
push eax
call fcn.00524810
mov edi, eax
add esp, 0x20
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x532e3d
push eax
call dword [0x83a874]
add esp, 4
push dword [esp + 0x14]
call dword [0x83a874]
add esp, 4
test edi, edi
jne 0x532e9c
lea eax, [esp + 0x40]
push eax
push 1
push ebp
call fcn.00538f50
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x532e9c
lea eax, [esp + 0x40]
push 0x777714
push eax
call fcn.005247e0
mov edi, eax
add esp, 8
test edi, edi
jne 0x532e9c
push dword [esp + 0x58]
push eax
lea eax, [ebx + 0x1140]
push eax
lea eax, [esp + 0x4c]
push ebp
push eax
call fcn.005393d0
mov edi, eax
add esp, 0x14
test edi, edi
je 0x532eaa
push 0x778910
push ebx
call fcn.0052ec50
add esp, 8
lea eax, [esp + 0x40]
push eax
call fcn.00524890
add esp, 4
test edi, edi
jne 0x5334b0
mov edi, dword [esp + 0x58]
mov dword [esi + 0x20], 1
push 1
push 0
push ebx
call fcn.005302b0
add esp, 0xc
test edx, edx
jl 0x5335fb
jg 0x532ee9
test eax, eax
je 0x5335fb
push edi
push ebp
call fcn.0052f710
add esp, 8
test al, al
je 0x5335f1
xor edi, edi
mov dword [esp + 0x14], edi
cmp dword [esi + 0x10], edi
je 0x532f9c
nop word [eax + eax]
lea eax, [esp + 0x20]
push eax
push 1
lea eax, [esp + 0x1b]
push eax
push dword [esp + 0x3c]
push ebp
call fcn.0052ee10
mov edi, eax
add esp, 0x14
cmp edi, 0x51
je 0x5335f1
push ebp
call fcn.0053c250
add esp, 4
test eax, eax
jne 0x5334d5
test edi, edi
jne 0x532f91
cmp dword [esp + 0x20], edi
jle 0x53341c
cmp dword [esi + 0x10], 1
jle 0x533092
mov ecx, dword [esi + 0x18]
mov eax, ecx
mov edx, dword [esi + 0x1c]
or eax, edx
je 0x53304d
sub ecx, 1
mov dword [esi + 0x18], ecx
sbb edx, edi
mov dword [esi + 0x1c], edx
test edx, edx
jl 0x532f8a
jg 0x53340d
test ecx, ecx
ja 0x53340d
mov dword [esi + 0x20], 2
mov dword [esi + 0x10], 0
mov edi, dword [esp + 0x14]
push ebp
call fcn.0053c250
add esp, 4
test eax, eax
jne 0x5334d5
test edi, edi
jne 0x5334c8
mov eax, dword [ebx + 0x1124]
sub eax, 0xc8
cmp eax, 0x64
jb 0x532fe2
push ebp
call fcn.00539830
add esp, 4
test eax, eax
jne 0x5335f3
cmp byte [ebp + 0x515], al
je 0x532fe2
mov byte [esi + 0x25], 1
cmp byte [esi + 0x25], 0
je 0x532ff5
cmp dword [ebx + 0x12c], 0
jne 0x5334e2
cmp dword [ebx + 0x12c], 0
je 0x5334f9
cmp dword [esi + 0x20], 2
jne 0x533037
mov edi, dword [ebp + 0x7d8]
push edi
call fcn.00524900
add esp, 4
mov dword [edi + 0x20], 0
mov dword [edi + 0x10], 1
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov byte [edi + 0x25], 0
cmp dword [ebx + 0x12c], 0
je 0x5334f9
mov edi, dword [esp + 0x58]
jmp 0x532c71
lea eax, [esp + 0x38]
mov dword [esp + 0x2c], 0
push eax
lea eax, [esp + 0x30]
push eax
push 1
lea eax, [esp + 0x1f]
push eax
push ebp
call fcn.0055dc90
add esp, 0x14
cmp eax, 0xffffffff
jne 0x53340d
push 0x778994
push ebx
call fcn.0052ed30
add esp, 8
mov dword [esi + 0x10], 0
jmp 0x533406
push 1
lea eax, [esp + 0x17]
push eax
push esi
call fcn.00524880
add esp, 0xc
test eax, eax
jne 0x5334ba
cmp byte [esp + 0x13], 0xa
jne 0x53340d
push esi
call fcn.005248f0
push esi
mov edi, eax
call fcn.005248e0
add esp, 8
mov ebp, eax
cmp byte [ebx + 0xb42], 0
je 0x5330de
push ebp
push edi
push 1
push ebx
call fcn.0052ebc0
add esp, 0x10
cmp byte [ebx + 0xb56], 0
jne 0x53310c
xor eax, eax
cmp byte [ebx + 0xb3d], al
push ebp
setne al
push edi
add eax, 2
push eax
push dword [esp + 0x60]
call fcn.0052eb90
add esp, 0x10
test eax, eax
jne 0x5335f3
mov eax, ebp
cdq
add dword [ebx + 0x1138], eax
adc dword [ebx + 0x113c], edx
add dword [ebx + 0xa8], eax
adc dword [ebx + 0xac], edx
mov al, byte [edi]
cmp al, 0xd
je 0x533350
cmp al, 0xa
je 0x533350
push 0x11
push edi
push 0x778a0c
call fcn.00531ba0
add esp, 0xc
test eax, eax
je 0x53315b
mov ebp, dword [ebx + 0xf0]
cmp ebp, 0x191
je 0x53317d
push 0x13
push edi
push 0x778a20
call fcn.00531ba0
add esp, 0xc
test eax, eax
je 0x5331c5
mov ebp, dword [ebx + 0xf0]
cmp ebp, 0x197
jne 0x5331c5
push edi
call fcn.00539760
mov edi, eax
add esp, 4
test edi, edi
je 0x5334a3
cmp ebp, 0x197
push edi
sete cl
movzx ecx, cl
push ecx
push dword [esp + 0x5c]
call fcn.00539ad0
push edi
mov ebp, eax
call dword [0x83a874]
add esp, 0x10
test ebp, ebp
je 0x53333e
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x40
ret
push 0xf
push edi
push 0x778a34
call fcn.00531ba0
add esp, 0xc
test eax, eax
je 0x533231
mov ecx, dword [ebx + 0xf0]
lea eax, [ecx - 0xc8]
cmp eax, 0x64
jae 0x53320b
push ecx
push 0x778a44
push ebx
call fcn.0052ed30
mov ebp, dword [esp + 0x60]
add esp, 0xc
push esi
call fcn.00524900
add esp, 4
jmp 0x53340d
lea eax, [esi + 0x18]
push eax
push 0xa
lea eax, [edi + 0xf]
push 0
push eax
call fcn.005400f0
mov ebp, dword [esp + 0x64]
add esp, 0x10
push esi
call fcn.00524900
add esp, 4
jmp 0x53340d
push 0x778a78
push 0x778a80
push edi
call fcn.00539690
add esp, 0xc
test al, al
je 0x53325e
mov ebp, dword [esp + 0x54]
push esi
mov byte [esi + 0x25], 1
call fcn.00524900
add esp, 4
jmp 0x53340d
push 0x12
push edi
push 0x778a8c
call fcn.00531ba0
add esp, 0xc
test eax, eax
je 0x5332e9
mov ecx, dword [ebx + 0xf0]
lea eax, [ecx - 0xc8]
cmp eax, 0x64
jae 0x5332a4
push ecx
push 0x778aa0
push ebx
call fcn.0052ed30
mov ebp, dword [esp + 0x60]
add esp, 0xc
push esi
call fcn.00524900
add esp, 4
jmp 0x53340d
push 0x778810
push 0x778a8c
push edi
call fcn.00539690
add esp, 0xc
test al, al
je 0x53333e
push 0x778ad8
push ebx
call fcn.0052ed30
mov ebp, dword [esp + 0x5c]
push ebp
mov byte [esi + 0x24], 1
call fcn.0055dc50
add esp, 0xc
push esi
call fcn.00524900
add esp, 4
jmp 0x53340d
push 0x778a78
push 0x778af4
push edi
call fcn.00539690
add esp, 0xc
test al, al
je 0x533316
mov ebp, dword [esp + 0x54]
push esi
mov byte [esi + 0x25], 1
call fcn.00524900
add esp, 4
jmp 0x53340d
lea ebp, [ebx + 0xf0]
push ebp
lea eax, [esp + 0x38]
push eax
push 0x778b08
push edi
call fcn.0044b4d0
add esp, 0x10
cmp eax, 2
jne 0x53333e
mov eax, dword [ebp]
mov dword [ebx + 0x1124], eax
mov ebp, dword [esp + 0x54]
push esi
call fcn.00524900
add esp, 4
jmp 0x53340d
cmp dword [ebx + 0xf0], 0x197
jne 0x5333f3
cmp byte [ebx + 0x10e9], 0
jne 0x5333f3
mov edx, dword [esi + 0x18]
mov eax, edx
mov ecx, dword [esi + 0x1c]
or eax, ecx
mov dword [esi + 0x10], 2
je 0x533392
push ecx
push edx
push 0x7789c4
push ebx
call fcn.0052ed30
add esp, 0x10
jmp 0x5333fa
cmp byte [esi + 0x24], 0
je 0x5333f3
push 0x7789ec
push ebx
call fcn.0052ed30
mov ebp, dword [esp + 0x5c]
lea eax, [edi + 1]
mov byte [ebx + 0x587], 1
cmp byte [eax], 0xa
cmove edi, eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x2c]
push eax
push 1
lea eax, [edi + 1]
push eax
push ebp
call fcn.0055dc90
add esp, 0x1c
cmp eax, 0xffffffff
jne 0x5333fe
push 0x778994
push ebx
call fcn.0052ed30
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x20], 2
jmp 0x5333fe
mov dword [esi + 0x10], 0
mov ebp, dword [esp + 0x54]
mov eax, dword [esi + 0x18]
or eax, dword [esi + 0x1c]
jne 0x53340d
mov dword [esi + 0x20], 2
cmp dword [esi + 0x10], 0
jne 0x532f10
jmp 0x532f98
cmp dword [ebx + 0x5b8], 0
je 0x533453
cmp dword [ebx + 0xdd8], 0
je 0x533453
push 0x778958
push ebx
mov byte [ebp + 0x514], 1
call fcn.0052ed30
mov edi, dword [esp + 0x1c]
add esp, 8
mov dword [esi + 0x10], 0
jmp 0x532f9c
push 0x77897c
push ebx
mov edi, 1
call fcn.0052ec50
add esp, 8
mov dword [esi + 0x10], 0
jmp 0x532f9c
push dword [esp + 0x14]
call dword [0x83a874]
lea eax, [esp + 0x44]
push eax
call fcn.00524890
add esp, 8
mov eax, 0x1b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
lea eax, [esp + 0x40]
push eax
call fcn.00524890
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x40
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
push 0x7789a8
push ebx
call fcn.0052ec50
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 0x38
pop ebx
add esp, 0x40
ret
pop edi
pop esi
pop ebp
mov eax, 0x2a
pop ebx
add esp, 0x40
ret
mov edi, dword [esp + 0x24]
push dword [edi]
push ebp
call fcn.0052f690
add esp, 8
mov dword [edi], 0xffffffff
jmp 0x5334fd
mov edi, dword [esp + 0x24]
mov eax, dword [ebx + 0x1124]
sub eax, 0xc8
cmp eax, 0x64
jb 0x5335a3
cmp byte [esi + 0x25], 0
je 0x53353d
cmp dword [ebx + 0x12c], 0
je 0x53353d
push 0x778b18
push ebx
mov byte [ebp + 0x514], 1
call fcn.0052ed30
push ebp
call fcn.005338b0
add esp, 0xc
jmp 0x53356c
push dword [ebx + 0x12c]
call dword [0x83a874]
push 2
push ebp
mov dword [ebx + 0x12c], 0
call fcn.0052f7c0
push dword [edi]
push ebp
call fcn.0052f690
add esp, 0x14
mov dword [edi], 0xffffffff
mov dword [esi + 0x20], 0
cmp byte [ebp + 0x514], 0
jne 0x5335f1
push esi
call fcn.00524890
push dword [ebx + 0xf0]
push 0x778b34
push ebx
call fcn.0052ec50
add esp, 0x10
mov eax, 0x38
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
mov dword [esi + 0x20], 2
push dword [ebx + 0x10bc]
call dword [0x83a874]
push dword [ebx + 0x1124]
mov dword [ebx + 0x10bc], 0
push 0x778b64
push ebx
mov word [ebx + 0xddc], 1
call fcn.0052ed30
mov byte [ebx + 0x587], 0
push esi
mov byte [ebp + 0x522], 0
call fcn.00524890
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
push 0x778930
push ebx
call fcn.0052ec50
add esp, 8
mov eax, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret