Function at 0x412ad0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x17c
mov eax, dword [0x53273c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push ebx
mov dword [ebp - 0x11c], eax
mov eax, dword [0x536100]
mov ebx, dword [ecx]
push esi
mov dword [ebp - 0x13c], eax
xor esi, esi
mov eax, dword [0x520160]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x17c], eax
mov eax, dword [0x531a6c]
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x140], 0x5448c8
mov dword [ebp - 0x114], esi
cmp edi, 2
jne 0x412b80
mov ecx, dword [0x533f78]
xor eax, eax
mov dword [ebp - 0x14c], eax
mov edx, ebx
mov eax, ebx
jmp 0x41303b
mov eax, ebx
mov dword [ebp - 0x14c], eax
mov eax, dword [ebx + 0xb4]
mov dword [ebp - 0x144], eax
test eax, eax
je 0x412c6e
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x124], esi
cmp edi, 1
jne 0x412bf6
cmp dword [eax + 4], 0x1a610
je 0x412be2
push 0
call fcn.004562b0
add esp, 4
test eax, eax
jne 0x412bdc
mov eax, dword [0x541160]
inc eax
xor ebx, ebx
mov dword [0x533f4c], eax
mov dword [ebp - 0x110], ebx
jmp 0x413443
mov eax, dword [ebp - 0x144]
mov edi, dword [ebx + 0xb8]
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x124], edi
jmp 0x412bf8
xor edi, edi
push dword [ebx + 0x90]
push eax
call fcn.00459480
add esp, 8
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x118], 0
mov dword [ebp - 0x150], 1
lea esi, [eax + 8]
mov dword [ebp - 0x114], esi
je 0x412c6e
mov eax, dword [ebp - 0x124]
push dword [ebx + 0x90]
push dword [eax + 8]
call fcn.00459480
mov esi, eax
push edi
push esi
call fcn.00457580
mov ecx, dword [0x5449a4]
add esp, 0x10
mov dword [0x531a6c], eax
mov dword [0x5449a8], ecx
dec dword [esi + 4]
cmp dword [esi + 4], 0
jg 0x412c6e
push esi
push dword [esi]
call fcn.00447c80
add esp, 8
mov ebx, dword [ebx]
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x110], ebx
mov eax, dword [0x542698]
mov ecx, dword [0x5426a0]
mov dword [ebp - 0x144], eax
mov eax, dword [0x54269c]
sub eax, ecx
mov dword [ebp - 0x124], ecx
and eax, 0xfffffffc
cmp eax, 0x34
jge 0x412cda
push 0
push 9
call fcn.00448750
add esp, 8
mov dword [eax + 4], 9
mov ecx, dword [0x542698]
mov dword [eax], ecx
lea ecx, [eax + 0xc]
mov dword [0x5426a0], ecx
lea ecx, [eax + 0x800]
mov dword [0x542698], eax
mov dword [eax + 8], ecx
mov dword [0x54269c], ecx
mov eax, dword [0x5426a0]
mov edi, eax
add dword [0x5426a0], 0x34
mov ecx, eax
inc dword [0x540f38]
mov edx, eax
mov ebx, dword [ebp - 0x144]
mov esi, eax
mov dword [eax + 4], ebx
mov ebx, ecx
mov dword [ebp - 0x15c], eax
mov eax, dword [0x542698]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x124]
mov dword [edx + 0xc], eax
mov eax, dword [0x5426a0]
mov dword [esi + 0x10], eax
mov eax, dword [0x5426d8]
mov dword [edx], eax
mov eax, dword [0x54094c]
mov dword [edi + 0x1c], eax
mov eax, dword [0x540bc4]
mov dword [ebx + 0x20], eax
mov eax, dword [0x5426a4]
mov ebx, dword [ebp - 0x114]
mov dword [ecx + 0x14], eax
mov eax, dword [0x533f4c]
mov dword [ecx + 0x2c], eax
mov eax, dword [0x533f48]
mov dword [ecx + 0x30], eax
mov eax, ecx
mov dword [0x533f6c], 0
mov dword [eax + 0x24], ebx
mov eax, dword [0x533f84]
mov dword [ecx + 0x18], eax
mov eax, dword [0x533f40]
mov dword [ecx + 0x28], eax
mov dword [0x5426d8], edx
mov dword [0x54094c], 0
mov dword [0x540bc4], 0
mov dword [0x540f24], 0
mov dword [0x5426a4], 0
mov dword [0x533f84], 0
test ebx, ebx
je 0x412e12
mov edi, dword [0x52e1ac]
mov esi, edi
sub esi, 0x5448c8
test esi, esi
jle 0x412df9
cmp esi, 0xc8
jbe 0x412dde
push esi
push str.Surprise_yysptr_yysbuf___d
push 1
call fcn.0044c950
mov edi, dword [0x52e1ac]
add esp, 0xc
push esi
lea eax, [ebp - 0xcc]
push 0x5448c8
push eax
call fcn.004cfba0
add esp, 0xc
mov dword [ebp - 0x140], edi
mov esi, dword [ebp + 0xc]
push esi
push 0
push ebx
call fcn.00457cd0
add esp, 0xc
xor ecx, ecx
mov dword [0x533f48], ecx
jmp 0x412e1b
mov ecx, dword [0x533f48]
mov esi, dword [ebp + 0xc]
mov eax, dword [0x541160]
mov dword [ebp - 0x148], 1
mov dword [0x533f4c], eax
test ecx, ecx
jne 0x413385
test esi, esi
jne 0x412e55
call fcn.00486b40
test eax, eax
je 0x413385
test ebx, ebx
je 0x413385
mov eax, dword [0x541160]
lea ecx, [ebp - 0x10c]
mov dword [0x536100], ecx
cmp esi, 2
jne 0x412e74
cmp dword [0x540f34], 0
jne 0x412e74
mov dword [0x520160], eax
lea eax, [ebp - 0x10c]
push 0
push eax
call fcn.004d07b0
add esp, 8
mov dword [0x52e0f0], 2
test eax, eax
je 0x412f32
cmp eax, 2
jne 0x412f04
mov dword [0x540f5c], 0
mov ebx, dword [ebp - 0x110]
call fcn.004a7a90
mov ecx, dword [0x533f78]
mov esi, eax
mov edx, eax
mov eax, dword [0x533f58]
mov edi, dword [0x540f0c]
mov dword [ebp - 0x128], edi
mov edi, dword [ebp + 0xc]
mov dword [0x5426c0], 0
test eax, eax
je 0x412ef1
mov dword [0x540f0c], 0
mov dword [0x533f58], 0
lea eax, [edx - 5]
cmp eax, 5
ja case.default.0x412efd
jmp dword [eax*4 + 0x4135f0]
mov edi, dword [ebp + 0xc]
cmp edi, 2
jne 0x4130c6
cmp dword [0x533f6c], 0
jne 0x4130b9
cmp dword [0x540f34], 0
jne 0x412f35
mov dword [0x546308], 0
jmp 0x412f35
mov edi, dword [ebp + 0xc]
xor eax, eax
cmp edi, 2
sete al
mov dword [0x533f58], eax
jne 0x412ea6
mov ecx, dword [0x533f78]
test ecx, ecx
je 0x412ea6
mov esi, dword [0x533f70]
dec ecx
mov ebx, dword [ebp - 0x110]
mov edx, esi
mov dword [0x533f78], ecx
jmp 0x412ec0
mov eax, dword [0x533f90]
push eax
mov dword [ebp - 0x110], eax
mov dword [0x533f90], 0
call fcn.00413ff0
add esp, 4
xor ebx, ebx
mov dword [ebp - 0x110], ebx
jmp 0x412eac
cmp dword [0x540f34], 0
jne 0x41301b
test ecx, ecx
jne 0x41301b
mov eax, dword [0x523380]
cmp dword [0x523384], eax
jae 0x41301b
mov byte [eax], cl
lea ecx, [ebp - 0x130]
mov eax, dword [0x523384]
push ecx
push eax
mov dword [ebp - 0x130], eax
call fcn.004016a0
fstp qword [ebp - 0x12c]
cvttsd2si edx, qword [ebp - 0x12c]
add esp, 8
test edx, edx
jle 0x413015
mov eax, dword [ebp - 0x130]
mov cl, byte [eax]
cmp cl, 0x3b
jne 0x412ffa
inc eax
mov dword [ebp - 0x130], eax
jmp 0x412fff
cmp cl, 0x20
ja 0x413015
lea ecx, [edx - 1]
mov dword [0x523384], eax
mov dword [0x533f78], ecx
mov dword [0x533f70], esi
jmp 0x41301b
mov ecx, dword [0x533f78]
mov edx, dword [ebx]
mov ebx, edx
mov dword [ebp - 0x118], ebx
mov eax, edx
mov dword [ebp - 0x110], ebx
test edx, edx
je case.default.0x412efd
mov esi, dword [ebp - 0x114]
mov eax, dword [eax + 4]
add eax, 0xffffffbd
cmp eax, 0xe
ja case.0x41304d.68
movzx eax, byte [eax + 0x413614]
jmp dword [eax*4 + 0x413608]
mov eax, dword [ebp - 0x11c]
mov eax, dword [eax]
cmp eax, 2
jg 0x41308b
cmp dword [0x540f34], 0
je 0x41307b
mov dword [ebp - 0x114], 0x4fd0ac
mov eax, 2
jmp 0x413080
mov eax, 3
mov edx, dword [ebp - 0x11c]
mov dword [edx + 4], eax
mov dword [edx], eax
cmp dword [0x540f34], 0
je 0x41309d
cmp eax, 2
jne 0x412c7c
test ecx, ecx
jne 0x412c7c
push ecx
push ebx
call fcn.004127d0
add esp, 8
mov dword [0x5357c8], eax
jmp 0x412c7c
xor ebx, ebx
mov dword [ebp - 0x110], ebx
jmp 0x41343d
mov ecx, dword [0x533f6c]
cmp edi, 1
jne 0x4130f5
cmp ecx, 2
jne 0x4130f5
mov eax, dword [ebp - 0x120]
mov dword [0x533f6c], 0
mov eax, dword [eax]
mov ebx, dword [eax]
mov dword [ebp - 0x110], ebx
jmp 0x41343d
mov esi, dword [ebp - 0x114]
cmp eax, 3
jne 0x41312a
mov ecx, dword [0x533f8c]
mov eax, dword [ecx + 0xec]
mov dword [ebp - 0x158], eax
mov eax, dword [ecx + 0xdc]
mov dword [0x5426ac], eax
mov ebx, dword [ecx]
mov dword [ebp - 0x110], ebx
jmp 0x41344d
xor ebx, ebx
mov dword [ebp - 0x110], ebx
test ecx, ecx
je 0x413443
mov eax, dword [ebp - 0x120]
mov eax, dword [eax]
mov ebx, dword [eax]
mov dword [ebp - 0x110], ebx
jmp 0x413443
mov eax, dword [edx + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x110], ebx
mov dword [eax], ebx
lea eax, [edx + 0xc]
cmp dword [0x5426a0], eax
jne case.0x41304d.67
mov dword [0x5426a0], edx
cmp dword [ebp - 0x148], 0
jne 0x413443
mov eax, dword [ebp - 0x13c]
mov dword [0x536100], eax
mov eax, dword [ebp - 0x120]
mov dword [eax], ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ceaf9
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x128]
call fcn.0046cb00
mov ecx, dword [0x533f78]
add esp, 4
cmp dword [0x540f34], 0
jne 0x413229
test ecx, ecx
jne 0x413229
mov eax, dword [0x523380]
cmp dword [0x523384], eax
jae 0x413229
mov byte [eax], cl
lea ecx, [ebp - 0x134]
mov eax, dword [0x523384]
push ecx
push eax
mov dword [ebp - 0x134], eax
call fcn.004016a0
fstp qword [ebp - 0x12c]
cvttsd2si edx, qword [ebp - 0x12c]
add esp, 8
test edx, edx
jle 0x413229
mov eax, dword [ebp - 0x134]
mov cl, byte [eax]
cmp cl, 0x3b
jne 0x413211
inc eax
mov dword [ebp - 0x134], eax
jmp 0x413216
cmp cl, 0x20
ja 0x413229
mov dword [0x523384], eax
lea eax, [edx - 1]
mov dword [0x533f78], eax
mov dword [0x533f70], esi
mov eax, dword [ebx + 4]
add eax, 0xffffffd9
cmp eax, 0x13
ja case.0x41323f.40
movzx eax, byte [eax + 0x41362c]
jmp dword [eax*4 + 0x413624]
mov eax, dword [0x54269c]
mov edx, dword [0x5426a0]
sub eax, edx
and eax, 0xfffffffc
cmp eax, 0xc
jge 0x413299
push 0
push 9
call fcn.00448750
add esp, 8
mov dword [eax + 4], 9
mov ecx, dword [0x542698]
mov dword [eax], ecx
lea ecx, [eax + 0xc]
mov dword [0x5426a0], ecx
lea ecx, [eax + 0x800]
mov dword [0x542698], eax
mov dword [eax + 8], ecx
mov edx, dword [0x5426a0]
mov dword [0x54269c], ecx
lea eax, [edx + 0xc]
mov dword [0x5426a0], eax
mov dword [edx + 4], 0x4e
mov ecx, dword [0x5426d8]
mov eax, dword [0x5426a0]
mov dword [ecx + 0x10], eax
mov eax, dword [0x5426a0]
mov dword [ecx + 0xc], eax
mov eax, dword [0x542698]
mov dword [ecx + 4], eax
mov dword [edx + 8], ebx
mov eax, dword [ebx]
mov dword [edx], eax
mov eax, 1
mov dword [ebx], edx
jmp 0x4132d8
xor eax, eax
test eax, eax
je 0x413368
mov eax, dword [ebp - 0x11c]
mov dword [eax], 4
jmp case.default.0x412efd
cmp dword [0x540f34], 0
jne 0x413368
test ecx, ecx
jne 0x413368
mov eax, dword [0x523380]
cmp dword [0x523384], eax
jae 0x413368
mov byte [eax], cl
lea ecx, [ebp - 0x138]
mov eax, dword [0x523384]
push ecx
push eax
mov dword [ebp - 0x138], eax
call fcn.004016a0
fstp qword [ebp - 0x12c]
cvttsd2si edx, qword [ebp - 0x12c]
add esp, 8
test edx, edx
jle 0x413368
mov eax, dword [ebp - 0x138]
mov cl, byte [eax]
cmp cl, 0x3b
jne 0x413350
inc eax
mov dword [ebp - 0x138], eax
jmp 0x413355
cmp cl, 0x20
ja 0x413368
mov dword [0x523384], eax
lea eax, [edx - 1]
mov dword [0x533f78], eax
mov dword [0x533f70], esi
mov edx, dword [ebp - 0x11c]
mov dword [0x540f5c], 0
cmp dword [edx], 4
jne case.default.0x412efd
mov dword [edx], 3
jmp case.default.0x412efd
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x118]
cmp dword [0x5426a4], 0
je 0x41343d
mov edi, dword [ebp - 0x14c]
mov ecx, dword [0x5426a8]
mov dword [0x533f80], edi
test edi, edi
je 0x4133b5
test ecx, ecx
jne 0x4133cc
push ecx
push edi
push str.cmd_context___0_but_c0___lx__loopstack___lx
push 1
call fcn.0044c950
mov ecx, dword [0x5426a8]
add esp, 0x10
mov eax, dword [ecx + 4]
cmp eax, 0x44
je 0x413412
cmp eax, 0x48
je 0x413412
mov eax, dword [edi + 4]
mov dword [0x533f44], eax
mov eax, dword [ecx + 4]
push dword [eax*4 + 0x51fff0]
push dword [ecx + 0xa4]
push str.end_of___s__with_incomplete___s__command.
push 0
call fcn.0044c950
mov eax, dword [ebp - 0x13c]
add esp, 0x10
mov dword [0x536100], eax
call fcn.004918a0
jmp 0x41342d
push 0x4c
push 0
push 0x4fc5ab
mov dword [0x54154c], 1
call fcn.00401490
add esp, 0xc
cmp dword [0x5426a4], 0
jne 0x4133a1
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp - 0x114]
mov dword [0x533f8c], 0
mov eax, dword [ebp - 0x120]
mov dword [eax], ebx
mov eax, dword [ebp - 0x178]
test eax, eax
js 0x41347a
mov edx, dword [0x540a20]
lea ecx, [eax + eax*4]
cmp dword [edx + ecx*8 + 0xc], 2
jne 0x41347a
mov ecx, dword [edx + ecx*8 + 8]
mov dword [0x531a6c], eax
jmp 0x413490
push 1
call fcn.004d27a8
add esp, 4
mov dword [0x531a6c], 0xffffffff
mov ecx, eax
mov eax, dword [ebp - 0x17c]
mov dword [0x520160], eax
mov eax, dword [ebp - 0x13c]
mov dword [0x536100], eax
mov eax, dword [ebp - 0x11c]
mov dword [0x5449a8], ecx
cmp dword [eax + 4], 2
je 0x4134c1
cmp dword [ebp - 0x150], 0
je 0x4134e7
mov eax, dword [0x541160]
cmp eax, dword [0x533f4c]
jl 0x4134e7
nop
push 2
call fcn.00459f50
mov eax, dword [0x541160]
add esp, 4
cmp eax, dword [0x533f4c]
jge 0x4134d0
mov eax, dword [ebp - 0x154]
test eax, eax
je 0x413505
dec dword [eax + 4]
cmp dword [eax + 4], 0
jg 0x413505
push eax
push dword [eax]
call fcn.00447c80
add esp, 8
push 1
call fcn.00411c70
mov ebx, dword [0x540f38]
add esp, 4
cmp dword [0x533f8c], 0
je 0x413534
cmp dword [ebp - 0x158], ebx
jl 0x4135c8
mov dword [0x533f8c], 0
mov eax, dword [ebp - 0x140]
sub eax, 0x5448c8
test eax, eax
jle 0x413563
push eax
lea eax, [ebp - 0xcc]
push eax
push 0x5448c8
call fcn.004cfba0
mov eax, dword [ebp - 0x140]
add esp, 0xc
mov dword [0x52e1ac], eax
cmp edi, 2
jne 0x41357b
cmp dword [0x540f34], 0
jne 0x41357b
mov dword [0x542638], 0
cmp dword [0x546308], 0
jne 0x4135d5
cmp dword [0x533f6c], 0
je 0x41359b
test ebx, ebx
jg 0x4135e2
mov dword [0x533f6c], 0
test edi, edi
jne 0x4135b7
test esi, esi
je 0x4135b7
cmp byte [esi], 0x2d
jne 0x4135ae
cmp byte [esi + 1], 0
je 0x4135b7
push esi
call fcn.00457080
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ceaf9
mov esp, ebp
pop ebp
ret
push 3
push dword [0x536100]
call fcn.004d0114
push 1
push dword [0x536100]
call fcn.004d0114
push 1
push dword [0x536100]
call fcn.004d0114
nop
sahf
xor dword [ecx], eax
loopne 0x413628
inc ecx
add byte [edx - 0x64ffbecf], dh
das
inc ecx
add cl, dh
xor al, byte [ecx]
jo 0x413635
inc ecx
add byte [ebp + 0x31], ch
inc ecx
add byte [edi + 0x31], cl
inc ecx
add byte [eax + esi + 0x41], dl
add byte [eax], al
add al, byte [eax]
add byte [edx], al
add al, byte [edx]
add al, byte [eax]
add al, byte [edx]
add dword [edx], eax
add al, byte [eax]
nop
inc esi
xor al, byte [ecx]
salc
xor al, byte [ecx]
add byte [ecx], al
add dword [ecx], eax
add dword [eax], eax
add dword [ecx], eax
add byte [ecx], al
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [eax], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add byte [ebp - 117], dl
push ebp
mov ebp, esp