Function at 0x436e20
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x8c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], 0
mov edx, dword [ebp + 8]
mov eax, dword [eax]
add edx, 0x180
mov dword [ebp - 0x28], edx
mov ecx, dword [eax + 0x98]
mov dword [ebp - 0x24], eax
test ecx, ecx
mov dword [ebp - 0x4c], ecx
jne 0x436e5b
mov dword [ebp - 0x4c], 0xe10
mov dword [ebp - 0x54], 0
mov edi, dword [ebp + 8]
mov esi, 0x50b8ac
mov eax, dword [ebp + 0xc]
mov eax, dword [edi + eax*4 + 0x98]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
mov edx, dword [ebp + 0x10]
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov ecx, dword [ebp - 0x24]
mov dword [esp], ecx
call fcn.0042c6f0
mov eax, dword [edi + 0x174]
test eax, eax
jne 0x437200
call fcn.00436920
mov edi, eax
test edi, edi
mov eax, 0x1b
je 0x4370d0
mov eax, dword [ebp + 0x14]
mov dword [esp + 8], eax
mov edx, dword [ebp + 0x10]
mov dword [esp], 0x50b8d2
mov dword [esp + 4], edx
call fcn.0042b550
mov esi, eax
test esi, esi
mov eax, 0x1b
je 0x4370d0
mov dword [esp], esi
mov ecx, 1
mov edx, 0x50b8d8
mov dword [esp + 4], ecx
mov eax, dword [ebp + 8]
call fcn.004362d0
test eax, eax
mov ebx, eax
je 0x437229
mov dword [esp], esi
call dword [0x4f50ac]
test ebx, ebx
mov eax, ebx
jne 0x4370d0
mov dword [ebp - 0x2c], 0
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x48], 1
add esi, 0x2e4
mov dword [ebp - 0x6c], esi
lea esi, [esi]
lea edi, [edi]
call fcn.0043a030
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x88]
mov ebx, dword [edi + 0x8c]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call fcn.0043a070
mov edx, 0x10624dd3
mov ecx, eax
imul edx
mov eax, ecx
sar eax, 0x1f
sar edx, 6
sub edx, eax
mov eax, dword [ebp - 0x4c]
sub eax, edx
test eax, eax
jle 0x43738c
mov edi, 0x3e8
mov ebx, 0xffffffff
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov edx, dword [ebp - 0x50]
mov dword [esp], edx
call fcn.0043a120
cmp eax, 0xffffffff
je 0x437306
test eax, eax
je 0x437030
lea eax, [ebp - 0x1c]
mov dword [esp + 0x10], eax
mov edx, dword [ebp - 0x2c]
mov eax, 0x4000
mov dword [esp + 8], esi
sub eax, edx
mov dword [esp + 0xc], eax
mov edi, dword [ebp - 0x50]
mov dword [esp + 4], edi
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0042c050
test eax, eax
jl 0x437030
jne 0x437220
mov edx, dword [ebp - 0x1c]
test edx, edx
jle 0x43740c
mov dword [ebp - 0x60], 0
add dword [ebp - 0x2c], edx
cmp dword [ebp - 0x60], edx
jge 0x437030
jmp 0x437010
inc dword [ebp - 0x30]
lea eax, [esi + 1]
cmp byte [esi], 0xa
je 0x4370e0
inc dword [ebp - 0x60]
mov esi, eax
cmp dword [ebp - 0x60], edx
jl 0x437010
lea esi, [esi]
cmp dword [ebp - 0x2c], 0x3fff
ja 0x43704e
movzx edx, byte [ebp - 0x48]
xor eax, eax
cmp dword [ebp - 0x54], 0
sete al
test edx, eax
jne 0x436f40
mov ecx, dword [ebp - 0x54]
test ecx, ecx
jne 0x4373a0
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0x8384], 0xc8
je 0x437073
mov edi, dword [ebp + 8]
mov dword [esp], edi
call fcn.00435f40
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x174]
test eax, eax
jne 0x437200
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx + 0x50]
cmp eax, 0xc8
jne 0x437463
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x154]
mov dword [esp], eax
call fcn.00421f90
mov ecx, dword [ebp + 8]
xor eax, eax
mov edi, dword [ebp - 0x24]
mov dword [ecx + 0x154], eax
mov eax, 0x50b8e0
mov byte [edi + 0x8374], 1
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.0042c6f0
xor eax, eax
mov esi, esi
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [ebp - 0x24]
cmp byte [ecx + 0x19c], 0
jne 0x43734d
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x30]
movzx eax, byte [ecx + 0x18c]
mov dword [esp + 0xc], edi
mov edx, dword [ebp - 0x6c]
mov dword [esp], ecx
cmp al, 1
sbb eax, eax
mov dword [esp + 8], edx
add eax, 3
mov dword [esp + 4], eax
call fcn.0042c400
test eax, eax
mov ebx, eax
jne 0x437346
mov ecx, dword [ebp - 0x6c]
movzx eax, byte [ecx]
cmp al, 0xd
sete dl
cmp al, 0xa
sete al
or eax, edx
test al, 1
jne 0x437220
movzx eax, byte [edi + ecx]
mov byte [ebp - 0x61], al
mov eax, 0x11
mov byte [edi + ecx], 0
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], 0x50b905
call fcn.00429f60
test eax, eax
je 0x437178
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x50]
cmp eax, 0x191
je 0x437326
mov edi, 0x13
mov dword [esp + 8], edi
mov ecx, dword [ebp - 0x6c]
mov dword [esp], 0x50b917
mov dword [esp + 4], ecx
call fcn.00429f60
test eax, eax
je 0x4371a9
mov edi, dword [ebp - 0x28]
mov eax, dword [edi + 0x50]
cmp eax, 0x197
je 0x437326
mov eax, dword [ebp - 0x28]
mov ebx, 0x50b92b
mov dword [esp + 4], ebx
add eax, 0x50
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x20]
mov dword [esp + 8], eax
mov edi, dword [ebp - 0x6c]
mov dword [esp], edi
call fcn.004f3740
cmp eax, 2
je 0x437378
movzx eax, byte [ebp - 0x61]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x6c]
mov byte [edx + ecx], al
mov edx, dword [ebp - 0x1c]
lea eax, [esi + 1]
inc dword [ebp - 0x60]
mov esi, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x6c], eax
jmp 0x437024
mov dword [esp], eax
xor ebx, ebx
call dword [0x4f50ac]
mov edi, dword [ebp + 8]
mov dword [edi + 0x174], ebx
jmp 0x436ea2
mov byte [ebp - 0x48], 0
jmp 0x437030
mov dword [ebp - 0x58], 0x50b77d
mov eax, dword [ebp - 0x24]
mov edx, 0x50b8a0
mov dword [ebp - 0x5c], 0x50b77d
call fcn.00435c90
test eax, eax
je 0x43743e
mov eax, dword [ebp - 0x24]
mov edx, 0x50b938
call fcn.00435c90
test eax, eax
je 0x437400
test ebx, ebx
jne 0x4372ed
mov ecx, dword [ebp - 0x5c]
mov eax, 0x50b77d
mov dword [esp + 0x1c], ecx
mov edx, dword [ebp - 0x24]
mov edx, dword [edx + 0x5c]
test edx, edx
je 0x437288
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x158]
mov dword [esp + 0x18], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x154]
test eax, eax
jne 0x43729e
mov eax, 0x50b77d
mov dword [esp + 0x14], eax
mov ecx, dword [ebp - 0x58]
mov dword [esp + 0x10], ecx
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
mov edx, dword [ebp + 0x10]
mov eax, 0x50b94c
mov dword [esp + 4], eax
mov dword [esp], edi
mov dword [esp + 8], edx
call fcn.00436ba0
test eax, eax
mov ebx, eax
je 0x4373ef
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x4372e5
mov ecx, dword [ebp - 0x58]
cmp byte [ecx], 0
jne 0x437430
test ebx, ebx
je 0x4373b0
mov eax, 0x50b970
mov dword [esp + 4], eax
mov edi, dword [ebp - 0x24]
mov dword [esp], edi
call fcn.0042c310
jmp 0x436f02
mov dword [ebp - 0x54], 1
mov ecx, 0x50b990
mov dword [esp + 4], ecx
mov ecx, dword [ebp - 0x24]
mov dword [esp], ecx
call fcn.0042c310
jmp 0x437030
mov edx, dword [ebp - 0x6c]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov ecx, dword [ebp + 8]
mov dword [esp], ecx
call fcn.00436620
test eax, eax
mov ebx, eax
je 0x4371d7
mov eax, ebx
jmp 0x4370d0
mov edi, dword [ebp + 8]
mov dword [esp + 0x10], edi
mov eax, dword [ebp - 0x30]
mov dword [esp + 0xc], eax
mov edx, dword [ebp - 0x6c]
mov eax, 1
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 8], edx
call fcn.0042c1d0
jmp 0x4370f0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov eax, dword [edx + 0x50]
mov dword [ecx + 0x8384], eax
jmp 0x4371d7
mov eax, 0x50b9bc
mov dword [esp + 4], eax
mov edi, dword [ebp - 0x24]
mov dword [esp], edi
call fcn.0042c310
mov eax, 0x38
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], edi
mov eax, 0x50b9e1
mov dword [esp + 4], eax
call fcn.00436ba0
test eax, eax
mov ebx, eax
jne 0x4372ed
mov eax, dword [ebp - 0x24]
add eax, 0x8394
mov dword [esp], eax
mov edx, dword [ebp + 8]
mov eax, edi
call fcn.00436950
test eax, eax
mov ebx, eax
je 0x436f02
jmp 0x4372ed
mov eax, dword [ebp + 8]
mov edx, edi
call fcn.00436d20
mov ebx, eax
jmp 0x4372d2
mov dword [ebp - 0x5c], 0x50b9e4
jmp 0x437261
mov byte [ebp - 0x48], 0
mov eax, 0x50ba03
mov dword [ebp - 0x54], 1
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x24]
mov dword [esp], edx
call fcn.0042c310
jmp 0x437030
mov dword [esp], ecx
call dword [0x4f50ac]
jmp 0x4372e5
mov dword [esp + 4], esi
mov dword [esp], 0x50ba19
call fcn.0042b550
mov dword [ebp - 0x58], eax
test eax, eax
jne 0x43724c
mov ebx, 0x1b
jmp 0x43724c
mov dword [esp + 8], eax
mov edx, 0x50ba24
mov dword [esp + 4], edx
mov edi, dword [ebp - 0x24]
mov dword [esp], edi
call fcn.0042c310
mov eax, 0x38
jmp 0x4373a5